FreeBSD Ports Batch Install
FreeBSD Ports Batch Install

Many ports interactively prompt for various configuration options when installing. This is both annoying and time consuming. Fortunately, it can also be avoided.
`make config-recursive` interactively prompts users for options prior to `make install` or `make package-recursive`. This, however, is still interactive. Alternatively, one could add ‘-DBATCH’ to the command and install or create packages accepting default configuration options.
The following examples install and create packages including dependencies, respectively. In the second example, packages will be written to /usr/ports/packages if it exists.
# cd /usr/ports/sysutils/puppet # make -DBATCH install
or
# cd /usr/ports/sysutils/puppet # make -DBATCH package-recursive
Disclaimer
This blog is posted for informational purposes only. Extensive testing is recommended prior to implementing changes discussed here.
I believe that is the same as adding BATCH=true to /etc/make.conf — just with extra typing.
I just use BATCH=yes