aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DTDParser
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2007-08-31 13:37:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2007-08-31 13:37:23 +0000
commitd1850a3d8ce1023f97814bd5db8642bfc8e695e0 (patch)
treebba44484f7b230fd6b557cc34a841c889282242a /textproc/p5-XML-DTDParser
parentff334859ab3a3bf4271f7fce3a419dc3c28772be (diff)
downloadports-d1850a3d8ce1023f97814bd5db8642bfc8e695e0.tar.gz
ports-d1850a3d8ce1023f97814bd5db8642bfc8e695e0.zip
Use the CPAN site macro.
Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims.
Notes
Notes: svn path=/head/; revision=198588
Diffstat (limited to 'textproc/p5-XML-DTDParser')
-rw-r--r--textproc/p5-XML-DTDParser/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/textproc/p5-XML-DTDParser/Makefile b/textproc/p5-XML-DTDParser/Makefile
index 47d88eeccb8a..4cae7b395181 100644
--- a/textproc/p5-XML-DTDParser/Makefile
+++ b/textproc/p5-XML-DTDParser/Makefile
@@ -7,8 +7,7 @@
PORTNAME= XML-DTDParser
PORTVERSION= 2.01
CATEGORIES= textproc perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= XML
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
@@ -27,12 +26,4 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.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>
+.include <bsd.port.mk>