aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-10-19 03:07:47 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-10-19 03:07:47 +0800
commitf62f2605b7e703b35c94ab6b94028f21b6bedb45 (patch)
tree7e1eb1538864715b731d992e7f29c7e69fe5bdfd
parent7eca1d13cc00d6e3db7aca324626f537869407c2 (diff)
downloadfreebsd-ports-gnome-f62f2605b7e703b35c94ab6b94028f21b6bedb45.tar.gz
freebsd-ports-gnome-f62f2605b7e703b35c94ab6b94028f21b6bedb45.tar.zst
freebsd-ports-gnome-f62f2605b7e703b35c94ab6b94028f21b6bedb45.zip
A Massively Spiffy Yet Delicately Unobtrusive Compression Library
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/zlib/Makefile26
-rw-r--r--archivers/zlib/distinfo3
-rw-r--r--archivers/zlib/files/patch-configure11
-rw-r--r--archivers/zlib/pkg-descr5
-rw-r--r--archivers/zlib/pkg-plist4
6 files changed, 50 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 66111d544a2e..ab27f030c355 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -189,6 +189,7 @@
SUBDIR += zipios++
SUBDIR += zipmix
SUBDIR += zipper
+ SUBDIR += zlib
SUBDIR += zoo
.include <bsd.port.subdir.mk>
diff --git a/archivers/zlib/Makefile b/archivers/zlib/Makefile
new file mode 100644
index 000000000000..6162b72bd3cb
--- /dev/null
+++ b/archivers/zlib/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: zlib
+# Date created: 2009-10-18
+# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zlib
+PORTVERSION= 1.2.3
+CATEGORIES= archivers
+MASTER_SITES= http://www.zlib.net/ \
+ http://www.gzip.org/zlib/
+
+MAINTAINER= skreuzer@exit2shell.com
+COMMENT= Delicately Unobtrusive Compression Library
+
+HAS_CONFIGURE= YES
+USE_LDCONFIG= YES
+
+MAN3= zlib.3
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%MAN3PREFIX%%|${MAN3PREFIX}|' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/archivers/zlib/distinfo b/archivers/zlib/distinfo
new file mode 100644
index 000000000000..8d336a0ffe31
--- /dev/null
+++ b/archivers/zlib/distinfo
@@ -0,0 +1,3 @@
+MD5 (zlib-1.2.3.tar.gz) = debc62758716a169df9f62e6ab2bc634
+SHA256 (zlib-1.2.3.tar.gz) = 1795c7d067a43174113fdf03447532f373e1c6c57c08d61d9e4e9be5e244b05e
+SIZE (zlib-1.2.3.tar.gz) = 496597
diff --git a/archivers/zlib/files/patch-configure b/archivers/zlib/files/patch-configure
new file mode 100644
index 000000000000..40995301482c
--- /dev/null
+++ b/archivers/zlib/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-10-18 14:12:58.000000000 -0400
++++ configure 2009-10-18 14:14:56.000000000 -0400
+@@ -29,7 +29,7 @@
+ exec_prefix=${exec_prefix-'${prefix}'}
+ libdir=${libdir-'${exec_prefix}/lib'}
+ includedir=${includedir-'${prefix}/include'}
+-mandir=${mandir-'${prefix}/share/man'}
++mandir=${mandir-'%%MAN3PREFIX%%/man'}
+ shared_ext='.so'
+ shared=0
+ gcc=0
diff --git a/archivers/zlib/pkg-descr b/archivers/zlib/pkg-descr
new file mode 100644
index 000000000000..c7eea67ab0a0
--- /dev/null
+++ b/archivers/zlib/pkg-descr
@@ -0,0 +1,5 @@
+zlib is a software library used for data compression. zlib is an
+abstraction of the DEFLATE compression algorithm used in the gzip
+file compression program.
+
+WWW: http://www.zlib.net
diff --git a/archivers/zlib/pkg-plist b/archivers/zlib/pkg-plist
new file mode 100644
index 000000000000..0795281abdf7
--- /dev/null
+++ b/archivers/zlib/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+include/zlib.h
+include/zconf.h
+lib/libz.a