freebsd-ports/archivers/pigz/Makefile

30 lines
700 B
Makefile
Raw Normal View History

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= pigz
2015-01-26 04:48:23 +01:00
PORTVERSION= 2.3.3
CATEGORIES= archivers
MASTER_SITES= http://www.zlib.net/pigz/ \
http://freebsd.unixfreunde.de/sources/
2014-06-30 17:54:02 +02:00
MAINTAINER= delphij@FreeBSD.org
COMMENT= Parallel GZIP
USES= cpe gmake
CPE_VENDOR= zlib
2015-01-26 04:48:23 +01:00
MAKE_FLAGS+= ZOPFLI=zopfli/src/zopfli/
PLIST_FILES= bin/pigz bin/pigzn bin/pigzt bin/unpigz
PLIST_FILES+= man/man1/pigz.1.gz
post-patch:
${REINPLACE_CMD} -e 's/ -lz/ -lm -lz/g' ${WRKSRC}/Makefile
do-install:
.for FILE in pigz pigzn pigzt unpigz
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/pigz.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>