From d1850a3d8ce1023f97814bd5db8642bfc8e695e0 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 31 Aug 2007 13:37:23 +0000 Subject: Use the CPAN site macro. Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims. --- textproc/p5-XML-DTDParser/Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'textproc/p5-XML-DTDParser/Makefile') 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 - -.if ${PERL_LEVEL} < 500601 -post-patch: - @${PERL} -pi -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \ - ${WRKSRC}/DTDParser.pm -.endif - -.include +.include -- cgit v1.2.3