aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DTDParser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-DTDParser/Makefile')
-rw-r--r--textproc/p5-XML-DTDParser/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/p5-XML-DTDParser/Makefile b/textproc/p5-XML-DTDParser/Makefile
new file mode 100644
index 000000000000..dce5ff6ca3ef
--- /dev/null
+++ b/textproc/p5-XML-DTDParser/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: textproc/p5-XML-DTDParser
+# Date created: Oct 13th 2003
+# Whom: clsung@dragon2.net
+#
+# $FreeBSD$
+
+PORTNAME= XML-DTDParser
+PORTVERSION= 1.7
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Perl module for parsing XML DTD strings
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::DTDParser.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -pi -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/DTDParser.pm
+.endif
+
+.include <bsd.port.post.mk>