It became obvious that the .xml wasn't necessarily easily read online with it's extension - below is an easier copy to read. The original copy is still available though.

<portconf name="apache">
  <classes>
		<class name="default" description="default" options=""/>
		<class name="php" description="php with database support" options="php,mysql"/>
		<class name="ssl" description="default apache with ssl support" options="ssl"/>
		<class name="maximum" description="maximum configuration"
		options="php,gd,freetype,zlib,pdflib,openldap,mysql,tuning,ssl"/>
	</classes>
	<options>
		<option foo="caught" name="php" description="PHP3 Support">
USE_PHP3=	YES
		</option>
		<option name="gd" description="PHP3: GD Library support" depends="php">
BUILD_DEPENDS+=   ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
PHP3_CONF_ARGS+=  --with-gd=\${PREFIX}
		</option>
		<option name="freetype" description="GD: TrueType font rendering" depends="gd">
LIB_DEPENDS+=   ttf.3:${PORTSDIR}/print/freetype
		</option>
		<option name="zlib" description="PHP3: zlib library support" depends="php">
PHP3_CONF_ARGS+=  --with-zlib		
		</option>
		<option name="pdflib" description="PHP3: pdflib support" depends="php">
BUILD_DEPENDS+=   ${PREFIX}/lib/libpdf.a:${PORTSDIR}/print/pdflib
PHP3_CONF_ARGS+=  --with-pdflib=${PREFIX}
		</option>
		<option name="openldap" description="PHP3: OpenLDAP support" depends="php">
BUILD_DEPENDS+=   ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/openldap
BUILD_DEPENDS+=   ${PREFIX}/lib/liblber.a:${PORTSDIR}/net/openldap
PHP3_CONF_ARGS+=  --with-ldap=${PREFIX}
		</option>
		<option name="tuning" description="Apache: Performance tuning">
APACHE_PERF_TUNING=	YES
		</option>
		<option name="ssl" description="Apache: mod_ssl">
PKGNAME=  apache-php3-${VERSION_APACHE}+mod_ssl-${VERSION_MODSSL}
MASTER_SITES+=  http://www.engelschall.com/sw/mod_ssl/distrib/
DISTFILES+= mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE}${EXTRACT_SUFX}

BUILD_DEPENDS+= openssl:${PORTSDIR}/security/openssl \
	${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
	${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
RUN_DEPENDS+= openssl:${PORTSDIR}/security/openssl

VERSION_MODSSL= 2.2.5
RESTRICTED= "Contains cryptography"
CONFIGURE_ARGS+=--enable-module=ssl

CONFIGURE_ENV+= SSL_BASE='SYSTEM' PATH="${PREFIX}/bin:${PATH}"

PATCHDIR= ${.CURDIR}/patches.modssl
PLIST=    ${PKGDIR}/PLIST.modssl
		</option>
		<option name="mysql" description="PHP3: mysql supportphp3" depends="php">
USE_MYSQL= yes
		</option>
		<option name="pgsql" description="PHP3: postgresql support" depends="php">
BUILD_DEPENDS+= ${PREFIX}/pgsql/bin/psql:${PORTSDIR}/databases/postgresql
PHP3_CONF_ARGS+=  --with-pgsql=\${PREFIX}/pgsql
		</option>
		<option name="msql" description="PHP3: msql support" depends="php">
BUILD_DEPENDS+=   msql:${PORTSDIR}/databases/msql
PHP3_CONF_ARGS+=  --with-msql=${PREFIX}
		</option>
		<option name="dbase" description="PHP3: dbase support" depends="php">
PHP3_CONF_ARGS+=  --with-dbase		
		</option>
	</options>
</portconf>