From b7d496bdbf047ead8b605e75f6892a8dfb313dbf Mon Sep 17 00:00:00 2001 From: petef Date: Sun, 11 May 2003 00:29:36 +0000 Subject: Update to 2.3.10. PR: 51976 Submitted by: maintainer --- www/eaccelerator/Makefile | 9 +++++--- www/eaccelerator/distinfo | 2 +- www/eaccelerator/files/patch-encoder.php | 37 ++++++++++++++++++++++++++++++++ www/eaccelerator/pkg-descr | 6 ++++++ www/eaccelerator/pkg-plist | 3 +++ 5 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 www/eaccelerator/files/patch-encoder.php (limited to 'www/eaccelerator') diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile index ceda6af..975ae6a 100644 --- a/www/eaccelerator/Makefile +++ b/www/eaccelerator/Makefile @@ -6,13 +6,13 @@ # PORTNAME= turck-mmcache -PORTVERSION= 2.3.9 +PORTVERSION= 2.3.10 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sysadmin@alexdupre.com -COMMENT= An opcode cache for PHP +COMMENT= An opcode cache for PHP with encoder and loader EXTRACT_DEPENDS=phpize:${PORTSDIR}/www/mod_php4 BUILD_DEPENDS= ${LOCALBASE}/include/php/Zend/zend.h:${PORTSDIR}/www/mod_php4 @@ -45,11 +45,11 @@ APACHE_PORT?= ${PORTSDIR}/www/apache13 post-extract: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/config.m4 - @${REINPLACE_CMD} -e 's,[[:cntrl:]]$$,,g' ${WRKSRC}/mmcache.c @${ECHO_MSG} "===> PHPizing for ${DISTNAME}" @cd ${WRKSRC} && ${LOCALBASE}/bin/phpize post-build: + @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/encoder.php > ${WRKSRC}/encoder @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} @@ -57,6 +57,9 @@ do-install: @${MKDIR} ${PREFIX}/lib/php/${EXT_DIR} @${INSTALL_DATA} ${WRKSRC}/modules/mmcache.so \ ${PREFIX}/lib/php/${EXT_DIR} + @${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/mmcache.php ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/www/eaccelerator/distinfo b/www/eaccelerator/distinfo index 89ad8d0..e1f36be 100644 --- a/www/eaccelerator/distinfo +++ b/www/eaccelerator/distinfo @@ -1 +1 @@ -MD5 (turck-mmcache-2.3.9.tar.gz) = d578827ef7914f6c9d7920ad0e27727d +MD5 (turck-mmcache-2.3.10.tar.gz) = 6dd12cd6c122a821af1aa872b808704e diff --git a/www/eaccelerator/files/patch-encoder.php b/www/eaccelerator/files/patch-encoder.php new file mode 100644 index 0000000..b70e531 --- /dev/null +++ b/www/eaccelerator/files/patch-encoder.php @@ -0,0 +1,37 @@ +--- encoder.php.orig Thu May 8 16:58:25 2003 ++++ encoder.php Thu May 8 17:00:00 2003 +@@ -1,25 +1,25 @@ +-#! /usr/bin/php -f ++#! %%LOCALBASE%%/bin/php -f + + /dev/null || true +share/examples/turck-mmcache/mmcache.php %%PORTDOCS%%@dirrm share/doc/turck-mmcache +@dirrm share/examples/turck-mmcache -- cgit v1.1