aboutsummaryrefslogtreecommitdiff
path: root/www/mod_authn_sasl
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-07-08 19:53:24 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-07-08 19:53:24 +0000
commit595048ebe646f6e98dfdaf219cf5721d9889a773 (patch)
treee8f71fb6050bfe2e366c181736847724c3d2e0d2 /www/mod_authn_sasl
parentffe437819d89103c0f0d765f276f1430769e37fc (diff)
downloadports-595048ebe646f6e98dfdaf219cf5721d9889a773.tar.gz
ports-595048ebe646f6e98dfdaf219cf5721d9889a773.zip
Notes
Diffstat (limited to 'www/mod_authn_sasl')
-rw-r--r--www/mod_authn_sasl/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/www/mod_authn_sasl/Makefile b/www/mod_authn_sasl/Makefile
index 6e87e7885289..a0f2147200d7 100644
--- a/www/mod_authn_sasl/Makefile
+++ b/www/mod_authn_sasl/Makefile
@@ -14,13 +14,16 @@ MASTER_SITE_SUBDIR=mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows user authentication based on libsasl2 mechanisms on apache 2.2
-LIB_DEPENDS= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+LICENSE= AL2
+
+LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2
MAKE_JOBS_SAFE= yes
-OPTIONS= SASLAUTHD "Register dependency for cyrus-sasl2-saslauthd" off
+OPTIONS_DEFINE= SASLAUTHD
+SASLAUTHD_DESC= cyrus-sasl2-saslauthd support
-LICENSE= AL2
+.include <bsd.port.options.mk>
USE_BZIP2= yes
USE_APACHE= 22
@@ -31,14 +34,12 @@ AP_LIB= ${LOCALBASE}/lib -lsasl2
PORTDOCS1= AUTHORS LICENSE
PORTDOCS= *
-.include <bsd.port.options.mk>
-
-.if defined(WITH_SASLAUTHD)
+.if ${PORT_OPTIONS:MSASLAUTHD}
RUN_DEPENDS+= saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/
@${FIND} ${WRKSRC}/doc \( -name "*.in" -o -name "*.am" \) -delete
. for f in ${PORTDOCS1}