diff options
author | pav <pav@FreeBSD.org> | 2005-06-05 23:08:59 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-06-05 23:08:59 +0800 |
commit | b2fe9e2c62b8a137d7b989df674c35a12c50b7a5 (patch) | |
tree | eff099b086b98b764a5846c3389f510185fa217e /www | |
parent | c41a7fdb69ef58727b8cf4bb119a3a337307964d (diff) | |
download | freebsd-ports-graphics-b2fe9e2c62b8a137d7b989df674c35a12c50b7a5.tar.gz freebsd-ports-graphics-b2fe9e2c62b8a137d7b989df674c35a12c50b7a5.tar.zst freebsd-ports-graphics-b2fe9e2c62b8a137d7b989df674c35a12c50b7a5.zip |
- Update to 0.9.3
PR: ports/81316
Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Approved by: maintainer timeout (16 days)
Diffstat (limited to 'www')
-rw-r--r-- | www/eaccelerator/Makefile | 22 | ||||
-rw-r--r-- | www/eaccelerator/distinfo | 4 | ||||
-rw-r--r-- | www/eaccelerator/files/pkg-message.in | 16 |
3 files changed, 29 insertions, 13 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile index e80d15d9f97..2fb7e7b2930 100644 --- a/www/eaccelerator/Makefile +++ b/www/eaccelerator/Makefile @@ -6,7 +6,7 @@ # PORTNAME= eaccelerator -PORTVERSION= 0.9.2a +PORTVERSION= 0.9.3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,13 +17,27 @@ COMMENT= An opcode cache for PHP with encoder and loader USE_PHP= yes USE_PHPIZE= yes -WRKSRC= ${WRKDIR}/${PORTNAME} - CONFIGURE_ARGS= --enable-eaccelerator=shared 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 @@ -48,4 +62,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/eaccelerator/distinfo b/www/eaccelerator/distinfo index 8dd360f7d2a..e33bef956e5 100644 --- a/www/eaccelerator/distinfo +++ b/www/eaccelerator/distinfo @@ -1,2 +1,2 @@ -MD5 (eaccelerator-0.9.2a.tar.gz) = e9059ebd49f14835534a1d96a97ababd -SIZE (eaccelerator-0.9.2a.tar.gz) = 115791 +MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9 +SIZE (eaccelerator-0.9.3.tar.gz) = 133120 diff --git a/www/eaccelerator/files/pkg-message.in b/www/eaccelerator/files/pkg-message.in index 4420ec2ee1a..7b64641c161 100644 --- a/www/eaccelerator/files/pkg-message.in +++ b/www/eaccelerator/files/pkg-message.in @@ -1,16 +1,18 @@ ***************************************************************************** -You have installed the eaccelerator package. +Edit %%LOCALBASE%%/etc/php/extensions.ini and add: -Edit %%LOCALBASE%%/etc/php.ini and add: +extension=eaccelerator.so -[eaccelerator] -extension="eaccelerator.so" +**************************************************** +*** This extension must be loaded after *** +*** extension=session.so *** +**************************************************** Then create the cache directory: - mkdir /tmp/eaccelerator - chown www /tmp/eaccelerator - chmod 0700 /tmp/eaccelerator +mkdir /tmp/eaccelerator +chown www /tmp/eaccelerator +chmod 0700 /tmp/eaccelerator ***************************************************************************** |