blob: 5fc9d21a5f26c66f53fe7234f523b862ef114194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: Makefile,v 1.11 2010/03/02 14:46:51 taca Exp $
MODNAME= zip
CATEGORIES+= archivers
COMMENT= PHP extension for ZIP archive handling
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"
|