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 +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 + +.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 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 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 ); +