aboutsummaryrefslogtreecommitdiff
path: root/devel/ZendOptimizer
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-03-28 22:50:13 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-03-28 22:50:13 +0000
commit357ae1c7144bc44b5f2b6afb0df9856c40b7a8f9 (patch)
treedf1a98429abfa6cfeff36ee5cdac2d6844f30f5a /devel/ZendOptimizer
parent168bf14b5adbf26999b9dd3ff49d4204db452428 (diff)
downloadports-357ae1c7144bc44b5f2b6afb0df9856c40b7a8f9.tar.gz
ports-357ae1c7144bc44b5f2b6afb0df9856c40b7a8f9.zip
Notes
Diffstat (limited to 'devel/ZendOptimizer')
-rw-r--r--devel/ZendOptimizer/Makefile8
-rw-r--r--devel/ZendOptimizer/pkg-message4
-rw-r--r--devel/ZendOptimizer/pkg-plist8
3 files changed, 13 insertions, 7 deletions
diff --git a/devel/ZendOptimizer/Makefile b/devel/ZendOptimizer/Makefile
index 532f35bf4d08..70e8b3965939 100644
--- a/devel/ZendOptimizer/Makefile
+++ b/devel/ZendOptimizer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ZendOptimizer
PORTVERSION= 2.5.1
+PORTREVISION= 1
CATEGORIES= devel
DISTNAME= ${PORTNAME}-${PORTVERSION}-FreeBSD${VER}-i386
@@ -47,11 +48,12 @@ and place it in ${DISTDIR}.\n
.endif
do-install:
- @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
+ @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer/php-4.3.x
${INSTALL_DATA} ${WRKSRC}/data/4_3_x_comp/ZendOptimizer.so \
- ${PREFIX}/lib/php/${PHP_EXT_DIR}/ZendOptimizer.so
+ ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer/php-4.3.x/ZendOptimizer.so
+ @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer_TS/php-4.3.x
${INSTALL_DATA} ${WRKSRC}/data/4_3_x_comp/TS/ZendOptimizer.so \
- ${PREFIX}/lib/php/${PHP_EXT_DIR}/ZendOptimizer_TS.so
+ ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer_TS/php-4.3.x/ZendOptimizer.so
${INSTALL_DATA} ${WRKSRC}/data/ZendExtensionManager.so \
${PREFIX}/lib/php/${PHP_EXT_DIR}
${INSTALL_DATA} ${WRKSRC}/data/ZendExtensionManager_TS.so \
diff --git a/devel/ZendOptimizer/pkg-message b/devel/ZendOptimizer/pkg-message
index 4831e2ddef86..74a9d8a014b5 100644
--- a/devel/ZendOptimizer/pkg-message
+++ b/devel/ZendOptimizer/pkg-message
@@ -6,8 +6,8 @@ Edit %%LOCALBASE%%/etc/php.ini and add:
[Zend]
zend_optimizer.optimization_level=15
-zend_extension_manager.optimizer="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ZendOptimizer.so"
-zend_extension_manager.optimizer_ts="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ZendOptimizer_TS.so"
+zend_extension_manager.optimizer="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/Optimizer"
+zend_extension_manager.optimizer_ts="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/Optimizer_TS"
zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ZendExtensionManager.so"
zend_extension_ts="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ZendExtensionManager_TS.so"
diff --git a/devel/ZendOptimizer/pkg-plist b/devel/ZendOptimizer/pkg-plist
index cffc74fa9b41..7fb4adb9740e 100644
--- a/devel/ZendOptimizer/pkg-plist
+++ b/devel/ZendOptimizer/pkg-plist
@@ -1,8 +1,12 @@
lib/php/%%PHP_EXT_DIR%%/ZendExtensionManager_TS.so
lib/php/%%PHP_EXT_DIR%%/ZendExtensionManager.so
-lib/php/%%PHP_EXT_DIR%%/ZendOptimizer_TS.so
-lib/php/%%PHP_EXT_DIR%%/ZendOptimizer.so
+lib/php/%%PHP_EXT_DIR%%/Optimizer/php-4.3.x/ZendOptimizer.so
+lib/php/%%PHP_EXT_DIR%%/Optimizer_TS/php-4.3.x/ZendOptimizer.so
%%PORTDOCS%%%%DOCSDIR%%/ZendOptimizer_TechFAQ.pdf
%%PORTDOCS%%%%DOCSDIR%%/ZendOptimizer_UserGuide.pdf
+@dirrm lib/php/%%PHP_EXT_DIR%%/Optimizer_TS/php-4.3.x
+@dirrm lib/php/%%PHP_EXT_DIR%%/Optimizer_TS
+@dirrm lib/php/%%PHP_EXT_DIR%%/Optimizer/php-4.3.x
+@dirrm lib/php/%%PHP_EXT_DIR%%/Optimizer
@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true
%%PORTDOCS%%@dirrm %%DOCSDIR%%