summaryrefslogtreecommitdiffstats
path: root/mail/anubis
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-10-25 22:41:49 +0000
committersergei <sergei@FreeBSD.org>2003-10-25 22:41:49 +0000
commit58ca0cd0fdfa5e568bfb89ec7cd50162ddaaf2c9 (patch)
treeeb786a1dbacc2b7dc69e0524b5a4cbf896946ce6 /mail/anubis
parent47a18454c72950d72af9bcfff4d664d53d2b5c98 (diff)
downloadFreeBSD-ports-58ca0cd0fdfa5e568bfb89ec7cd50162ddaaf2c9.zip
FreeBSD-ports-58ca0cd0fdfa5e568bfb89ec7cd50162ddaaf2c9.tar.gz
- Convert USE_* variables to WITH_*
PR: 58525 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> Approved by: krion (implicit)
Diffstat (limited to 'mail/anubis')
-rw-r--r--mail/anubis/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile
index 65296b0..7b155c6 100644
--- a/mail/anubis/Makefile
+++ b/mail/anubis/Makefile
@@ -37,7 +37,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
# Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none
.if defined(WITH_GNUTLS)
-USE_GNUTLS= yes
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.elif !defined(WITHOUT_OPENSSL)
USE_OPENSSL= yes
@@ -61,7 +60,7 @@ CONFIGURE_ARGS+= --with-pcre
# PAM
.if exists(/usr/lib/libpam.so)
-USE_PAM= yes
+WITH_PAM= yes
CONFIGURE_ARGS+= --with-pam
PLIST_SUB+= PAM=""
.else
@@ -70,7 +69,7 @@ PLIST_SUB+= PAM="@comment "
# TCP Wrappers
.if exists(/usr/include/tcpd.h)
-USE_TCP_WRAPPERS= yes
+WITH_TCP_WRAPPERS= yes
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
@@ -80,10 +79,10 @@ DOCS= AUTHORS INSTALL NEWS README THANKS TODO
pre-configure:
@${ECHO_MSG} ""
-.if defined(USE_OPENSSL)
- @${ECHO_MSG} "Using OpenSSL as TLS/SSL API"
-.elif defined(USE_GNUTLS)
+.if defined(WITH_GNUTLS)
@${ECHO_MSG} "Using GnuTLS as TLS/SSL API"
+.elif !defined(WITHOUT_OPENSSL)
+ @${ECHO_MSG} "Using OpenSSL as TLS/SSL API"
.else
@${ECHO_MSG} "Disabling TLS/SSL support"
.endif
@@ -95,10 +94,10 @@ pre-configure:
.else
@${ECHO_MSG} "You could define WITH_PCRE to enable PCRE support"
.endif
-.if defined(USE_PAM)
+.if defined(WITH_PAM)
@${ECHO_MSG} "Enabling PAM support"
.endif
-.if defined(USE_TCP_WRAPPERS)
+.if defined(WITH_TCP_WRAPPERS)
@${ECHO_MSG} "Enabling TCP wrappers support"
.endif
@${ECHO_MSG} ""
@@ -113,7 +112,7 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d/anubis.sh.sample
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*rc ${EXAMPLESDIR}
-.if defined(USE_PAM)
+.if defined(WITH_PAM)
@${MKDIR} ${EXAMPLESDIR}/pam
${INSTALL_DATA} ${WRKSRC}/examples/pam/* ${EXAMPLESDIR}/pam
.endif
OpenPOWER on IntegriCloud