summaryrefslogtreecommitdiff
path: root/archivers/php-zlib
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/php-zlib')
-rw-r--r--archivers/php-zlib/DESCR2
-rw-r--r--archivers/php-zlib/Makefile17
2 files changed, 19 insertions, 0 deletions
diff --git a/archivers/php-zlib/DESCR b/archivers/php-zlib/DESCR
new file mode 100644
index 00000000000..0533c96ecb3
--- /dev/null
+++ b/archivers/php-zlib/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides zlib compression support.
diff --git a/archivers/php-zlib/Makefile b/archivers/php-zlib/Makefile
new file mode 100644
index 00000000000..ce676651b4e
--- /dev/null
+++ b/archivers/php-zlib/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:29 jdolecek Exp $
+
+MODNAME= zlib
+CATEGORIES+= archivers
+PKGREVISION= # empty
+COMMENT= PHP extension for zlib compression
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}-dir=${BUILDLINK_DIR}
+
+post-extract:
+ cd ${WRKSRC}; ${RM} -f config.m4; ${LN} -sf config0.m4 config.m4
+
+.include "../../lang/php/ext.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"