2000-10-20 23:11:48 +00:00
|
|
|
# New ports collection makefile for: p5-XML-Simple
|
|
|
|
# Date created: October 10th 2000
|
|
|
|
# Whom: Andrew <andrew@ugh.net.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML-Simple
|
2004-07-01 19:59:02 +00:00
|
|
|
PORTVERSION= 2.12
|
2000-10-20 23:11:48 +00:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= XML
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= andrew@ugh.net.au
|
2003-02-21 13:42:50 +00:00
|
|
|
COMMENT= Trivial API for reading and writing XML (esp config files)
|
2000-10-20 23:11:48 +00:00
|
|
|
|
2003-10-24 12:05:09 +00:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
2002-05-22 06:13:22 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2000-10-20 23:11:48 +00:00
|
|
|
|
2001-03-01 06:39:18 +00:00
|
|
|
PERL_CONFIGURE= YES
|
2000-10-20 23:11:48 +00:00
|
|
|
|
2003-06-30 07:07:53 +00:00
|
|
|
MAN3= XML::Simple.3 XML::Simple::FAQ.3
|
2000-10-20 23:11:48 +00:00
|
|
|
|
2004-07-01 19:59:02 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} <= 500503
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/5.005_03-lib::XML::Simple.pm
|
|
|
|
|
2004-08-27 11:25:29 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
|
|
|
2004-07-01 19:59:02 +00:00
|
|
|
post-configure:
|
|
|
|
${PERL} -pi -e 's/(\(POD2MAN_EXE\))/$$1 --lax/' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|