Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2008 21:26:47 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        Kelly Jones <kelly.terry.jones@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing multiple ports quietly and efficiently
Message-ID:  <48EA7487.2050901@unsane.co.uk>
In-Reply-To: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com>
References:  <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kelly Jones wrote:
> Here's one way to install multiple FreeBSD ports "unattended" on a
> machine:
>
> cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install
>
> and so on (perhaps even in a shell script). Two problems:
>
>  % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..."
>   
I'd suggest using portupgrade then just
portinstall prog1 prog2 prog3

>  % "make install" often pops up windows asking me to choose
>  configuration options, and hangs until I do so.
>
>   
> I want to install 50 apps on a new server, but not have to watch it
> constantly. I want to tell ports: "just use the default options for
> now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and
> rebuild".
>
> How can I do this?
>
>   
add
BATCH=yes
to /etc/make.conf


Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48EA7487.2050901>