build ZipArchive, okay robert@

This commit is contained in:
espie 2009-04-24 08:36:49 +00:00
parent f710844cf3
commit e2375b5765
3 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.44 2008/09/18 13:37:41 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.45 2009/04/24 08:36:49 espie Exp $
FULLPKGNAME-main= php5-extensions-${V}
COMMENT-main= informational package about PHP5 extensions
@ -355,6 +355,18 @@ LIB_DEPENDS-xsl= xslt.>=3,exslt::textproc/libxslt
WANTLIB-xsl= ${WANTLIB} iconv xml2 z
.endif
# zip
PSEUDO_FLAVORS+= no_zip
.if ${FLAVOR:L:Mno_zip}
CONFIGURE_ARGS+= --disable-zip
.else
MULTI_PACKAGES+= -zip
COMMENT-zip= zip functions for php5
CONFIGURE_ARGS+= --enable-zip=shared
LIB_DEPENDS-zip=
WANTLIB-zip= ${WANTLIB} z
.endif
.for i in ${MULTI_PACKAGES}
FULLPKGNAME${i} ?= php5${i}-${V}
RUN_DEPENDS${i}= :php5-core-${V}:www/php5/core

View File

@ -0,0 +1 @@
ZipArchive class for building/reading zip files

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-zip,v 1.1 2009/04/24 08:36:49 espie Exp $
conf/php5.sample/zip.ini
lib/php/modules/zip.so