I'm trying to create a install script for some FreeBSD machines.

I want to install a few ports but change several configurations before installing, and without the dialog popup.

I've tried almost everything but no success.

I.E: I'm trying to install nginx with HTTP_SSL module but i can't seem to pass the correct parameter to the make install clean command. I also want to use all other default settings, and only change this one.

Any help will be appreciated.

  • Copying files like /var/db/ports/nginx/options accross several machines?
    – user130370
    Dec 16, 2012 at 14:34
  • I'm looking for the command to do it automatically and not copy the same file.
    – shaharmor
    Dec 16, 2012 at 14:48

1 Answer 1


Take a look at http://wiki.freebsd.org/Ports/Options/OptionsNG

It describes different ways to preset the options of a port

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.