aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pigz
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-02-08 18:36:49 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-02-08 18:36:49 +0800
commitc67e080060e2917d8c6475760bb22db8f017ef9b (patch)
tree9cf10b28106a025b30cbd9072b1b92ed4f4cb24b /archivers/pigz
parent01ab8cc356c130490f407925e38cf6159765e899 (diff)
downloadfreebsd-ports-gnome-c67e080060e2917d8c6475760bb22db8f017ef9b.tar.gz
freebsd-ports-gnome-c67e080060e2917d8c6475760bb22db8f017ef9b.tar.zst
freebsd-ports-gnome-c67e080060e2917d8c6475760bb22db8f017ef9b.zip
- Update to 2.1.4
PR: ports/131475 Submitted by: Gea-Suan Lin <gslin AT gslin.org> (maintainer)
Diffstat (limited to 'archivers/pigz')
-rw-r--r--archivers/pigz/Makefile16
-rw-r--r--archivers/pigz/distinfo6
-rw-r--r--archivers/pigz/files/patch-Makefile8
-rw-r--r--archivers/pigz/pkg-plist4
4 files changed, 20 insertions, 14 deletions
diff --git a/archivers/pigz/Makefile b/archivers/pigz/Makefile
index 29d410d69c09..8d052bbca0d3 100644
--- a/archivers/pigz/Makefile
+++ b/archivers/pigz/Makefile
@@ -6,22 +6,16 @@
#
PORTNAME= pigz
-PORTVERSION= 1.7
+PORTVERSION= 2.1.4
CATEGORIES= archivers
-MASTER_SITES= http://zlib.net/
-DISTFILES= pigz17.c.gz
+MASTER_SITES= http://zlib.net/pigz/
MAINTAINER= gslin@gslin.org
COMMENT= Parallel GZIP
-EXTRACT_AFTER_ARGS= > ${WRKSRC}/pigz17.c
-NO_WRKSUBDIR= yes
-PLIST_FILES= bin/pigz
-
-do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/pigz ${WRKSRC}/pigz17.c -lz ${PTHREAD_LIBS}
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pigz ${PREFIX}/bin
+.for FILE in pigz pigzn pigzt
+ ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin/
+.endfor
.include <bsd.port.mk>
diff --git a/archivers/pigz/distinfo b/archivers/pigz/distinfo
index 9d99bfbf8222..943becd68be0 100644
--- a/archivers/pigz/distinfo
+++ b/archivers/pigz/distinfo
@@ -1,3 +1,3 @@
-MD5 (pigz17.c.gz) = 13175bd8f936a05736af2400204a9628
-SHA256 (pigz17.c.gz) = 48c092379ad23d7d3f250c96a5993b06de2a564903d10e2bd509d878963e6d2f
-SIZE (pigz17.c.gz) = 23977
+MD5 (pigz-2.1.4.tar.gz) = 742d0a34659ca0b374ff8bc19c5031ab
+SHA256 (pigz-2.1.4.tar.gz) = 2593933f34a8a8634c4dcbbb3ef199e6d38e4b044c3d1ba40ae1d337c49c30e2
+SIZE (pigz-2.1.4.tar.gz) = 35951
diff --git a/archivers/pigz/files/patch-Makefile b/archivers/pigz/files/patch-Makefile
new file mode 100644
index 000000000000..7eeb644b13c7
--- /dev/null
+++ b/archivers/pigz/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- Makefile.orig 2008-10-29 14:27:57.000000000 +0800
++++ Makefile 2009-02-08 04:35:10.000000000 +0800
+@@ -1,4 +1,4 @@
+-CFLAGS=-O2
++all: dev
+
+ pigz: pigz.o yarn.o
+ cc -o pigz pigz.o yarn.o -lpthread -lz
diff --git a/archivers/pigz/pkg-plist b/archivers/pigz/pkg-plist
new file mode 100644
index 000000000000..9732fd72df86
--- /dev/null
+++ b/archivers/pigz/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+bin/pigz
+bin/pigzn
+bin/pigzt