summaryrefslogtreecommitdiff
path: root/archivers/php-zip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/php-zip/Makefile')
-rw-r--r--archivers/php-zip/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/archivers/php-zip/Makefile b/archivers/php-zip/Makefile
index 4bf536823f6..5fc9d21a5f2 100644
--- a/archivers/php-zip/Makefile
+++ b/archivers/php-zip/Makefile
@@ -1,17 +1,22 @@
-# $NetBSD: Makefile,v 1.10 2009/08/12 02:38:24 dsainty Exp $
+# $NetBSD: Makefile,v 1.11 2010/03/02 14:46:51 taca Exp $
MODNAME= zip
-PECL_VERSION= 1.8.10
CATEGORIES+= archivers
COMMENT= PHP extension for ZIP archive handling
-CONFLICTS= php-zip-[0-9]*
+CONFLICTS= php-zip-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
CONFIGURE_ARGS+= --enable-zip
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_PREFIX.zlib}
+# Remove these PKGNAME tweak after PHP 5.2.14 release
+.include "../../lang/php/phpversion.mk"
+.if ${PKG_PHP_VERSION} == "5"
+PKGNAME:= ${PHP_PKG_PREFIX}-${MODNAME}-${PHP_BASE_VERS}.1.8.11
+.endif
+
.include "../../lang/php/ext.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"