diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-06-26 17:15:45 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-06-26 17:15:45 +0000 |
commit | 8e368ea9864417919d7d404994dc4bb342a0f4db (patch) | |
tree | 0a21350e398a46ed269404eda31f610dac936946 /archivers | |
parent | d2e45aa8ac47513573dd525ad82c5e0ccd234ad9 (diff) | |
download | ports-8e368ea9864417919d7d404994dc4bb342a0f4db.tar.gz ports-8e368ea9864417919d7d404994dc4bb342a0f4db.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pigz/Makefile | 13 | ||||
-rw-r--r-- | archivers/pigz/distinfo | 4 | ||||
-rw-r--r-- | archivers/pigz/files/patch-Makefile | 39 | ||||
-rw-r--r-- | archivers/pigz/pkg-descr | 2 |
4 files changed, 43 insertions, 15 deletions
diff --git a/archivers/pigz/Makefile b/archivers/pigz/Makefile index 2a19f3b12ba3..8219c2efd0ef 100644 --- a/archivers/pigz/Makefile +++ b/archivers/pigz/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: pigz -# Date created: 2008-06-06 -# Whom: Gea-Suan Lin <gslin@gslin.org> -# +# Created by: Gea-Suan Lin <gslin@gslin.org> # $FreeBSD$ -# PORTNAME= pigz -PORTVERSION= 2.2.5 +PORTVERSION= 2.3 CATEGORIES= archivers MASTER_SITES= http://www.zlib.net/pigz/ \ http://freebsd.unixfreunde.de/sources/ @@ -14,10 +10,15 @@ MASTER_SITES= http://www.zlib.net/pigz/ \ MAINTAINER= gslin@gslin.org COMMENT= Parallel GZIP +USE_GMAKE= yes + .if !defined(NO_INSTALL_MANPAGES) MAN1= pigz.1 .endif +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} ${PREFIX}/bin diff --git a/archivers/pigz/distinfo b/archivers/pigz/distinfo index 40cec54e5256..f88e7a7ad414 100644 --- a/archivers/pigz/distinfo +++ b/archivers/pigz/distinfo @@ -1,2 +1,2 @@ -SHA256 (pigz-2.2.5.tar.gz) = e37498cbf3a475d7ebe2519751188c29564bf8dd27ba68bd3c7fe1ac08792759 -SIZE (pigz-2.2.5.tar.gz) = 49717 +SHA256 (pigz-2.3.tar.gz) = 74bbd5962f9420549fc987ddd1ccda692ec2b29d2d612fbbe26edf3fa348ff21 +SIZE (pigz-2.3.tar.gz) = 83636 diff --git a/archivers/pigz/files/patch-Makefile b/archivers/pigz/files/patch-Makefile index 7eeb644b13c7..ede74b6ddb68 100644 --- a/archivers/pigz/files/patch-Makefile +++ b/archivers/pigz/files/patch-Makefile @@ -1,8 +1,35 @@ ---- 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 +--- ./Makefile.orig 2013-03-03 22:06:35.000000000 -0800 ++++ ./Makefile 2013-06-24 12:59:58.000000000 -0700 +@@ -1,5 +1,4 @@ +-CC=cc +-CFLAGS=-O3 -Wall -Wextra +all: dev - pigz: pigz.o yarn.o - cc -o pigz pigz.o yarn.o -lpthread -lz + + pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o +@@ -30,20 +29,20 @@ + + dev: pigz pigzt pigzn + +-pigzt: pigzt.o yarnt.o +- $(CC) -o pigzt pigzt.o yarnt.o -lpthread -lz ++pigzt: pigzt.o yarnt.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o ++ $(CC) -o pigzt $^ -lpthread -lz + + pigzt.o: pigz.c yarn.h +- $(CC) -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c ++ $(CC) $(CFLAGS) -DDEBUG -g -c -o pigzt.o pigz.c + + yarnt.o: yarn.c yarn.h +- $(CC) -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c ++ $(CC) $(CFLAGS) -DDEBUG -g -c -o yarnt.o yarn.c + + pigzn: pigzn.o + $(CC) -o pigzn pigzn.o -lz + + pigzn.o: pigz.c +- $(CC) -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c ++ $(CC) $(CFLAGS) -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c + + test: pigz + ./pigz -kf pigz.c ; ./pigz -t pigz.c.gz diff --git a/archivers/pigz/pkg-descr b/archivers/pigz/pkg-descr index 628f0ce4ddab..861f5480400e 100644 --- a/archivers/pigz/pkg-descr +++ b/archivers/pigz/pkg-descr @@ -3,4 +3,4 @@ capable Parallel Implementation of GZip, nicknamed PIGZ. Version 1.5 implements nearly all of gzip's functionality, including decompression of .gz and .Z (Unix compress) files. -WWW: http://www.zlib.net/pigz/ +WWW: http://www.zlib.net/pigz/ |