Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= memcache |
8 |
PORTNAME= memcache |
9 |
PORTVERSION= 1.5 |
9 |
PORTVERSION= 2.0.0 |
10 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
11 |
MASTER_SITES= http://pecl.php.net/get/ |
11 |
MASTER_SITES= http://pecl.php.net/get/ |
12 |
PKGNAMEPREFIX= pecl- |
12 |
PKGNAMEPREFIX= pecl- |
Lines 16-31
Link Here
|
16 |
MAINTAINER= tux@pinguru.net |
16 |
MAINTAINER= tux@pinguru.net |
17 |
COMMENT= Memcached extension |
17 |
COMMENT= Memcached extension |
18 |
|
18 |
|
|
|
19 |
USE_REINPLACE= yes |
19 |
USE_PHP= zlib |
20 |
USE_PHP= zlib |
20 |
USE_PHPEXT= yes |
21 |
USE_PHPEXT= yes |
21 |
PHP_MODNAME= memcache |
22 |
PHP_MODNAME= memcache |
22 |
|
23 |
|
23 |
CONFIGURE_ARGS= --with-zlib-dir=/usr |
24 |
CONFIGURE_ARGS= --with-zlib-dir=/usr |
24 |
|
25 |
|
|
|
26 |
.include <bsd.port.pre.mk> |
27 |
|
28 |
post-extract: |
29 |
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt|php)" -print0 | \ |
30 |
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' |
31 |
|
25 |
.if !defined(NOPORTDOCS) |
32 |
.if !defined(NOPORTDOCS) |
26 |
post-install: |
33 |
post-install: |
27 |
@${MKDIR} ${EXAMPLESDIR} |
34 |
@${MKDIR} ${EXAMPLESDIR} |
28 |
${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR} |
35 |
${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR} |
29 |
.endif |
36 |
.endif |
30 |
|
37 |
|
31 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.post.mk> |