aboutsummaryrefslogtreecommitdiff
path: root/mail/enma
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-04 15:47:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-04 15:47:06 +0000
commit62fddef0e1f239f72e9ad0135d81f7a1428ffb99 (patch)
tree767b2295fe6630d36cd24a81e9e04e42bf6da384 /mail/enma
parentd4600efa64b02956fc97a76bd14229f63a8d2b57 (diff)
Notes
Diffstat (limited to 'mail/enma')
-rw-r--r--mail/enma/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/enma/Makefile b/mail/enma/Makefile
index d4ddfd10c63f..9d66736b26c5 100644
--- a/mail/enma/Makefile
+++ b/mail/enma/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: enma
-# Date created: 7 Sep 2008
-# Whom: Hirohisa Yamaguchi <umq@ueo.co.jp>
-#
+# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
# $FreeBSD$
-#
PORTNAME= enma
PORTVERSION= 1.2.0
@@ -12,12 +8,13 @@ CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/ENMA/${PORTVERSION}
MAINTAINER= umq@ueo.co.jp
-COMMENT= A sender authentication milter supporting SPF and Sender ID
+COMMENT= Sender authentication milter supporting SPF and Sender ID
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS= LIBBIND "Link against dns/libbind instead of dns/ldns" Off
+OPTIONS_DEFINE= LIBBIND
+LIBBIND_DESC= Link against dns/libbind instead of dns/ldns
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --mandir=${PREFIX}/man \
@@ -47,7 +44,7 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
-.if defined(WITH_LIBBIND)
+.if ${PORT_OPTIONS:MLIBBIND}
CONFIGURE_ARGS+= --with-resolver=libbind \
--with-libbind-incdir=${LOCALBASE}/include/bind \
--with-libbind-libdir=${LOCALBASE}/lib
@@ -62,7 +59,7 @@ pre-configure:
post-install:
${INSTALL_DATA} ${WRKSRC}/enma/etc/enma.conf.sample ${PREFIX}/etc
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}