aboutsummaryrefslogtreecommitdiffstats
path: root/www/piwik
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-18 03:43:12 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-18 03:43:12 +0800
commit074bbf823e5201535c2c19083d50eef255799372 (patch)
tree8c4b29483fc91099085c7b8b483a95541437ec9e /www/piwik
parent08f08efab34c9244fac9ed72feafac0b91ed6fe0 (diff)
downloadfreebsd-ports-gnome-074bbf823e5201535c2c19083d50eef255799372.tar.gz
freebsd-ports-gnome-074bbf823e5201535c2c19083d50eef255799372.tar.zst
freebsd-ports-gnome-074bbf823e5201535c2c19083d50eef255799372.zip
- Update to 1.8.2
PR: ports/169012 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: hans@nordhaug.priv.no (maintainer)
Diffstat (limited to 'www/piwik')
-rw-r--r--www/piwik/Makefile21
-rw-r--r--www/piwik/distinfo4
2 files changed, 20 insertions, 5 deletions
diff --git a/www/piwik/Makefile b/www/piwik/Makefile
index 26b1583dd53d..17dfc5b19705 100644
--- a/www/piwik/Makefile
+++ b/www/piwik/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= piwik
-PORTVERSION= 1.8.1
+PORTVERSION= 1.8.2
CATEGORIES= www
MASTER_SITES= http://builds.piwik.org/
@@ -18,11 +18,26 @@ LICENSE_FILE= ${WRKSRC}/misc/gpl-3.0.txt
NO_BUILD= yes
SUB_FILES= pkg-message
-USE_PHP= dom gd iconv json mysql pdo pdo_mysql session xml zlib
+USE_PHP= dom gd iconv json session xml zlib
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= PHPPDOMYSQL PHPMYSQLI
+PHPPDOMYSQL_DESC= Use pdo_mysql php module
+PHPMYSQLI_DESC= Use mysqli php module
+
+OPTIONS_DEFAULT= PHPPDOMYSQL
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPHPMYSQLI}
+USE_PHP+= mysqli
+.endif
+.if ${PORT_OPTIONS:MPHPPDOMYSQL}
+USE_PHP+= pdo_mysql
+.endif
+
post-patch:
- @cd $(WRKSRC)/misc/log-analytics && $(RM) -rf import_logs.py.orig
+ @cd ${WRKSRC}/misc/log-analytics && ${RM} -rf import_logs.py.orig
pre-install:
@if [ ! -f ${LOCALBASE}/bin/php ]; then \
diff --git a/www/piwik/distinfo b/www/piwik/distinfo
index e18931284a42..c02d55adc605 100644
--- a/www/piwik/distinfo
+++ b/www/piwik/distinfo
@@ -1,2 +1,2 @@
-SHA256 (piwik-1.8.1.tar.gz) = 2df256aef16354ca6f726e3043fb9f0ca3a0142ac8f0e8b7fa7a811a65e41455
-SIZE (piwik-1.8.1.tar.gz) = 4753567
+SHA256 (piwik-1.8.2.tar.gz) = 613337ec2558f2b056fd75e8062edcc3b3743581919cd4539210592f3d727152
+SIZE (piwik-1.8.2.tar.gz) = 4753349