aboutsummaryrefslogtreecommitdiff
path: root/mail/extman
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
commitfb3520254ab73be0aad04c3a63b781750cf26b5b (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /mail/extman
parent4706739618b79681811e5b336a54032908638160 (diff)
downloadports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz
ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip
Notes
Diffstat (limited to 'mail/extman')
-rw-r--r--mail/extman/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/mail/extman/Makefile b/mail/extman/Makefile
index 96cd6c3cf263..42658bb75aa5 100644
--- a/mail/extman/Makefile
+++ b/mail/extman/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: extman
-# Date created: 3 April 2007
-# Whom: Chifeng QU <chifeng@gmail.com>
-#
+# Created by: Chifeng QU <chifeng@gmail.com>
# $FreeBSD$
-#
PORTNAME= extman
PORTVERSION= 1.1
@@ -20,16 +16,16 @@ RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
USE_PERL5= yes
NO_BUILD= yes
-OPTIONS= MySQL "Use MySQL support" On \
- LDAP "Use LDAP support" Off
+OPTIONS_DEFINE= MYSQL LDAP
+OPTIONS_DEFAULT= MYSQL
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_MySQL)
+.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
-.if defined(WITH_LDAP)
+.if ${PORT_OPTIONS:MLDAP}
RUN_DEPENDS+= p5-DBD-LDAP>=0:${PORTSDIR}/databases/p5-DBD-LDAP
.endif
@@ -66,4 +62,4 @@ post-install:
${CHMOD} +w ${WWWDIR}/webman.cf ; \
fi
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>