42 lines
876 B
Makefile
42 lines
876 B
Makefile
# $OpenBSD: Makefile,v 1.33 2011/03/23 11:42:15 giovanni Exp $
|
|
|
|
COMMENT= open source web analytics software program
|
|
|
|
DISTNAME= piwik-1.2.1
|
|
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
|
|
|
|
PHP_VERSION= 5
|
|
RUN_DEPENDS= www/php${PHP_VERSION}/extensions,-gd \
|
|
www/php${PHP_VERSION}/extensions,-mysql \
|
|
www/php${PHP_VERSION}/extensions,-pdo_mysql
|
|
|
|
post-patch:
|
|
@find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
|
|
|
|
do-install:
|
|
@cp -Rp ${WRKDIST} ${INSTDIR}
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|