freebsd-ports/textproc/p5-XML-SimpleObject/Makefile

28 lines
627 B
Makefile
Raw Normal View History

# Created by: steve
# $FreeBSD$
PORTNAME= XML-SimpleObject
2003-06-25 05:13:12 +02:00
PORTVERSION= 0.53
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
2003-06-25 05:13:12 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:21:36 +01:00
COMMENT= API for accessing the structure of an XML document
2012-06-04 18:53:46 +02:00
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
2013-11-07 04:52:41 +01:00
RUN_DEPENDS:= ${BUILD_DEPENDS}
2004-04-10 19:26:55 +02:00
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>