summaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-09-12 13:23:16 +0000
committerleeym <leeym@FreeBSD.org>2006-09-12 13:23:16 +0000
commita4a650576a4475babc4d105b5b1e2534f8878d77 (patch)
tree5e70d08b9b84b3b758a82f1e1e21f14d7ac57a2e /archivers
parentea88b5997e7f8c6a4c683e3ca3f6b069cfa3f268 (diff)
downloadFreeBSD-ports-a4a650576a4475babc4d105b5b1e2534f8878d77.zip
FreeBSD-ports-a4a650576a4475babc4d105b5b1e2534f8878d77.tar.gz
- unbreak under old perl
- bump PORTREVISION - reset MAINTAINER PR: 103174 Submitted by: leeym Approved by: maintainer
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Compress-LZW/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/archivers/p5-Compress-LZW/Makefile b/archivers/p5-Compress-LZW/Makefile
index 3cb4574..ea4bb70 100644
--- a/archivers/p5-Compress-LZW/Makefile
+++ b/archivers/p5-Compress-LZW/Makefile
@@ -7,19 +7,29 @@
PORTNAME= Compress-LZW
PORTVERSION= 0.01
+PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Compress
PKGNAMEPREFIX= p5-
-MAINTAINER= gslin@gslin.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Pure perl implementation of LZW
PERL_CONFIGURE= yes
MAN3= Compress::LZW.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
post-patch:
${PERL} -pi -e 's/\@hattmoward/\\\@hattmoward/' ${WRKSRC}/Makefile.PL
+.if ${PERL_LEVEL} < 500600
+ ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/*
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud