blob: dce5ff6ca3ef65085d860ca68823ffdb885ac7a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>
|