summaryrefslogtreecommitdiffstats
path: root/net/pear-Net_SMTP
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-10 00:28:37 +0000
committerpav <pav@FreeBSD.org>2004-11-10 00:28:37 +0000
commit1c5c992c967894869f0bab45bccd07edb8a0ea81 (patch)
treea38706a1f6257b47fa1fe4ebd479e23ba64e5919 /net/pear-Net_SMTP
parent97e2b8a9a8fc62f3b181b231cabd0517b6b61467 (diff)
downloadFreeBSD-ports-1c5c992c967894869f0bab45bccd07edb8a0ea81.zip
FreeBSD-ports-1c5c992c967894869f0bab45bccd07edb8a0ea81.tar.gz
- Make Auth::SASL dependency optional
- Take maintainership PR: ports/73741 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Diffstat (limited to 'net/pear-Net_SMTP')
-rw-r--r--net/pear-Net_SMTP/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net/pear-Net_SMTP/Makefile b/net/pear-Net_SMTP/Makefile
index 718ca9c..b6fb844 100644
--- a/net/pear-Net_SMTP/Makefile
+++ b/net/pear-Net_SMTP/Makefile
@@ -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,13 @@ TESTS= auth.phpt basic.phpt config.php.dist
EXAMPLES= basic.php
_EXAMPLESDIR= docs/examples
+OPTIONS= PEAR_AUTH_SASL "PEAR::Auth_SASL support" off
+
.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
OpenPOWER on IntegriCloud