aboutsummaryrefslogtreecommitdiff
path: root/www/glpi/Makefile
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2011-07-12 11:27:33 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2011-07-12 11:27:33 +0000
commit79638c4def845bb8b6231690ac85dcaa06f1a669 (patch)
treee9a7095d33c11381691c15211258589ccbc60992 /www/glpi/Makefile
parent1c928af43ce625d849e4860ceb61cd3abe72157d (diff)
downloadports-79638c4def845bb8b6231690ac85dcaa06f1a669.tar.gz
ports-79638c4def845bb8b6231690ac85dcaa06f1a669.zip
Notes
Diffstat (limited to 'www/glpi/Makefile')
-rw-r--r--www/glpi/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/www/glpi/Makefile b/www/glpi/Makefile
index a4fe81616d3d..8ec1143927e1 100644
--- a/www/glpi/Makefile
+++ b/www/glpi/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glpi
DISTVERSION= 0.78.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://glpi-project.org/IMG/gz/ \
http://download.gna.org/kanicule/freebsd/distfiles/
@@ -14,7 +15,7 @@ MASTER_SITES= http://glpi-project.org/IMG/gz/ \
MAINTAINER= mathias@monnerville.com
COMMENT= Free IT and asset management software
-USE_PHP= mysql pcre session xml json
+USE_PHP= mysql mbstring pcre session xml json
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -24,8 +25,19 @@ CPIOARGS= --quiet -pdum -R
GLPIDIR?= www/${PORTNAME}
+OPTIONS= LDAP "With LDAP support" off \
+ IMAP "With imap support" off
+
.include <bsd.port.pre.mk>
+.if defined(WITH_LDAP)
+USE_PHP+= ldap
+.endif
+
+.if defined(WITH_IMAP)
+USE_PHP+= imap
+.endif
+
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete