aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-SimpleLinkExtor/Makefile
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2007-01-04 14:18:50 +0000
committerAnton Berezin <tobez@FreeBSD.org>2007-01-04 14:18:50 +0000
commite5f205dc43e73687e91fdcf3fba0e021788269ae (patch)
treeba748c778fa1a16a8b42e8211cab70f7d1694ad6 /www/p5-HTML-SimpleLinkExtor/Makefile
parent20a3ee6f8da81780dc8581996f951a06e937fbaa (diff)
Notes
Diffstat (limited to 'www/p5-HTML-SimpleLinkExtor/Makefile')
-rw-r--r--www/p5-HTML-SimpleLinkExtor/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/www/p5-HTML-SimpleLinkExtor/Makefile b/www/p5-HTML-SimpleLinkExtor/Makefile
index 298d641a6e1e..c9485ea41cb2 100644
--- a/www/p5-HTML-SimpleLinkExtor/Makefile
+++ b/www/p5-HTML-SimpleLinkExtor/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= HTML-SimpleLinkExtor
-PORTVERSION= 1.13
+PORTVERSION= 1.14
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
@@ -21,6 +21,18 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
+MAN1= linktractor.1
MAN3= HTML::SimpleLinkExtor.3
-.include <bsd.port.mk>
+post-patch:
+ ${PERL} -i -pe \
+ 's|INST_MAN3DIR\)/linktractor|INST_MAN1DIR)/linktractor|' \
+ ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>