aboutsummaryrefslogtreecommitdiffstats
path: root/www/glpi
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-08-29 04:44:39 +0800
committermarino <marino@FreeBSD.org>2016-08-29 04:44:39 +0800
commit2a7ff11d97661b73f6fd7d94faea0b869c7d83bd (patch)
tree525ef771756c9bd8962bf533e317ce0fa86e1f60 /www/glpi
parent3489440da295977664445da0a028b3aa40f1b2e8 (diff)
downloadfreebsd-ports-gnome-2a7ff11d97661b73f6fd7d94faea0b869c7d83bd.tar.gz
freebsd-ports-gnome-2a7ff11d97661b73f6fd7d94faea0b869c7d83bd.tar.zst
freebsd-ports-gnome-2a7ff11d97661b73f6fd7d94faea0b869c7d83bd.zip
www/glpi: Update version 0.90.3 => 0.90.5 and change option defaults
Per request [1], the IMAP and LDAP options have been set to ON by default. The maintainer took the opportunity to upgrade the version [2]. I converted the options to their modern equivalents and made the MASTER_SITES definition more generic to help future upgrades. PR: 211862 [1] Submitted by: David Stievenard PR: 212222 [2] Submitted by: maintainer
Diffstat (limited to 'www/glpi')
-rw-r--r--www/glpi/Makefile18
-rw-r--r--www/glpi/distinfo5
-rw-r--r--www/glpi/pkg-plist4
3 files changed, 11 insertions, 16 deletions
diff --git a/www/glpi/Makefile b/www/glpi/Makefile
index 4d6dc929bc3e..7e79f209ed3d 100644
--- a/www/glpi/Makefile
+++ b/www/glpi/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= glpi
-PORTVERSION= 0.90.3
+PORTVERSION= 0.90.5
PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= http://github.com/glpi-project/glpi/releases/download/0.90.3/
+MASTER_SITES= http://github.com/glpi-project/glpi/releases/download/${PORTVERSION}/
MAINTAINER= mathias@monnerville.com
COMMENT= Free IT and asset management software
@@ -24,17 +24,11 @@ SUB_FILES= pkg-message
SUB_LIST= GLPIDIR=${GLPIDIR} PREFIX=${PREFIX}
OPTIONS_DEFINE= LDAP IMAP
-IMAP_DESC= IMAP support
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFAULT= LDAP IMAP
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+= ldap
-.endif
-
-.if ${PORT_OPTIONS:MIMAP}
-USE_PHP+= imap
-.endif
+IMAP_DESC= IMAP support
+LDAP_USE= PHP=ldap
+IMAP_USE= PHP=imap
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete
diff --git a/www/glpi/distinfo b/www/glpi/distinfo
index 515effa63665..652f31951ae0 100644
--- a/www/glpi/distinfo
+++ b/www/glpi/distinfo
@@ -1,2 +1,3 @@
-SHA256 (glpi-0.90.3.tar.gz) = 15d1cdef40b425d5e6af67e65855298ba9b25af714f44fc3a4f5fb8e646f1227
-SIZE (glpi-0.90.3.tar.gz) = 19184087
+TIMESTAMP = 1472397287
+SHA256 (glpi-0.90.5.tar.gz) = d9b89385b2ca3004445108889492acc412013ba832409ff17496a6e019323eb3
+SIZE (glpi-0.90.5.tar.gz) = 20117959
diff --git a/www/glpi/pkg-plist b/www/glpi/pkg-plist
index ded070e08ac8..c0a6f3bc34d1 100644
--- a/www/glpi/pkg-plist
+++ b/www/glpi/pkg-plist
@@ -964,7 +964,7 @@
%%WWWDIR%%/install/index.php
%%WWWDIR%%/install/install.php
%%WWWDIR%%/install/mysql/.htaccess
-%%WWWDIR%%/install/mysql/glpi-0.90-empty.sql
+%%WWWDIR%%/install/mysql/glpi-0.90.1-empty.sql
%%WWWDIR%%/install/update.php
%%WWWDIR%%/install/update_031_04.php
%%WWWDIR%%/install/update_042_05.php
@@ -1000,7 +1000,7 @@
%%WWWDIR%%/install/update_0853_0855.php
%%WWWDIR%%/install/update_0855_090.php
%%WWWDIR%%/install/update_085_0853.php
-%%WWWDIR%%/install/update_0901_0902.php
+%%WWWDIR%%/install/update_0901_0905.php
%%WWWDIR%%/install/update_090_0901.php
%%WWWDIR%%/install/update_content.php
%%WWWDIR%%/install/update_to_031.php