2001-11-16 02:41:19 +01:00
|
|
|
# New ports collection makefile for: p5-XML-SimpleObject
|
|
|
|
# Date created: 14 November 2001
|
|
|
|
# Whom: steve
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML-SimpleObject
|
2003-06-25 05:13:12 +02:00
|
|
|
PORTVERSION= 0.53
|
2003-09-02 14:50:22 +02:00
|
|
|
PORTREVISION= 1
|
2001-11-16 02:41:19 +01:00
|
|
|
CATEGORIES= textproc perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2001-11-16 02:41:19 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
2003-06-25 05:13:12 +02:00
|
|
|
|
2001-11-16 02:41:19 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= API for accessing the structure of an XML document
|
2001-11-16 02:41:19 +01:00
|
|
|
|
2003-09-02 14:50:22 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
|
2004-04-10 19:26:55 +02:00
|
|
|
WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
|
2001-11-16 02:41:19 +01:00
|
|
|
|
|
|
|
PERL_CONFIGURE= YES
|
2003-09-02 14:50:22 +02:00
|
|
|
CONFIGURE_ARGS+= DIR='Enhanced'
|
2001-11-16 02:41:19 +01:00
|
|
|
|
|
|
|
MAN3= XML::SimpleObject.3
|
2003-09-05 09:25:04 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
|
|
|
${WRKSRC}/SimpleObject.pm ${WRKSRC}/LibXML/LibXML.pm
|
2001-11-16 02:41:19 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|