aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DT/Makefile
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-10-21 09:56:32 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-10-21 09:56:32 +0000
commit8e6d235a06e6e66bcfb59e5fcb50c60b29fc2f5e (patch)
tree3b056b68a9c435ae549ac376ab6dd0bb99b1837f /textproc/p5-XML-DT/Makefile
parent26c17cb9e2be005de05a7d2943b52e0a4eb99f2d (diff)
downloadports-8e6d235a06e6e66bcfb59e5fcb50c60b29fc2f5e.tar.gz
ports-8e6d235a06e6e66bcfb59e5fcb50c60b29fc2f5e.zip
Update to 0.42.
Notes
Notes: svn path=/head/; revision=146008
Diffstat (limited to 'textproc/p5-XML-DT/Makefile')
-rw-r--r--textproc/p5-XML-DT/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/textproc/p5-XML-DT/Makefile b/textproc/p5-XML-DT/Makefile
index 8a432bb446f2..e4a03d04f685 100644
--- a/textproc/p5-XML-DT/Makefile
+++ b/textproc/p5-XML-DT/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= XML-DT
-PORTVERSION= 0.26
+PORTVERSION= 0.42
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
@@ -15,8 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Perl module for down translation of XML to strings
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
-BUILD_DEPENDS+= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
+ ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/XML/DTDParser.pm:${PORTSDIR}/textproc/p5-XML-DTDParser
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -24,4 +25,10 @@ PERL_CONFIGURE= yes
MAN1= mkdtskel.1 mkdtdskel.1
MAN3= XML::DT.3
-.include <bsd.port.mk>
+.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>