Two posts ago, I wrote about adding the output of showconfig to each port. I also mentioned how I should override OPTIONSFILE so FreshPorts shows the default options settings, not those particular to the FreshPorts server.
Here is the output of show config for sysutils/bacula-server:
$ cd /usr/ports/sysutils/bacula-server
$ make show config
===> The following configuration options are available for bacula-server-2.2.7:
SQLITE3=off “Use SqLite-3 database instead of SqLite-2”
MYSQL=off “Use MySQL database instead of SqLite”
POSTGRESQL=on “Use PostgreSQL database instead of SqLite”
MTX=off “Install mtx for control of autochanger devices”
NLS=on (default) “Native Language Support via gettext utilities”
OPENSSL=on “Enable OpenSSL for encrypted communication”
===> Use ‘make config’ to modify these settings
These settings reflect the settings previously selected for this port and stored in /var/db/ports/.
Note the change in output when I set OPTIONSFILE to a non-existant directory.
$ make showconfig OPTIONSFILE=/nonexistentlocal
===> The following configuration options are available for bacula-server-2.2.7:
SQLITE3=off (default) “Use SqLite-3 database instead of SqLite-2”
MYSQL=off (default) “Use MySQL database instead of SqLite”
POSTGRESQL=off (default) “Use PostgreSQL database instead of SqLite”
MTX=off (default) “Install mtx for control of autochanger devices”
NLS=on (default) “Native Language Support via gettext utilities”
OPENSSL=off (default) “Enable OpenSSL for encrypted communication”
===> Use ‘make config’ to modify these settings
You will notice that each option is now followed by (default).
This is what I think FreshPorts should show. After I make a simple change to the code, and rerun the setup script, it will. :)