aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Compress-LZW
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-09-12 13:23:16 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-09-12 13:23:16 +0000
commita755774481dea7df75b7a44eb450613fb766f2cf (patch)
treea4022ecef0b07438aafc3424fbe36d168a0d4795 /archivers/p5-Compress-LZW
parent4ec80ac0d0d18d4497ed2a95fa417e5604f6704b (diff)
downloadports-a755774481dea7df75b7a44eb450613fb766f2cf.tar.gz
ports-a755774481dea7df75b7a44eb450613fb766f2cf.zip
Notes
Diffstat (limited to 'archivers/p5-Compress-LZW')
-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 3cb457424b8a..ea4bb70b3927 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>