Install ports quietly

Dear colleagues, please explain me how to install port and all of its dependecies quietly? When installing most of dependent ports I have to config them. Can I use some key that will make the script to work automatically and install dependent port automatically with default (or, for example, maximal) configuration?
 
If you are using csh/tcsh:

# setenv BATCH 1; make install clean

If you are using sh/bash:

# BATCH=1; make install clean

Or choose options for all dependencies before building:

# make config-recursive && make install clean
 
vist said:
BATCH will make all dependent ports to install with default settings?
Yes, unless the settings have been set previously using config or config-recursive. If there are no previously set options the defaults will be used.

Keep in mind it will also process /etc/make.conf and any options that are turned on on the commandline.

Setting BATCH prevents that OPTION menu from appearing.
 
Before building, use
# make config-recursive
to set all the options at once. Since options have already been set, they won't appear during the build.
 
  • Thanks
Reactions: Dru
Back
Top