diff options
author | jadawin <jadawin@FreeBSD.org> | 2011-07-12 19:27:33 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2011-07-12 19:27:33 +0800 |
commit | 16121b70f73caccfb84017f70848396a29cf4774 (patch) | |
tree | d714aeb559784b42ffcadfabfce45bb4de793cd8 /www/glpi | |
parent | a05c4b79e6ae19ac7190799f4aacdf4c1187cc2f (diff) | |
download | freebsd-ports-gnome-16121b70f73caccfb84017f70848396a29cf4774.tar.gz freebsd-ports-gnome-16121b70f73caccfb84017f70848396a29cf4774.tar.zst freebsd-ports-gnome-16121b70f73caccfb84017f70848396a29cf4774.zip |
- Add mbstring dependency
- Add options ldap and imap support
PR: ports/158795
Submitted by: Gvozdikov Veniamin <g.veniamin _AT_ googlemail.com>
Approved by: maintainer
Diffstat (limited to 'www/glpi')
-rw-r--r-- | www/glpi/Makefile | 14 |
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 |