aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-10 00:28:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-10 00:28:37 +0000
commitc179ee1adc04f723247f505dd0841c9696dd0f40 (patch)
tree4545683b595c8c764c93bd5dbdfe4dc8f40f6dec /net
parent03ca523e35c723bcfac9b176c08dbffef80e1edf (diff)
downloadports-c179ee1adc04f723247f505dd0841c9696dd0f40.tar.gz
ports-c179ee1adc04f723247f505dd0841c9696dd0f40.zip
Notes
Diffstat (limited to 'net')
-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 718ca9cc94ec..b6fb844e99f3 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>