1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/textproc/p5-XML-SimpleObject/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

32 lines
728 B
Makefile

# New ports collection makefile for: p5-XML-SimpleObject
# Date created: 14 November 2001
# Whom: steve
#
# $FreeBSD$
#
PORTNAME= XML-SimpleObject
PORTVERSION= 0.53
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= API for accessing the structure of an XML document
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
PERL_CONFIGURE= YES
CONFIGURE_ARGS+= DIR='Enhanced'
MAN3= XML::SimpleObject.3
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>