update to 2.004

from Giovanni Bechis <bigionews at snb.it>, with some tweaks
This commit is contained in:
steven 2007-05-12 12:26:36 +00:00
parent e3dd2e3d78
commit 5df95d0619
9 changed files with 22 additions and 88 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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

View File

@ -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 ;

View File

@ -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 ;

View File

@ -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 ;

View File

@ -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 ;

View File

@ -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 ;

View File

@ -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