From 9cd4c9f9046de9d07807f56170be285d501d6cf3 Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 16 May 2012 05:14:28 +0000 Subject: zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress(1) and in the GIF image format, the compression method currently used in zlib essentially never expands the data. (LZW can double or triple the file size in extreme cases.) zlib's memory footprint is also independent of the input data and can be reduced, if necessary, at some cost in compression. WWW: http://zlib.net/ PR: ports/166991 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> --- archivers/Makefile | 1 + archivers/zlib/Makefile | 36 ++++++++++++++++++++++++++++++++++++ archivers/zlib/distinfo | 2 ++ archivers/zlib/pkg-descr | 10 ++++++++++ 4 files changed, 49 insertions(+) create mode 100644 archivers/zlib/Makefile create mode 100644 archivers/zlib/distinfo create mode 100644 archivers/zlib/pkg-descr (limited to 'archivers') diff --git a/archivers/Makefile b/archivers/Makefile index 9cf10002a321..eed9fa27f130 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -205,6 +205,7 @@ SUBDIR += zip SUBDIR += zipmix SUBDIR += zipper + SUBDIR += zlib SUBDIR += zoo SUBDIR += zutils diff --git a/archivers/zlib/Makefile b/archivers/zlib/Makefile new file mode 100644 index 000000000000..79ccf487d1fd --- /dev/null +++ b/archivers/zlib/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: zlib +# Date created: 17 April 2012 +# Whom: Muhammad Moinur Rahman <5u623l20@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= zlib +PORTVERSION= 1.2.6 +CATEGORIES= archivers +MASTER_SITES= SF/libpng/${PORTNAME}/${PORTVERSION} \ + http://zlib.net/ + +MAINTAINER= 5u623l20@gmail.com +COMMENT= A Massively Spiffy Yet Delicately Unobtrusive Compression Library + +USE_BZIP2= yes + +MAN3= zlib.3 +NO_MANCOMPRESS= yes +PLIST_FILES= include/zconf.h \ + include/zlib.h \ + lib/libz.so \ + lib/libz.a \ + lib/libz.so.1 \ + lib/libz.so.1.2.6 \ + lib/pkgconfig/zlib.pc +PLIST_DIRS= lib/pkgconfig + +HAS_CONFIGURE= yes + +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e '/mandir/s/share\///' ${WRKSRC}/configure +.include diff --git a/archivers/zlib/distinfo b/archivers/zlib/distinfo new file mode 100644 index 000000000000..6fa452de3733 --- /dev/null +++ b/archivers/zlib/distinfo @@ -0,0 +1,2 @@ +SHA256 (zlib-1.2.6.tar.bz2) = fa3e3e4881fa5810b8903f2c7e0dcd5a0a673535f0438021c4bbb5db1b918c8e +SIZE (zlib-1.2.6.tar.bz2) = 501388 diff --git a/archivers/zlib/pkg-descr b/archivers/zlib/pkg-descr new file mode 100644 index 000000000000..b133ec01a074 --- /dev/null +++ b/archivers/zlib/pkg-descr @@ -0,0 +1,10 @@ +zlib is designed to be a free, general-purpose, legally unencumbered -- that is, +not covered by any patents -- lossless data-compression library for use on +virtually any computer hardware and operating system. The zlib data format is +itself portable across platforms. Unlike the LZW compression method used in Unix +compress(1) and in the GIF image format, the compression method currently used +in zlib essentially never expands the data. (LZW can double or triple the file +size in extreme cases.) zlib's memory footprint is also independent of the input +data and can be reduced, if necessary, at some cost in compression. + +WWW: http://zlib.net/ -- cgit