View | Details | Raw Unified | Return to bug 79176
Collapse All | Expand All

(-)Makefile (-3 / +18 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	CSS-Tiny
8
PORTNAME=	CSS-Tiny
9
PORTVERSION=	1.05
9
PORTVERSION=	1.08
10
PORTREVISION=	1
11
CATEGORIES=	textproc perl5
10
CATEGORIES=	textproc perl5
12
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
13
MASTER_SITE_SUBDIR=	CSS
12
MASTER_SITE_SUBDIR=	CSS
Lines 19-22 Link Here
19
PERL_CONFIGURE=	yes
18
PERL_CONFIGURE=	yes
20
MAN3=		CSS::Tiny.3
19
MAN3=		CSS::Tiny.3
21
20
22
.include <bsd.port.mk>
21
post-patch:
22
	@${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
23
	@${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST
24
	@${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL
25
26
.include <bsd.port.pre.mk>
27
28
.if ${PERL_LEVEL} <= 500503
29
EXTRA_PATCHES=	${PATCHDIR}/500503-lib::CSS::Tiny.pm
30
.endif
31
32
.if ${PERL_LEVEL} < 500601
33
BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
34
RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
35
.endif
36
37
.include <bsd.port.post.mk>
(-)distinfo (-2 / +4 lines)
Lines 1-2 Link Here
1
MD5 (CSS-Tiny-1.05.tar.gz) = f2a7d622e58c4cc0c6cad0d47b95d813
1
MD5 (CSS-Tiny-1.08.tar.gz) = 0c045bfa699583267cf1321353d3b656
2
SIZE (CSS-Tiny-1.05.tar.gz) = 14332
2
SIZE (CSS-Tiny-1.08.tar.gz) = 21610
3
MD5 (ExtUtils-AutoInstall-0.59.tar.gz) = 1dbcfe20069d125f5d2a0a351c2e9a57
4
SIZE (ExtUtils-AutoInstall-0.59.tar.gz) = 25859
(-)pkg-descr (-1 / +1 lines)
Lines 5-10 Link Here
5
anything we write shouldn't need to have documentation/comments. If you
5
anything we write shouldn't need to have documentation/comments. If you
6
need something with more power, move up to CSS.pm.
6
need something with more power, move up to CSS.pm.
7
7
8
WWW: http://search.cpan.org/search?dist=CSS-Tiny
8
WWW: http://search.cpan.org/dist/CSS-Tiny
9
9
10
Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
10
Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
(-)files/500503-lib::CSS::Tiny.pm (+11 lines)
Added Link Here
1
--- lib/CSS/Tiny.pm.orig	Thu Mar 24 00:29:48 2005
2
+++ lib/CSS/Tiny.pm	Thu Mar 24 00:29:59 2005
3
@@ -209,7 +209,7 @@
4
 	my $file = shift or return $self->_error( 'No file name provided' );
5
 
6
 	# Write the file
7
-	open( CSS, '>', $file ) or return $self->_error( "Failed to open file '$file' for writing: $!" );
8
+	open( CSS, '>'. $file ) or return $self->_error( "Failed to open file '$file' for writing: $!" );
9
 	print CSS $self->write_string;
10
 	close( CSS );
11
 

Return to bug 79176