blob: eb95f3ba25e4dc134718db90df6470af4a580d5b (
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
|
# Created by: steve
# $FreeBSD$
PORTNAME= XML-SimpleObject
PORTVERSION= 0.53
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= API for accessing the structure of an XML document
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
USES= perl5
USE_PERL5= configure patch
CONFIGURE_ARGS+= DIR='Enhanced'
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
${WRKSRC}/SimpleObject.pm ${WRKSRC}/LibXML/LibXML.pm
.include <bsd.port.mk>
|