1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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>
This commit is contained in:
Martin Wilke 2012-05-16 05:14:28 +00:00
parent 551d88a25e
commit aef4251023
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296722
4 changed files with 49 additions and 0 deletions

View File

@ -205,6 +205,7 @@
SUBDIR += zip
SUBDIR += zipmix
SUBDIR += zipper
SUBDIR += zlib
SUBDIR += zoo
SUBDIR += zutils

36
archivers/zlib/Makefile Normal file
View File

@ -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 <bsd.port.mk>

2
archivers/zlib/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (zlib-1.2.6.tar.bz2) = fa3e3e4881fa5810b8903f2c7e0dcd5a0a673535f0438021c4bbb5db1b918c8e
SIZE (zlib-1.2.6.tar.bz2) = 501388

10
archivers/zlib/pkg-descr Normal file
View File

@ -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/