ports/79176: [PATCH] textproc/p5-CSS-Tiny: update to 1.08

Lars Thegler lth at FreeBSD.org
Wed Mar 23 23:50:03 UTC 2005


>Number:         79176
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-CSS-Tiny: update to 1.08
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 23 23:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.11-STABLE FreeBSD 4.11-STABLE #6: Thu Dec 30 14:06:09 CET 2004
>Description:
- Update to 1.08

Added file(s):
- files/500503-lib::CSS::Tiny.pm

Port maintainer (hansjoerg.pehofer at uibk.ac.at) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-CSS-Tiny-1.08.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-CSS-Tiny/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	22 Dec 2004 12:37:27 -0000	1.4
+++ Makefile	23 Mar 2005 23:44:08 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	CSS-Tiny
-PORTVERSION=	1.05
-PORTREVISION=	1
+PORTVERSION=	1.08
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	CSS
@@ -19,4 +18,20 @@
 PERL_CONFIGURE=	yes
 MAN3=		CSS::Tiny.3
 
-.include <bsd.port.mk>
+post-patch:
+	@${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
+	@${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST
+	@${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500503
+EXTRA_PATCHES=	${PATCHDIR}/500503-lib::CSS::Tiny.pm
+.endif
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-CSS-Tiny/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo	16 Oct 2004 08:51:17 -0000	1.3
+++ distinfo	23 Mar 2005 23:44:08 -0000
@@ -1,2 +1,4 @@
-MD5 (CSS-Tiny-1.05.tar.gz) = f2a7d622e58c4cc0c6cad0d47b95d813
-SIZE (CSS-Tiny-1.05.tar.gz) = 14332
+MD5 (CSS-Tiny-1.08.tar.gz) = 0c045bfa699583267cf1321353d3b656
+SIZE (CSS-Tiny-1.08.tar.gz) = 21610
+MD5 (ExtUtils-AutoInstall-0.59.tar.gz) = 1dbcfe20069d125f5d2a0a351c2e9a57
+SIZE (ExtUtils-AutoInstall-0.59.tar.gz) = 25859
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-CSS-Tiny/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	15 Nov 2003 09:31:16 -0000	1.1
+++ pkg-descr	23 Mar 2005 23:44:08 -0000
@@ -5,6 +5,6 @@
 anything we write shouldn't need to have documentation/comments. If you
 need something with more power, move up to CSS.pm.
 
-WWW: http://search.cpan.org/search?dist=CSS-Tiny
+WWW: http://search.cpan.org/dist/CSS-Tiny
 
 Hansjoerg Pehofer <hansjoerg.pehofer at uibk.ac.at>
Index: files/500503-lib::CSS::Tiny.pm
===================================================================
RCS file: files/500503-lib::CSS::Tiny.pm
diff -N files/500503-lib::CSS::Tiny.pm
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/500503-lib::CSS::Tiny.pm	23 Mar 2005 23:44:08 -0000
@@ -0,0 +1,11 @@
+--- lib/CSS/Tiny.pm.orig	Thu Mar 24 00:29:48 2005
++++ lib/CSS/Tiny.pm	Thu Mar 24 00:29:59 2005
+@@ -209,7 +209,7 @@
+ 	my $file = shift or return $self->_error( 'No file name provided' );
+ 
+ 	# Write the file
+-	open( CSS, '>', $file ) or return $self->_error( "Failed to open file '$file' for writing: $!" );
++	open( CSS, '>'. $file ) or return $self->_error( "Failed to open file '$file' for writing: $!" );
+ 	print CSS $self->write_string;
+ 	close( CSS );
+ 
--- p5-CSS-Tiny-1.08.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list