2013-06-26 17:15:45 +00:00
|
|
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
2008-06-18 18:47:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pigz
|
2013-12-02 04:34:58 +00:00
|
|
|
PORTVERSION= 2.3.1
|
2008-06-18 18:47:28 +00:00
|
|
|
CATEGORIES= archivers
|
2012-08-01 08:52:37 +00:00
|
|
|
MASTER_SITES= http://www.zlib.net/pigz/ \
|
|
|
|
http://freebsd.unixfreunde.de/sources/
|
2008-06-18 18:47:28 +00:00
|
|
|
|
2014-06-30 05:51:02 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-06-18 18:47:28 +00:00
|
|
|
COMMENT= Parallel GZIP
|
|
|
|
|
2013-08-30 01:02:57 +00:00
|
|
|
USES= gmake
|
2013-06-26 17:15:45 +00:00
|
|
|
|
2013-12-02 04:34:58 +00:00
|
|
|
PLIST_FILES= bin/pigz bin/pigzn bin/pigzt bin/unpigz
|
2010-04-19 19:27:47 +00:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
2013-12-02 04:34:58 +00:00
|
|
|
PLIST_FILES+= man/man1/pigz.1.gz
|
2010-04-19 19:27:47 +00:00
|
|
|
.endif
|
|
|
|
|
2013-06-26 17:15:45 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/ -lz/ -lm -lz/g' ${WRKSRC}/Makefile
|
|
|
|
|
2008-06-18 18:47:28 +00:00
|
|
|
do-install:
|
2009-08-13 15:07:53 +00:00
|
|
|
.for FILE in pigz pigzn pigzt unpigz
|
2013-12-02 04:34:58 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${PREFIX}/bin
|
2009-02-08 10:36:49 +00:00
|
|
|
.endfor
|
2010-04-19 19:27:47 +00:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
2013-12-02 04:34:58 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/pigz.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
2010-04-19 19:27:47 +00:00
|
|
|
.endif
|
|
|
|
|
2008-06-18 18:47:28 +00:00
|
|
|
.include <bsd.port.mk>
|