head	1.50;
access;
symbols
	RELEASE_8_3_0:1.38
	RELEASE_9_0_0:1.36
	RELEASE_7_4_0:1.30
	RELEASE_8_2_0:1.30
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.25
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.6;
locks; strict;
comment	@# @;


1.50
date	2013.03.12.22.00.19;	author svnexp;	state Exp;
branches;
next	1.49;

1.49
date	2013.01.18.07.59.08;	author svnexp;	state Exp;
branches;
next	1.48;

1.48
date	2013.01.16.13.44.29;	author svnexp;	state Exp;
branches;
next	1.47;

1.47
date	2012.11.17.06.02.58;	author svnexp;	state Exp;
branches;
next	1.46;

1.46
date	2012.11.10.15.20.17;	author madpilot;	state Exp;
branches;
next	1.45;

1.45
date	2012.10.30.16.23.43;	author jhale;	state Exp;
branches;
next	1.44;

1.44
date	2012.10.25.09.39.43;	author jhale;	state Exp;
branches;
next	1.43;

1.43
date	2012.10.18.00.51.00;	author jgh;	state Exp;
branches;
next	1.42;

1.42
date	2012.09.18.10.55.39;	author culot;	state Exp;
branches;
next	1.41;

1.41
date	2012.08.17.14.48.53;	author rm;	state Exp;
branches;
next	1.40;

1.40
date	2012.06.17.19.43.12;	author sylvio;	state Exp;
branches;
next	1.39;

1.39
date	2012.06.08.19.26.13;	author beech;	state Exp;
branches;
next	1.38;

1.38
date	2012.02.27.14.37.58;	author culot;	state Exp;
branches;
next	1.37;

1.37
date	2012.02.17.18.08.56;	author jgh;	state Exp;
branches;
next	1.36;

1.36
date	2011.10.18.18.48.18;	author flo;	state Exp;
branches;
next	1.35;

1.35
date	2011.09.07.04.04.17;	author sunpoet;	state Exp;
branches;
next	1.34;

1.34
date	2011.06.21.17.48.49;	author culot;	state Exp;
branches;
next	1.33;

1.33
date	2011.05.03.13.29.57;	author culot;	state Exp;
branches;
next	1.32;

1.32
date	2011.04.21.15.21.05;	author flo;	state Exp;
branches;
next	1.31;

1.31
date	2011.03.08.20.52.10;	author culot;	state Exp;
branches;
next	1.30;

1.30
date	2011.01.06.00.41.16;	author wen;	state Exp;
branches;
next	1.29;

1.29
date	2011.01.05.06.23.01;	author wen;	state Exp;
branches;
next	1.28;

1.28
date	2010.08.31.07.28.54;	author wen;	state Exp;
branches;
next	1.27;

1.27
date	2010.08.15.08.00.16;	author arved;	state Exp;
branches;
next	1.26;

1.26
date	2010.08.04.09.02.58;	author lwhsu;	state Exp;
branches;
next	1.25;

1.25
date	2010.06.25.02.27.31;	author wen;	state Exp;
branches;
next	1.24;

1.24
date	2010.06.24.01.13.31;	author wen;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.30.01.28.40;	author wen;	state Exp;
branches;
next	1.22;

1.22
date	2010.05.17.01.03.36;	author wen;	state Exp;
branches;
next	1.21;

1.21
date	2010.05.16.01.42.58;	author wen;	state Exp;
branches;
next	1.20;

1.20
date	2010.05.08.08.38.12;	author wen;	state Exp;
branches;
next	1.19;

1.19
date	2010.04.06.01.53.30;	author wen;	state Exp;
branches;
next	1.18;

1.18
date	2009.12.19.11.30.59;	author wen;	state Exp;
branches;
next	1.17;

1.17
date	2009.12.16.03.53.05;	author wen;	state Exp;
branches;
next	1.16;

1.16
date	2009.12.11.11.05.19;	author wen;	state Exp;
branches;
next	1.15;

1.15
date	2009.10.28.08.47.47;	author wen;	state Exp;
branches;
next	1.14;

1.14
date	2009.10.24.01.56.01;	author wen;	state Exp;
branches;
next	1.13;

1.13
date	2009.10.23.01.06.06;	author wen;	state Exp;
branches;
next	1.12;

1.12
date	2009.08.17.20.29.42;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2009.07.27.06.59.06;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2009.06.13.22.44.08;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2009.05.29.12.32.16;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.16.23.28.19;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2009.04.23.17.03.23;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2009.03.20.19.34.30;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2009.03.09.23.10.51;	author beat;	state Exp;
branches;
next	1.4;

1.4
date	2009.03.04.18.14.57;	author beat;	state Exp;
branches;
next	1.3;

1.3
date	2009.02.26.20.28.41;	author beat;	state Exp;
branches;
next	1.2;

1.2
date	2009.02.14.11.18.16;	author beat;	state Exp;
branches;
next	1.1;

1.1
date	2009.01.10.15.09.27;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.50
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313985
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Wen heping <wenheping@@gmail.com>
# $FreeBSD: head/www/piwik/Makefile 313985 2013-03-12 17:01:02Z culot $

PORTNAME=	piwik
PORTVERSION=	1.11.1
CATEGORIES=	www
MASTER_SITES=	http://builds.piwik.org/

MAINTAINER=	hans@@nordhaug.priv.no
COMMENT=	Open Source Web Analytics Software Program

LICENSE=	GPLv3

NO_BUILD=	yes
SUB_FILES=	pkg-message
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:
	@@${REINPLACE_CMD} -e 's|/usr/bin/python|${LOCALBASE}/bin/python|' \
		${WRKSRC}/misc/log-analytics/import_logs.py
	@@${RM} ${WRKSRC}/misc/log-analytics/import_logs.py.bak

pre-install:
	@@if [ ! -f ${LOCALBASE}/bin/php ]; then \
		echo " It seems you installed php without CLI enabled. "; \
		echo " This will cause problems when using 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}
	@@${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.mk>
@


1.49
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310585
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/piwik/Makefile 310585 2013-01-18 07:30:40Z culot $
d5 1
a5 1
PORTVERSION=	1.10.1
@


1.48
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310491
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/piwik/Makefile 310491 2013-01-16 13:37:59Z culot $
d5 1
a5 1
PORTVERSION=	1.10
@


1.47
log
@Switch exporter over
@
text
@d1 2
a2 2
# Created by:	Wen heping <wenheping@@gmail.com>
# $FreeBSD: head/www/piwik/Makefile 307287 2012-11-10 15:20:17Z madpilot $
d5 1
a5 1
PORTVERSION=	1.9.2
@


1.46
log
@SVN rev 307287 on 2012-11-10 15:20:17Z by madpilot

- Update to 1.9.2

PR:		ports/173500
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.45
log
@SVN rev 306682 on 2012-10-30 16:23:43Z by jhale

- Distfile was rerolled with last-minute changes; update distinfo
- Bump PORTREVISION

PR:		ports/173185
Submitted by:	cs
Approved by:	maintainer
		makc, avilla (mentors, implicit)
Feature safe:	yes
@
text
@d5 1
a5 2
PORTVERSION=	1.9.1
PORTREVISION=	1
@


1.44
log
@SVN rev 306374 on 2012-10-25 09:39:43Z by jhale

- Update to 1.9.1

While here:
- Remove indefinite article from COMMENT
- Fix Makefile header
- Fix grammar in warning message

PR:		ports/173050
Submitted by:	Geoffroy Desvernay <dgeo@@centrale-marseille.fr>
Approved by:	maintainer
		makc, avilla (mentors, implicit)
Feature safe:	yes
@
text
@d6 1
@


1.43
log
@SVN rev 306043 on 2012-10-18 00:51:00Z by jgh

- update to 1.9
- while here update COMMENT to be grammatically correct, and trim header

PR:		172836
Submitted by:	maintainer, hans@@nordhaug.priv.no
Feature safe:	yes
@
text
@a1 1
#
d5 1
a5 1
PORTVERSION=	1.9
d10 1
a10 1
COMMENT=	An Open Source Web Analytics Software Program
d41 2
a42 2
		echo " It seems you install php without CLI enabled. "; \
		echo " It will cause problem when use piwik. "; \
@


1.42
log
@SVN rev 304443 on 2012-09-18 10:55:39Z by culot

- Update to 1.8.4

Changes:	http://piwik.org/changelog/
PR:		ports/171685
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d1 1
a1 3
# New ports collection makefile for:   piwik
# Date created:		31 Dec 2008
# Whom:			Wen heping <wenheping@@gmail.com>
a3 1
#
d6 1
a6 1
PORTVERSION=	1.8.4
d11 1
a11 1
COMMENT=	A Open Source Web Analytics Software Program
@


1.41
log
@SVN rev 302684 on 2012-08-17 14:48:53Z by rm

- update to 1.8.3

while here:
- remove LICENSE_FILE
- replace patch-file with reinplace

PR:		170696
Submitted by:	Hans F. Nordhaug <Hans.F.Nordhaug at hiMolde dot no> (maintainer, another email)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.3
@


1.40
log
@- Update to 1.8.2

PR:		ports/169012
Submitted by:	Geoffroy Desvernay <dgeo@@centrale-marseille.fr>
Approved by:	hans@@nordhaug.priv.no (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.2
a16 1
LICENSE_FILE=	${WRKSRC}/misc/gpl-3.0.txt
d39 3
a41 1
	@@cd ${WRKSRC}/misc/log-analytics && ${RM} -rf import_logs.py.orig
@


1.39
log
@- Update to 1.8.1

PR:		ports/168630
Submitted by:	Geoffroy Desvernay <dgeo@@centrale-marseille.fr>
Approved by:	Hans Fr. Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.1
d21 1
a21 1
USE_PHP=	dom gd iconv json mysql pdo pdo_mysql session xml zlib
d24 15
d40 1
a40 1
	@@cd $(WRKSRC)/misc/log-analytics && $(RM) -rf import_logs.py.orig
@


1.38
log
@- Update to 1.7.1

Changes:	http://piwik.org/changelog/
PR:		ports/165499
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.7.1
d24 3
@


1.37
log
@- Update to 1.7

This fixes a number of security issues, but no CVE available for
vuxml write-up:

 http://piwik.org/blog/2012/02/7775/

 We would like to thank the following security researchers for their
 responsible disclosure of XSS & click-jacking issues: Piotr Duszynski,
 Sergey Markov, Mauro Gentile.

PR: ports/165217
Submitted by:	maintainer, Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
@
text
@d9 1
a9 1
PORTVERSION=	1.7
@


1.36
log
@update to 1.6

PR:		ports/161767
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
@
text
@d9 1
a9 1
PORTVERSION=	1.6
@


1.35
log
@- Update to 1.5.1
- Pet portlint

Changes:	http://piwik.org/blog/2011/07/piwik-1-5-1/
PR:		ports/160519
Submitted by:	sunpoet (myself)
Approved by:	Hans Fr. Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.1
@


1.34
log
@- Update to 1.5

Changes:	http://piwik.org/changelog/
PR:		ports/158084
Submitted by:	Jin-Sih Lin <linpct@@gmail.com>
Approved by:	Hans Fr. Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5
a15 3
USE_PHP=	mysql gd pdo pdo_mysql zlib iconv dom json session xml
WRKSRC=		${WRKDIR}/${PORTNAME}

d21 2
a22 2

.include <bsd.port.pre.mk>
a42 1

d45 1
a45 1
.include <bsd.port.post.mk>
@


1.33
log
@- Update to 1.4

PR:		ports/156795
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4
@


1.32
log
@- update to 1.3

PR:		ports/156549
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3
@


1.31
log
@- Update to 1.2

PR:		ports/155234
Submitted by:	Hans Fredrik Nordhaug <hans AT nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.2
@


1.30
log
@- Update to 1.1.1

PR:		ports/153710
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.1
a26 3
post-patch:
	@@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/misc/cron/archive.sh

@


1.29
log
@- Update to 1.1

PR:		ports/153677
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1
@


1.28
log
@- Update to 1.0

PR:		ports/150094
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>(maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0
d26 4
@


1.27
log
@Update to 0.9

PR:		149663
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.9
@


1.26
log
@- Update to 0.8

PR:		ports/149228
Submitted by:	Hans Fredrik Nordhaug <hans AT nordhaug.priv.no> (maintainer)
Security:	CVE-2010-2786
@
text
@d9 1
a9 1
PORTVERSION=	0.8
@


1.25
log
@- Pass maintainership to new voluteer.

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.6.3
d20 1
a20 1
LICENSE_FILE=	${WRKSRC}/misc/license.txt
@


1.24
log
@- Update to 0.6.3

PR:		ports/148084
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
Feature safe:	yes
@
text
@d13 1
a13 1
MAINTAINER=	wen@@FreeBSD.org
@


1.23
log
@- Update to 0.6.2
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d19 3
@


1.22
log
@- Add missing dependence
- Add a judge of php CLI enabled

PR:		ports/146630
Submitted by:	Leo Vandewoestijne <freebsd@@unicycle.net>
@
text
@d9 1
a9 2
PORTVERSION=	0.6.1
PORTREVISION=	2
@


1.21
log
@- Add missing dependence

Submitted by:	Leo Vandewoestijne <leo@@unicycle.net> (via Email)
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
USE_PHP=	mysql gd pdo pdo_mysql zlib iconv dom json xml
d24 9
@


1.20
log
@- Update to 0.6.1
@
text
@d10 1
d17 1
a17 1
USE_PHP=	mysql gd pdo pdo_mysql zlib iconv dom
@


1.19
log
@- Update to 0.5.5
@
text
@d9 1
a9 1
PORTVERSION=	0.5.5
@


1.18
log
@- Update to 0.5.4
@
text
@d9 1
a9 1
PORTVERSION=	0.5.4
@


1.17
log
@- Update to 0.5.3
@
text
@d9 1
a9 1
PORTVERSION=	0.5.3
@


1.16
log
@- Update to 0.5.1

PR:		ports/141363
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
@


1.15
log
@- Add iconv and dom to USE_PHP

PR:		ports/140031
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
Approved by:	miwi,jadawin(mentors,implicit)
@
text
@d9 1
a9 2
PORTVERSION=	0.4.5
PORTREVISION=	1
@


1.14
log
@- Update to 0.4.5

Approved by:	mentors(implicit)
@
text
@d10 1
d17 1
a17 1
USE_PHP=	mysql gd pdo pdo_mysql zlib
@


1.13
log
@- Update to 0.4.4
- Update my mail address to FreeBSD

Approved by:	mentors(implicit)
@
text
@d9 1
a9 1
PORTVERSION=	0.4.4
@


1.12
log
@- Update to 0.4.3

PR:		137786
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.4.3
d13 1
a13 1
MAINTAINER=	wenheping@@gmail.com
@


1.11
log
@- Update to 0.4.2

PR:		137116
Submitted by:	Hans Fredrik Nordhaug <hans@@nordhaug.priv.no>
Approved by:	maintainer implicit
@
text
@d9 1
a9 1
PORTVERSION=	0.4.2
@


1.10
log
@- Update to 0.4

PR:		135428
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.4
@


1.9
log
@- Move to tar.gz distfile

PR:		134637
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.2.37
PORTREVISION=	1
@


1.8
log
@- Update to 0.2.37

PR:		134571
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d10 1
a16 1
USE_ZIP=	yes
@


1.7
log
@- Update to 0.2.34

PR:		133911
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.2.34
@


1.6
log
@- Update to 0.2.32

Approved by:	maintainer implicit
@
text
@d9 1
a9 1
PORTVERSION=	0.2.32
d17 1
a17 1
USE_PHP=	mysql gd pdo pdo_mysql
@


1.5
log
@- Make distfile fetchable

Reported by:	pointyhat via pav
Approved by:	wen heping <wenheping AT gmail.com> (maintainer), miwi (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.2.30
@


1.4
log
@- Use versioned distfile

Submitted by:	wen heping <wenheping AT gmail.com> (maintainer)
Reported by:	pav
Approved by:	miwi (mentor)
@
text
@d11 1
a11 1
MASTER_SITES=	http://piwik.org/builds/
@


1.3
log
@- Update to 0.2.30

PR:		ports/132111
Submitted by:	myself
Approved by:	wen heping <wenheping AT gmail.com> (maintainer), miwi (mentor)
@
text
@d11 1
a11 2
MASTER_SITES=	http://piwik.org/
DISTNAME=	last
@


1.2
log
@- Update to 0.2.29

PR:		ports/131658
Submitted by:	myself
Approved by:	wen heping <wenheping AT gmail.com> (maintainer), miwi (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.2.29
@


1.1
log
@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>
@
text
@d9 1
a9 1
PORTVERSION=	0.2.28
@

