diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-04 23:47:06 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-04 23:47:06 +0800 |
commit | 8c4ce01f13da5e7896630261a4805de7a599ff8f (patch) | |
tree | 767b2295fe6630d36cd24a81e9e04e42bf6da384 /mail/enma | |
parent | 49d0c5ffe215b688be077f3e0d0fdf105e9fe908 (diff) | |
download | freebsd-ports-gnome-8c4ce01f13da5e7896630261a4805de7a599ff8f.tar.gz freebsd-ports-gnome-8c4ce01f13da5e7896630261a4805de7a599ff8f.tar.zst freebsd-ports-gnome-8c4ce01f13da5e7896630261a4805de7a599ff8f.zip |
Convert to new options framework
Diffstat (limited to 'mail/enma')
-rw-r--r-- | mail/enma/Makefile | 15 |
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} |