freebsd-ports/www/piwik/Makefile
Martin Wilke 905646322b Piwik is a downloadable, open source (GPL licensed) web analytics
software package. It provides detailed reports on your website and
its visitors, including the search engines and keywords they used,
the language they speak, which pages they like, the files they
download, and so much more.

Piwik aims to be an open source alternative to Google Analytics.

WWW: http://www.piwik.org/

PR:		ports/130074
Submitted by:	Wen heping <wenheping at gmail.com>
2009-01-10 15:09:27 +00:00

38 lines
813 B
Makefile

# New ports collection makefile for: piwik
# Date created: 31 Dec 2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= piwik
PORTVERSION= 0.2.28
CATEGORIES= www
MASTER_SITES= http://piwik.org/
DISTNAME= last
MAINTAINER= wenheping@gmail.com
COMMENT= A Open Source Web Analytics Software Program
USE_ZIP= yes
USE_PHP= mysql gd pdo pdo_mysql
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>