Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= piwik |
8 |
PORTNAME= piwik |
9 |
PORTVERSION= 1.8.1 |
9 |
PORTVERSION= 1.8.2 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= http://builds.piwik.org/ |
11 |
MASTER_SITES= http://builds.piwik.org/ |
12 |
|
12 |
|
Lines 18-28
Link Here
|
18 |
|
18 |
|
19 |
NO_BUILD= yes |
19 |
NO_BUILD= yes |
20 |
SUB_FILES= pkg-message |
20 |
SUB_FILES= pkg-message |
21 |
USE_PHP= dom gd iconv json mysql pdo pdo_mysql session xml zlib |
21 |
USE_PHP= dom gd iconv json session xml zlib |
22 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
22 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
23 |
|
23 |
|
|
|
24 |
OPTIONS_DEFINE= PHPPDOMYSQL PHPMYSQLI |
25 |
PHPPDOMYSQL_DESC= Use pdo_mysql php module |
26 |
PHPMYSQLI_DESC= Use mysqli php module |
27 |
|
28 |
OPTIONS_DEFAULT= PHPPDOMYSQL |
29 |
|
30 |
.include <bsd.port.options.mk> |
31 |
|
32 |
.if ${PORT_OPTIONS:MPHPMYSQLI} |
33 |
USE_PHP+= mysqli |
34 |
.endif |
35 |
.if ${PORT_OPTIONS:MPHPPDOMYSQL} |
36 |
USE_PHP+= pdo_mysql |
37 |
.endif |
38 |
|
24 |
post-patch: |
39 |
post-patch: |
25 |
@cd $(WRKSRC)/misc/log-analytics && $(RM) -rf import_logs.py.orig |
40 |
@cd ${WRKSRC}/misc/log-analytics && ${RM} -rf import_logs.py.orig |
26 |
|
41 |
|
27 |
pre-install: |
42 |
pre-install: |
28 |
@if [ ! -f ${LOCALBASE}/bin/php ]; then \ |
43 |
@if [ ! -f ${LOCALBASE}/bin/php ]; then \ |