summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-29 12:18:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-29 12:18:32 +0000
commited3d7031d5def245e3f238f4bf4ed690b26a57f6 (patch)
treebe2d902baa3fe413454ecff46712b153337da370 /mail
parentAvoid namespace collisions between the embedded (modified) png library (diff)
Switch prayer to new options format.
While here SSL, LDAP and TIDY description in shared bsd.options.desc.mk set maintainer of bsd.options.desc.mk to ports@FreeBSD.org to point that it is open to any committer
Notes
Notes: svn path=/head/; revision=297666
Diffstat (limited to 'mail')
-rw-r--r--mail/prayer/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/prayer/Makefile b/mail/prayer/Makefile
index 4034730adc99..f36c30c7328e 100644
--- a/mail/prayer/Makefile
+++ b/mail/prayer/Makefile
@@ -31,10 +31,10 @@ PORTDOCS= ACCOUNTD CMD_LINE DESIGN DONE DONE-OLD FEATURES ICONLIST \
USE_RC_SUBR= prayer
-OPTIONS= SESSIONCACHE "Activate Session Cache" On \
- TIDY "Enable tidy support" On \
- SSL "Enable SSL support" On \
- LDAP "Enable LDAP support" On
+OPTIONS_DEFINE= SESSIONCACHE TIDY SSL LDAP
+OPTIONS_DEFAULT= SESSIONCACHE TIDY SSL LDAP
+
+SESSIONCACHE_DESC= Activate Session Cache
USERS= _prayer
GROUPS= prayer
@@ -44,15 +44,15 @@ MAN8= prayer-session.8 prayer-ssl-prune.8 prayer.8
.include <bsd.port.pre.mk>
-.if defined(WITH_SESSIONCACHE)
+.if ${PORT_OPTIONS:MSESSIONCACHE}
USE_BDB= yes
.endif
-.if !defined(WITHOUT_LDAP)
+.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
.endif
-.if !defined(WITHOUT_TIDY)
+.if ${PORT_OPTIONS:MTIDY}
LIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib
.endif