From 5df95d061902aba16ed690d2057ab09f6086a718 Mon Sep 17 00:00:00 2001 From: steven Date: Sat, 12 May 2007 12:26:36 +0000 Subject: [PATCH] update to 2.004 from Giovanni Bechis , with some tweaks --- archivers/p5-Compress-Zlib/Makefile | 22 +++++++++---------- archivers/p5-Compress-Zlib/distinfo | 10 ++++----- .../p5-Compress-Zlib/patches/patch-config_in | 16 -------------- .../patches/patch-examples_filtdef | 9 -------- .../patches/patch-examples_filtinf | 9 -------- .../patches/patch-examples_gzcat | 9 -------- .../patches/patch-examples_gzgrep | 9 -------- .../patches/patch-examples_gzstream | 9 -------- archivers/p5-Compress-Zlib/pkg/PLIST | 17 ++++++-------- 9 files changed, 22 insertions(+), 88 deletions(-) delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-config_in delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-examples_filtdef delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-examples_filtinf delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-examples_gzcat delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep delete mode 100644 archivers/p5-Compress-Zlib/patches/patch-examples_gzstream diff --git a/archivers/p5-Compress-Zlib/Makefile b/archivers/p5-Compress-Zlib/Makefile index 1e3bab37c8e..8deda73bc79 100644 --- a/archivers/p5-Compress-Zlib/Makefile +++ b/archivers/p5-Compress-Zlib/Makefile @@ -1,29 +1,27 @@ -# $OpenBSD: Makefile,v 1.44 2006/11/17 15:08:16 espie Exp $ - -SHARED_ONLY= Yes +# $OpenBSD: Makefile,v 1.45 2007/05/12 12:26:36 steven Exp $ COMMENT= "perl interface to the zlib compression library" MODULES= cpan -DISTNAME= Compress-Zlib-1.42 +DISTNAME= Compress-Zlib-2.004 CATEGORIES= archivers # Perl -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes -WANTLIB= z +RUN_DEPENDS= ::archivers/p5-IO-Compress-Zlib EXAMPLE_FILES= filtdef filtinf gzcat gzgrep gzstream post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Compress-Zlib -.for i in ${EXAMPLE_FILES} - ${INSTALL_SCRIPT} ${WRKBUILD}/examples/$i \ + @cd ${WRKSRC}/examples && perl -pi -e \ + 's,/usr/local/bin/perl,/usr/bin/perl,g' ${EXAMPLE_FILES} + @cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLE_FILES} \ ${PREFIX}/share/examples/p5-Compress-Zlib -.endfor .include diff --git a/archivers/p5-Compress-Zlib/distinfo b/archivers/p5-Compress-Zlib/distinfo index 74ed06a2819..c758dc50525 100644 --- a/archivers/p5-Compress-Zlib/distinfo +++ b/archivers/p5-Compress-Zlib/distinfo @@ -1,5 +1,5 @@ -MD5 (Compress-Zlib-1.42.tar.gz) = Grdr/Wcx2A9qu9FkPJDKvQ== -RMD160 (Compress-Zlib-1.42.tar.gz) = wSEtaXQByOX3eOLVaxqraxnXwfY= -SHA1 (Compress-Zlib-1.42.tar.gz) = s+5RO6iDP561bqnw4z3mf6Djt4M= -SHA256 (Compress-Zlib-1.42.tar.gz) = d5TZFxHoyeUmQx2nLFO7COFHkPMm0OMw2enWUfP2/Gw= -SIZE (Compress-Zlib-1.42.tar.gz) = 152085 +MD5 (Compress-Zlib-2.004.tar.gz) = 6ng3KUo6Q0wSZsfphixDYA== +RMD160 (Compress-Zlib-2.004.tar.gz) = cKC/2c5S2eaUaZ80YmEP6ct2PHk= +SHA1 (Compress-Zlib-2.004.tar.gz) = v3tCMN9ZJYF311y/O09ilmkBee0= +SHA256 (Compress-Zlib-2.004.tar.gz) = AqqfY84cU9/8SMCfezDNMGwEExMz6Z5mPfHZ9HJ4o7E= +SIZE (Compress-Zlib-2.004.tar.gz) = 62484 diff --git a/archivers/p5-Compress-Zlib/patches/patch-config_in b/archivers/p5-Compress-Zlib/patches/patch-config_in deleted file mode 100644 index 31d9034e44b..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-config_in +++ /dev/null @@ -1,16 +0,0 @@ -$OpenBSD: patch-config_in,v 1.3 2005/09/23 03:47:14 kevlo Exp $ ---- config.in.orig Fri Aug 5 20:30:59 2005 -+++ config.in Fri Sep 23 11:38:16 2005 -@@ -11,9 +11,9 @@ - # See to the section "Controlling the version of zlib used by - # Compress::Zlib" in the README file for details of how to use this file. - --BUILD_ZLIB = True --INCLUDE = ./zlib-src --LIB = ./zlib-src -+BUILD_ZLIB = False -+INCLUDE = /usr/include -+LIB = /usr/lib - OLD_ZLIB = False - - diff --git a/archivers/p5-Compress-Zlib/patches/patch-examples_filtdef b/archivers/p5-Compress-Zlib/patches/patch-examples_filtdef deleted file mode 100644 index 1c8f6e84b7c..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-examples_filtdef +++ /dev/null @@ -1,9 +0,0 @@ -$OpenBSD: patch-examples_filtdef,v 1.2 2005/07/05 13:48:10 naddy Exp $ ---- examples/filtdef.orig Tue Jul 5 15:41:41 2005 -+++ examples/filtdef Tue Jul 5 15:42:02 2005 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - use strict ; - local ($^W) = 1; #use warnings ; diff --git a/archivers/p5-Compress-Zlib/patches/patch-examples_filtinf b/archivers/p5-Compress-Zlib/patches/patch-examples_filtinf deleted file mode 100644 index 175da5d2a9f..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-examples_filtinf +++ /dev/null @@ -1,9 +0,0 @@ -$OpenBSD: patch-examples_filtinf,v 1.2 2005/07/05 13:48:10 naddy Exp $ ---- examples/filtinf.orig Tue Jul 5 15:41:41 2005 -+++ examples/filtinf Tue Jul 5 15:42:08 2005 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - use strict ; - local ($^W) = 1; #use warnings ; diff --git a/archivers/p5-Compress-Zlib/patches/patch-examples_gzcat b/archivers/p5-Compress-Zlib/patches/patch-examples_gzcat deleted file mode 100644 index b9e787568e7..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-examples_gzcat +++ /dev/null @@ -1,9 +0,0 @@ -$OpenBSD: patch-examples_gzcat,v 1.2 2005/07/05 13:48:10 naddy Exp $ ---- examples/gzcat.orig Tue Jul 5 15:41:41 2005 -+++ examples/gzcat Tue Jul 5 15:42:12 2005 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - use strict ; - local ($^W) = 1; #use warnings ; diff --git a/archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep b/archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep deleted file mode 100644 index 4b7545a2c82..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep +++ /dev/null @@ -1,9 +0,0 @@ -$OpenBSD: patch-examples_gzgrep,v 1.2 2005/07/05 13:48:10 naddy Exp $ ---- examples/gzgrep.orig Tue Jul 5 15:41:41 2005 -+++ examples/gzgrep Tue Jul 5 15:42:15 2005 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - use strict ; - local ($^W) = 1; #use warnings ; diff --git a/archivers/p5-Compress-Zlib/patches/patch-examples_gzstream b/archivers/p5-Compress-Zlib/patches/patch-examples_gzstream deleted file mode 100644 index c9b25f8dcc2..00000000000 --- a/archivers/p5-Compress-Zlib/patches/patch-examples_gzstream +++ /dev/null @@ -1,9 +0,0 @@ -$OpenBSD: patch-examples_gzstream,v 1.2 2005/07/05 13:48:10 naddy Exp $ ---- examples/gzstream.orig Tue Jul 5 15:41:41 2005 -+++ examples/gzstream Tue Jul 5 15:42:21 2005 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - use strict ; - local ($^W) = 1; #use warnings ; diff --git a/archivers/p5-Compress-Zlib/pkg/PLIST b/archivers/p5-Compress-Zlib/pkg/PLIST index a665bc69070..bb793a24a84 100644 --- a/archivers/p5-Compress-Zlib/pkg/PLIST +++ b/archivers/p5-Compress-Zlib/pkg/PLIST @@ -1,13 +1,10 @@ -@comment $OpenBSD: PLIST,v 1.15 2004/09/14 23:12:43 espie Exp $ -${P5ARCH}/ -${P5ARCH}/Compress/ -${P5ARCH}/Compress/Zlib.pm -${P5ARCH}/auto/ -${P5ARCH}/auto/Compress/ -${P5ARCH}/auto/Compress/Zlib/ -${P5ARCH}/auto/Compress/Zlib/Zlib.bs -${P5ARCH}/auto/Compress/Zlib/Zlib.so -${P5ARCH}/auto/Compress/Zlib/autosplit.ix +@comment $OpenBSD: PLIST,v 1.16 2007/05/12 12:26:36 steven Exp $ +${P5SITE}/Compress/ +${P5SITE}/Compress/Zlib.pm +${P5SITE}/auto/ +${P5SITE}/auto/Compress/ +${P5SITE}/auto/Compress/Zlib/ +${P5SITE}/auto/Compress/Zlib/autosplit.ix @man man/man3p/Compress::Zlib.3p share/examples/p5-Compress-Zlib/ share/examples/p5-Compress-Zlib/filtdef