aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-06-26 14:10:31 +0800
committerrm <rm@FreeBSD.org>2012-06-26 14:10:31 +0800
commit92f622e37494b733cb899b1910338f7724844a90 (patch)
tree3dd95d6656e2b6f5740c8674a7d7c630f08f523e /www
parent3d812c7e544c8d57e4ec8bcd5fb960ab088c8125 (diff)
downloadfreebsd-ports-gnome-92f622e37494b733cb899b1910338f7724844a90.tar.gz
freebsd-ports-gnome-92f622e37494b733cb899b1910338f7724844a90.tar.zst
freebsd-ports-gnome-92f622e37494b733cb899b1910338f7724844a90.zip
- add an option to enable ldap support
Submitted by: lstewart (via mail)
Diffstat (limited to 'www')
-rw-r--r--www/plone/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/plone/Makefile b/www/plone/Makefile
index 32f7b874f1d7..f3ec37d0a1d5 100644
--- a/www/plone/Makefile
+++ b/www/plone/Makefile
@@ -24,10 +24,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Products.CMFPlacefulWorkflow>=0:${PORTSDIR}/
${PYTHON_PKGNAMEPREFIX}plone.app.openid>=0:${PORTSDIR}/security/py-plone.app.openid \
${PYTHON_PKGNAMEPREFIX}wicked>=0:${PORTSDIR}/textproc/py-wicked
+OPTIONS_DEFINE= LDAP
+OPTIONS_EXCLUDE=NLS DOCS
+
DIST_SUBDIR= zope
PYDISTUTILS_PKGNAME= Plone
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
USE_ZIP= yes
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MLDAP}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}plone.app.ldap>=1.2.6:${PORTSDIR}/www/py-plone.app.ldap
+.endif
+
.include <bsd.port.mk>