|
Lines 6-49
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= xcache |
8 |
PORTNAME= xcache |
| 9 |
DISTVERSION= 2.0.0 |
9 |
PORTVERSION= 2.0.1 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= www |
10 |
CATEGORIES= www |
| 12 |
MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/ |
11 |
MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/ |
| 13 |
|
12 |
|
| 14 |
MAINTAINER= ale@FreeBSD.org |
13 |
MAINTAINER= ale@FreeBSD.org |
| 15 |
COMMENT= A fast and stable php opcode cacher |
14 |
COMMENT= A fast and stable php opcode cacher |
| 16 |
|
15 |
|
|
|
16 |
LICENSE= BSD |
| 17 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 18 |
|
| 17 |
USE_BZIP2= yes |
19 |
USE_BZIP2= yes |
| 18 |
USE_PHP= yes |
20 |
USE_PHP= yes |
| 19 |
USE_PHPIZE= yes |
21 |
USE_PHPIZE= yes |
| 20 |
|
22 |
|
| 21 |
CONFIGURE_ARGS= --enable-xcache=shared |
23 |
CONFIGURE_ARGS= --enable-xcache=shared |
| 22 |
|
24 |
|
| 23 |
OPTIONS= CONSTANT "Enable handling of compile time constants" off \ |
25 |
OPTIONS_DEFINE= CONSTANT COVERAGER |
| 24 |
COVERAGER "Enable code coverage dumper" off |
26 |
CONSTANT_DESC= Enable handling of compile time constants |
|
|
27 |
COVERAGER_DESC= Enable code coverage dumper |
| 25 |
|
28 |
|
| 26 |
SUB_FILES= pkg-message |
29 |
SUB_FILES= pkg-message |
| 27 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
30 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
| 28 |
|
31 |
|
| 29 |
ADMINFILES= common-en.lang.php common-zh-simplified-utf-8.lang.php \ |
32 |
ADMINFILES= common-en.lang.php \ |
| 30 |
common-zh-traditional-utf-8.lang.php common.php config.php.example \ |
33 |
common-zh-simplified-utf-8.lang.php \ |
| 31 |
edit.php edit.tpl.php footer.tpl.php header.tpl.php \ |
34 |
common-zh-traditional-utf-8.lang.php \ |
| 32 |
help-en.lang.php help-zh-simplified-utf-8.lang.php \ |
35 |
common.php \ |
| 33 |
help-zh-traditional-utf-8.lang.php help.php index.php \ |
36 |
config.default.php \ |
| 34 |
mkpassword.php tablesort.js xcache.css xcache.php xcache.tpl.php |
37 |
config.example.php \ |
| 35 |
|
38 |
edit.php \ |
| 36 |
COVERAGERFILES= common-en.lang.php common-zh-simplified-gb2312.lang.php \ |
39 |
edit.tpl.php \ |
| 37 |
common-zh-simplified-utf-8.lang.php common.php config.php.example \ |
40 |
footer.tpl.php \ |
| 38 |
coverager.css coverager.php coverager.tpl.php index.php |
41 |
header.tpl.php \ |
|
|
42 |
help-en.lang.php \ |
| 43 |
help-zh-simplified-utf-8.lang.php \ |
| 44 |
help-zh-traditional-utf-8.lang.php \ |
| 45 |
help.php \ |
| 46 |
index.php \ |
| 47 |
mkpassword.php \ |
| 48 |
tablesort.js \ |
| 49 |
xcache.css \ |
| 50 |
xcache.php \ |
| 51 |
xcache.tpl.php |
| 52 |
|
| 53 |
COVERAGERFILES= common-en.lang.php \ |
| 54 |
common-zh-simplified-gb2312.lang.php \ |
| 55 |
common-zh-simplified-utf-8.lang.php \ |
| 56 |
common.php \ |
| 57 |
config.php.example \ |
| 58 |
coverager.css \ |
| 59 |
coverager.php \ |
| 60 |
coverager.tpl.php \ |
| 61 |
index.php |
| 39 |
|
62 |
|
| 40 |
.include <bsd.port.pre.mk> |
63 |
.include <bsd.port.pre.mk> |
| 41 |
|
64 |
|
| 42 |
.if defined(WITH_CONSTANT) |
65 |
.if ${PORT_OPTIONS:MCONSTANT} |
| 43 |
CONFIGURE_ARGS+=--enable-xcache-constant |
66 |
CONFIGURE_ARGS+=--enable-xcache-constant |
| 44 |
.endif |
67 |
.endif |
| 45 |
|
68 |
|
| 46 |
.if defined(WITH_COVERAGER) |
69 |
.if ${PORT_OPTIONS:MCOVERAGER} |
| 47 |
CONFIGURE_ARGS+=--enable-xcache-coverager |
70 |
CONFIGURE_ARGS+=--enable-xcache-coverager |
| 48 |
PLIST_SUB+= COVERAGER="" |
71 |
PLIST_SUB+= COVERAGER="" |
| 49 |
.else |
72 |
.else |