If you want custom configuration from ports, you can configure it before building it make config
. All ports configuration are stored in /var/db/ports/${CATEGORY_NAME}/options
as makefile.
www/apache24
cd /usr/ports/www/apache24
make config
make
make install
This configuration will be saved in /var/db/ports/www_apache24/options
.