aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-11-21 04:36:12 +0800
committerale <ale@FreeBSD.org>2005-11-21 04:36:12 +0800
commitada4b0b366d8803012821c6f9ccc0d6fd5ea3ff6 (patch)
tree95ef22990be2460168ec38c0e4802096b0d343ac /www
parent4f7b31f64139718e209cf0741648592d2b3c4d45 (diff)
downloadfreebsd-ports-gnome-ada4b0b366d8803012821c6f9ccc0d6fd5ea3ff6.tar.gz
freebsd-ports-gnome-ada4b0b366d8803012821c6f9ccc0d6fd5ea3ff6.tar.zst
freebsd-ports-gnome-ada4b0b366d8803012821c6f9ccc0d6fd5ea3ff6.zip
Update to 0.9.4-rc1 release.
Diffstat (limited to 'www')
-rw-r--r--www/eaccelerator/Makefile24
-rw-r--r--www/eaccelerator/distinfo5
-rw-r--r--www/eaccelerator/files/pkg-message.in9
3 files changed, 11 insertions, 27 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile
index 2fb7e7b2930a..d3f7e236bb22 100644
--- a/www/eaccelerator/Makefile
+++ b/www/eaccelerator/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= eaccelerator
-PORTVERSION= 0.9.3
+DISTVERSION= 0.9.4-rc1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,30 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= An opcode cache for PHP with encoder and loader
-USE_PHP= yes
+USE_PHP= session
USE_PHPIZE= yes
+USE_PHP_BUILD= yes
CONFIGURE_ARGS= --enable-eaccelerator=shared
+USE_BZIP2= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-.include <bsd.port.pre.mk>
-
-.if !exists(${LOCALBASE}/lib/php/${PHP_EXT_DIR}/session.so)
-WITHOUT_PHP_SESSION= yes
-CONFIGURE_ARGS+= --without-eaccelerator-sessions
-.endif
-
-pre-everything::
-.if defined(WITHOUT_PHP_SESSION)
- @${ECHO_MSG} "===>"
- @${ECHO_MSG} "===> If you use ${PORTNAME} with php session, please"
- @${ECHO_MSG} "===> press CTRL+C and install www/php${PHP_VER}-session"
- @${ECHO_MSG} "===>"
- @sleep 2
-.endif
-
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
@@ -62,4 +48,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/eaccelerator/distinfo b/www/eaccelerator/distinfo
index e33bef956e5d..b2f627788ed8 100644
--- a/www/eaccelerator/distinfo
+++ b/www/eaccelerator/distinfo
@@ -1,2 +1,3 @@
-MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9
-SIZE (eaccelerator-0.9.3.tar.gz) = 133120
+MD5 (eaccelerator-0.9.4-rc1.tar.bz2) = 5910ba3c3e9c8caa97600e950839f8b2
+SHA256 (eaccelerator-0.9.4-rc1.tar.bz2) = 4f20aa2197a0e484bea57a3f6183a172207a65003927c4ecea9449eb6af538ed
+SIZE (eaccelerator-0.9.4-rc1.tar.bz2) = 104703
diff --git a/www/eaccelerator/files/pkg-message.in b/www/eaccelerator/files/pkg-message.in
index 7b64641c161c..6c5ca5bdfd2e 100644
--- a/www/eaccelerator/files/pkg-message.in
+++ b/www/eaccelerator/files/pkg-message.in
@@ -1,13 +1,10 @@
*****************************************************************************
-Edit %%LOCALBASE%%/etc/php/extensions.ini and add:
+You have installed the eaccelerator package.
-extension=eaccelerator.so
+Edit %%LOCALBASE%%/etc/php.ini and add:
-****************************************************
-*** This extension must be loaded after ***
-*** extension=session.so ***
-****************************************************
+zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/eaccelerator.so"
Then create the cache directory: