--- Makefile.old Tue Nov 9 16:09:26 2004 +++ Makefile Tue Nov 9 16:20:09 2004 @@ -7,14 +7,13 @@ PORTNAME= Net_SMTP PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= net mail www pear -MAINTAINER= ports@FreeBSD.org +MAINTAINER= antonio@php.net COMMENT= PEAR class that provides an implementation of the SMTP protocol -BUILD_DEPENDS= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \ - ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket -# The Auth_SASL package is no longer absolutely required, but it will be used if it is available. +BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket RUN_DEPENDS= ${BUILD_DEPENDS} CATEGORY= Net @@ -24,6 +23,14 @@ EXAMPLES= basic.php _EXAMPLESDIR= docs/examples +LATEST_LINK= pear-Net_SMTP +OPTIONS= PEAR_AUTH_SASL "PEAR::Auth_SASL support" off + .include + +.if defined(WITH_PEAR_AUTH_SASL) +BUILD_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL +.endif + .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include