diff options
author | wen <wen@FreeBSD.org> | 2010-05-17 09:03:36 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-05-17 09:03:36 +0800 |
commit | 36629c0dfd669668dfb4acb8901c80c1f9179e7a (patch) | |
tree | 24e96bcc660121f34aa9305335d28c21923bcefe | |
parent | e11c994fad6659974d2e74be37d229be679f71be (diff) | |
download | freebsd-ports-gnome-36629c0dfd669668dfb4acb8901c80c1f9179e7a.tar.gz freebsd-ports-gnome-36629c0dfd669668dfb4acb8901c80c1f9179e7a.tar.zst freebsd-ports-gnome-36629c0dfd669668dfb4acb8901c80c1f9179e7a.zip |
- Add missing dependence
- Add a judge of php CLI enabled
PR: ports/146630
Submitted by: Leo Vandewoestijne <freebsd@unicycle.net>
-rw-r--r-- | www/piwik/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/www/piwik/Makefile b/www/piwik/Makefile index e4e8790de7de..efd4e57ebe85 100644 --- a/www/piwik/Makefile +++ b/www/piwik/Makefile @@ -7,20 +7,29 @@ PORTNAME= piwik PORTVERSION= 0.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://builds.piwik.org/ MAINTAINER= wen@FreeBSD.org COMMENT= A Open Source Web Analytics Software Program -USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom json xml +USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom json session xml WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= pkg-message .include <bsd.port.pre.mk> +pre-install: + @if [ ! -f ${LOCALBASE}/bin/php ]; then \ + echo " It seems you install php without CLI enabled. "; \ + echo " It will cause problem when use piwik. "; \ + echo " If you want to reconsider, press Ctrl-C now to cancel. "; \ + echo " Then reinstall php with CLI enabled. "; \ + sleep 3; \ + fi + do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} |