From 1c5c992c967894869f0bab45bccd07edb8a0ea81 Mon Sep 17 00:00:00 2001 From: pav Date: Wed, 10 Nov 2004 00:28:37 +0000 Subject: - Make Auth::SASL dependency optional - Take maintainership PR: ports/73741 Submitted by: Antonio Carlos Venancio Junior --- net/pear-Net_SMTP/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'net') 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 + +.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 -- cgit