diff options
author | ale <ale@FreeBSD.org> | 2004-03-29 06:50:13 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-03-29 06:50:13 +0800 |
commit | 76a2f91fa3949e238a2678a6ba71e9f9c6b99db6 (patch) | |
tree | 8dd963f85e01d5811a12d1e67c72763376ccafe3 /devel | |
parent | 9d3bedd3da3a6e2ec3b834d1d97071e98b5b4a78 (diff) | |
download | freebsd-ports-gnome-76a2f91fa3949e238a2678a6ba71e9f9c6b99db6.tar.gz freebsd-ports-gnome-76a2f91fa3949e238a2678a6ba71e9f9c6b99db6.tar.zst freebsd-ports-gnome-76a2f91fa3949e238a2678a6ba71e9f9c6b99db6.zip |
Fix installation, by using correct directories.
Noticed by: Attila Nagy <bra@fsn.hu>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ZendOptimizer/Makefile | 8 | ||||
-rw-r--r-- | devel/ZendOptimizer/pkg-message | 4 | ||||
-rw-r--r-- | devel/ZendOptimizer/pkg-plist | 8 |
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%% |