Update x11-drivers/xf86-input-wacom to version 0.34.0_1
[dports.git] / textproc / p5-XML-SimpleObject / Makefile
1 # Created by: steve
2 # $FreeBSD$
3
4 PORTNAME=       XML-SimpleObject
5 PORTVERSION=    0.53
6 PORTREVISION=   2
7 CATEGORIES=     textproc perl5
8 MASTER_SITES=   CPAN
9 PKGNAMEPREFIX=  p5-
10
11 MAINTAINER=     perl@FreeBSD.org
12 COMMENT=        API for accessing the structure of an XML document
13
14 BUILD_DEPENDS=  p5-XML-Parser>=0:textproc/p5-XML-Parser
15 RUN_DEPENDS:=   ${BUILD_DEPENDS}
16
17 WRKSRC?=        ${WRKDIR}/${PORTNAME}${PORTVERSION}
18
19 USES=           perl5
20 USE_PERL5=      configure patch
21 CONFIGURE_ARGS+=        DIR='Enhanced'
22
23 post-patch:
24         ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
25                 ${WRKSRC}/SimpleObject.pm ${WRKSRC}/LibXML/LibXML.pm
26
27 .include <bsd.port.mk>