diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-09-26 12:23:46 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-09-26 12:23:46 +0000 |
commit | f0475bcdd96bf549f01284313e63c12b6a6f32f9 (patch) | |
tree | a53f8d5c68b63af00aef63ab7ec1ac1654fc8d2c /archivers | |
parent | 302a490316fa6a5c3852bf6ccb99dc3b6405ea20 (diff) | |
download | ports-f0475bcdd96bf549f01284313e63c12b6a6f32f9.tar.gz ports-f0475bcdd96bf549f01284313e63c12b6a6f32f9.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zutils/Makefile | 29 | ||||
-rw-r--r-- | archivers/zutils/distinfo | 4 | ||||
-rw-r--r-- | archivers/zutils/files/patch-zutils.h | 12 | ||||
-rw-r--r-- | archivers/zutils/pkg-plist | 14 |
4 files changed, 39 insertions, 20 deletions
diff --git a/archivers/zutils/Makefile b/archivers/zutils/Makefile index 05219c270abb..1abdf14f3c66 100644 --- a/archivers/zutils/Makefile +++ b/archivers/zutils/Makefile @@ -2,36 +2,29 @@ # $FreeBSD$ PORTNAME= zutils -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= archivers MASTER_SITES= SAVANNAH/zutils +EXTRACT_SUFX= .tar.lz -MAINTAINER= danilogondolfo@gmail.com +MAINTAINER= danilo@FreeBSD.org COMMENT= Utilities for searching in bzip2, gzip, lzip, and xz archives LICENSE= GPLv3 -PLIST_FILES= bin/zcat \ - bin/zcmp \ - bin/zdiff \ - bin/zegrep \ - bin/zfgrep \ - bin/zgrep \ - bin/ztest \ - bin/zutils - -MAN1= zcat.1 \ - zcmp.1 \ - zdiff.1 \ - zgrep.1 \ - ztest.1 +EXTRACT_DEPENDS= lzip:${PORTSDIR}/archivers/lzip + INFO= zutils -NO_STAGE= yes GNU_CONFIGURE= yes +do-extract: + @${MKDIR} ${WRKDIR} + @(cd ${WRKDIR} ; ${LOCALBASE}/bin/lzip -cd \ + ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${TAR} -xf -) + post-patch: # Remove compiler hardcoded flags and use environment - ${REINPLACE_CMD} '23,26d' ${WRKSRC}/configure + ${REINPLACE_CMD} '24,27d' ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/archivers/zutils/distinfo b/archivers/zutils/distinfo index e5680036812c..6b606861f842 100644 --- a/archivers/zutils/distinfo +++ b/archivers/zutils/distinfo @@ -1,2 +1,2 @@ -SHA256 (zutils-1.0.tar.gz) = 7eff74e89a135480472359a239b71ff0a75db529f813cb1193071de39ed60d04 -SIZE (zutils-1.0.tar.gz) = 69558 +SHA256 (zutils-1.1.tar.lz) = c431cff331ce20a5405125a5be163de4980f06ecdca3b4e4fbe1ed1f68724e3f +SIZE (zutils-1.1.tar.lz) = 43985 diff --git a/archivers/zutils/files/patch-zutils.h b/archivers/zutils/files/patch-zutils.h new file mode 100644 index 000000000000..543f7a01d33b --- /dev/null +++ b/archivers/zutils/files/patch-zutils.h @@ -0,0 +1,12 @@ +--- ./zutils.h.orig 2013-07-07 14:15:39.000000000 -0300 ++++ ./zutils.h 2013-09-25 17:32:23.000000000 -0300 +@@ -15,6 +15,9 @@ + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <sys/types.h> ++#include <signal.h> ++ + const char * const Program_name = "Zutils"; + const char * const program_name = "zutils"; + const char * const config_file_name = "zutilsrc"; diff --git a/archivers/zutils/pkg-plist b/archivers/zutils/pkg-plist new file mode 100644 index 000000000000..435bee7bc47b --- /dev/null +++ b/archivers/zutils/pkg-plist @@ -0,0 +1,14 @@ +bin/zcat +bin/zcmp +bin/zdiff +bin/zegrep +bin/zfgrep +bin/zgrep +bin/ztest +bin/zutils +etc/zutilsrc +man/man1/zcat.1.gz +man/man1/zcmp.1.gz +man/man1/zdiff.1.gz +man/man1/zgrep.1.gz +man/man1/ztest.1.gz |