View | Details | Raw Unified | Return to bug 91327
Collapse All | Expand All

(-)Makefile (-2 / +9 lines)
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>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (PECL/memcache-1.5.tgz) = f521dd4d3cad4ccb05d9ade4e1cc04d4
1
MD5 (PECL/memcache-2.0.0.tgz) = c4d9f90178438750c48d8807c97b8913
2
SHA256 (PECL/memcache-1.5.tgz) = d500687fd2703266619821758f4f80aea1baea3c5e5c8370a7a80f516ca33db9
2
SHA256 (PECL/memcache-2.0.0.tgz) = 3e7a17932a9e8766866d664983360cf032d36f04257bf4c21966f8d598b91f83
3
SIZE (PECL/memcache-1.5.tgz) = 14291
3
SIZE (PECL/memcache-2.0.0.tgz) = 16896
(-)files/patch-memcache.c (+11 lines)
Added Link Here
1
--- ./memcache.c.orig	Wed Jan  4 23:33:18 2006
2
+++ ./memcache.c	Wed Jan  4 23:33:25 2006
3
@@ -120,7 +120,7 @@
4
 
5
 /* {{{ macros */
6
 #define MMC_PREPARE_KEY(key, key_len) \
7
-	php_strtr(key, key_len, "\t\r\n ", "____", 4); \
8
+	php_strtr(key, key_len, "\t\r\n ", "____", 4);
9
 
10
 #if ZEND_DEBUG
11
 

Return to bug 91327