diff options
-rw-r--r-- | archivers/pigz/Makefile | 7 | ||||
-rw-r--r-- | archivers/pigz/PLIST | 3 | ||||
-rw-r--r-- | archivers/pigz/distinfo | 10 | ||||
-rw-r--r-- | archivers/pigz/patches/patch-Makefile | 15 |
4 files changed, 19 insertions, 16 deletions
diff --git a/archivers/pigz/Makefile b/archivers/pigz/Makefile index 58236662dbb..f409a9a6e17 100644 --- a/archivers/pigz/Makefile +++ b/archivers/pigz/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2010/01/25 00:09:45 zafer Exp $ +# $NetBSD: Makefile,v 1.4 2012/08/05 00:47:45 wen Exp $ # -DISTNAME= pigz-2.1.6 +DISTNAME= pigz-2.2.5 CATEGORIES= archivers MASTER_SITES= http://zlib.net/pigz/ @@ -11,13 +11,14 @@ COMMENT= Parallel implementation of gzip LICENSE= modified-bsd PKG_DESTDIR_SUPPORT= user-destdir -INSTALLATION_DIRS= bin share/doc/pigz +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pigz BUILD_TARGET= pigz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pigz ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pigz + ${INSTALL_MAN} ${WRKSRC}/pigz.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 .include "../../devel/zlib/buildlink3.mk" diff --git a/archivers/pigz/PLIST b/archivers/pigz/PLIST index d9ce8a9abae..294c0aac99e 100644 --- a/archivers/pigz/PLIST +++ b/archivers/pigz/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/13 19:44:58 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/08/05 00:47:45 wen Exp $ bin/pigz +man/man1/pigz.1 share/doc/pigz/README diff --git a/archivers/pigz/distinfo b/archivers/pigz/distinfo index a517f86c81e..356d5103498 100644 --- a/archivers/pigz/distinfo +++ b/archivers/pigz/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2011/11/29 06:06:23 sbd Exp $ +$NetBSD: distinfo,v 1.5 2012/08/05 00:47:45 wen Exp $ -SHA1 (pigz-2.1.6.tar.gz) = df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 -RMD160 (pigz-2.1.6.tar.gz) = 715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f -Size (pigz-2.1.6.tar.gz) = 52250 bytes -SHA1 (patch-Makefile) = 01cc47ba7ad377e7c92a85f368f0a952900c8fce +SHA1 (pigz-2.2.5.tar.gz) = 8c7895c7891a4945050a2f6308b9fe3d6b4c28fc +RMD160 (pigz-2.2.5.tar.gz) = 314ca57edd1d18d0b8b5317c588d45672e61fb3e +Size (pigz-2.2.5.tar.gz) = 49717 bytes +SHA1 (patch-Makefile) = d5eeef4b68c9787f0ec3772418194a121789e81c diff --git a/archivers/pigz/patches/patch-Makefile b/archivers/pigz/patches/patch-Makefile index e9c1fbe5773..ef314f14050 100644 --- a/archivers/pigz/patches/patch-Makefile +++ b/archivers/pigz/patches/patch-Makefile @@ -1,16 +1,17 @@ -$NetBSD: patch-Makefile,v 1.1 2011/11/29 06:06:23 sbd Exp $ +$NetBSD: patch-Makefile,v 1.2 2012/08/05 00:47:45 wen Exp $ Honor CFLAGS and LDFLAGS from pkgsrc. ---- Makefile.orig 2010-01-17 21:16:18.000000000 +0000 +--- Makefile.orig 2012-02-12 05:18:18.000000000 +0000 +++ Makefile -@@ -1,7 +1,7 @@ --CFLAGS=-O3 -+CFLAGS?=-O3 +@@ -1,8 +1,8 @@ + CC=cc +-CFLAGS=-O3 -Wall -Wextra ++CFLAGS?=-O3 -Wall -Wextra pigz: pigz.o yarn.o -- cc -o pigz pigz.o yarn.o -lpthread -lz -+ cc ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz +- $(CC) -o pigz pigz.o yarn.o -lpthread -lz ++ $(CC) ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz ln -f pigz unpigz pigz.o: pigz.c yarn.h |