diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2012-06-13 16:47:43 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2012-06-13 16:47:43 +0000 |
commit | de6c53febaf0274e1579653ef38867bb96e2726d (patch) | |
tree | 92aac6295bbbfac174e0f3b301b234289ae40fe1 /security/cyrus-sasl2-saslauthd | |
parent | c90cedb7c88ccd82b91402a2e02cf5ad2c029ad4 (diff) |
Notes
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r-- | security/cyrus-sasl2-saslauthd/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile index f55181aed285..03fdd46767dc 100644 --- a/security/cyrus-sasl2-saslauthd/Makefile +++ b/security/cyrus-sasl2-saslauthd/Makefile @@ -48,13 +48,13 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-saslauthd=${SASLAUTHD_RUNPATH} \ --disable-krb4 -OPTIONS= BDB "Use Berkeley DB" off \ - OPENLDAP "Use OpenLDAP" off \ - HTTPFORM "Enable HTTP form authentication" off +OPTIONS_DEFINE= BDB OPENLDAP HTTPFORM +OPENLDAP_DESC= Use OpenLDAP +HTTPFORM_DESC= Enable HTTP form authentication .include <bsd.port.pre.mk> -.if defined(WITH_BDB) +.if ${PORT_OPTIONS:MBDB} USE_BDB= yes INVALID_BDB_VER=2 CONFIGURE_ARGS+=--with-dblib=berkeley \ @@ -65,7 +65,7 @@ CONFIGURE_ARGS+=--with-dblib=berkeley \ CONFIGURE_ARGS+=--with-dblib=ndbm .endif -.if defined(WITH_OPENLDAP) +.if ${PORT_OPTIONS:MOPENLDAP} .if defined(WITH_OPENLDAP_VER) WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} .endif @@ -73,7 +73,7 @@ USE_OPENLDAP= yes CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} .endif -.if defined(WITH_HTTPFORM) +.if ${PORT_OPTIONS:MHTTPFORM} CONFIGURE_ARGS+=--enable-httpform .endif @@ -129,7 +129,7 @@ post-install: ${MKDIR} -m 770 ${SASLAUTHD_RUNPATH} ${CHOWN} ${CYRUS_USER}:mail ${SASLAUTHD_RUNPATH} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/saslauthd .for file in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/saslauthd/${file} ${DOCSDIR}/saslauthd |