/usr/ports/databases/mysql50-server/Makefile shows the default Makefile used for compiling that port. The directive 'CONFIGURE_ARGS' shows which arguments are set, and the various 'if defined' statements below that show which arguments were not set, but can be set, usually through 'make config' (see /var/db/ports/mysql50-server/options for options that were set).