[Midnightbsd-cvs] mports: www/eaccelerator: fix several errors picked up by portlint and
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Oct 16 17:17:40 EDT 2008
Log Message:
-----------
fix several errors picked up by portlint and noticed on magus
Modified Files:
--------------
mports/www/eaccelerator:
Makefile (r1.1 -> r1.2)
pkg-plist (r1.1 -> r1.2)
-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/www/eaccelerator/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/eaccelerator/pkg-plist -L www/eaccelerator/pkg-plist -u -r1.1 -r1.2
--- www/eaccelerator/pkg-plist
+++ www/eaccelerator/pkg-plist
@@ -1,4 +1,3 @@
-%%ENCODER%%bin/encoder
lib/php/%%PHP_EXT_DIR%%/eaccelerator.so
@dirrmtry lib/php/%%PHP_EXT_DIR%%
%%EXAMPLESDIR%%/control.php
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/eaccelerator/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/eaccelerator/Makefile -L www/eaccelerator/Makefile -u -r1.1 -r1.2
--- www/eaccelerator/Makefile
+++ www/eaccelerator/Makefile
@@ -12,7 +12,7 @@
MASTER_SITES= http://bart.eaccelerator.net/source/${PORTVERSION}/
MAINTAINER= ports at MidnightBSD.org
-COMMENT= An opcode cache for PHP with encoder and loader
+COMMENT= An opcode cache for PHP with loader
LICENSE= gpl2
USE_PHP= session
@@ -23,7 +23,8 @@
--with-eaccelerator-shared-memory \
--with-eaccelerator-sessions \
--with-eaccelerator-content-caching \
- --with-eaccelerator-userid=80
+ --with-eaccelerator-userid=80 \
+ --without-eaccelerator-encoder
USE_BZIP2= yes
SUB_FILES= pkg-message
@@ -33,13 +34,9 @@
.include <bsd.port.pre.mk>
-CONFIGURE_ARGS+= --without-eaccelerator-encoder
-PLIST_SUB+= ENCODER="@comment "
-
post-build:
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \
${WRKSRC}/encoder.php > ${WRKSRC}/encoder
-.endif
do-install:
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
@@ -55,6 +52,5 @@
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/control.php ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dasm.php ${EXAMPLESDIR}
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list