openbsd-ports/www/piwik/Makefile
giovanni a75f393242 Bugfix update to 1.8.4
some speed improvements
On large web sites the upgrade scripts should be run from shell
Full Changelog available at http://piwik.org/changelog/
2012-09-19 15:53:22 +00:00

46 lines
945 B
Makefile

# $OpenBSD: Makefile,v 1.50 2012/09/19 15:53:22 giovanni Exp $
COMMENT= open source web analytics software program
DISTNAME= piwik-1.8.4
CATEGORIES= www
HOMEPAGE= http://www.piwik.org/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://builds.piwik.org/
WRKDIST= ${WRKDIR}/piwik/
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/piwik/
SUBST_VARS= INSTDIR
MODULES= lang/php \
lang/python
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-mysql \
lang/php/${MODPHP_VERSION},-pdo_mysql
MODPY_ADJ_FILES=misc/log-analytics/import_logs.py
MODPY_RUNDEP= No
post-patch:
@find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
do-install:
@cp -Rp ${WRKDIST} ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>