Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Copying files like /var/db/ports/nginx/options accross several machines? – user130370 Dec 16 '12 at 14:34
I'm looking for the command to do it automatically and not copy the same file. – shaharmor Dec 16 '12 at 14:48
up vote 1 down vote accepted

Take a look at

It describes different ways to preset the options of a port

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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