freebsd-ports/textproc/p5-XML-Simple/Makefile
Mathieu Arnold abb22056db Update to 2.13
Approved by:	maintainer
2004-12-03 17:51:04 +00:00

36 lines
902 B
Makefile

# New ports collection makefile for: p5-XML-Simple
# Date created: October 10th 2000
# Whom: Andrew <andrew@ugh.net.au>
#
# $FreeBSD$
#
PORTNAME= XML-Simple
PORTVERSION= 2.13
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= andrew@ugh.net.au
COMMENT= Trivial API for reading and writing XML (esp config files)
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= XML::Simple.3 XML::Simple::FAQ.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
EXTRA_PATCHES= ${PATCHDIR}/5.005_03-lib::XML::Simple.pm ${PATCHDIR}/5.005_03-Makefile.PL
post-patch:
@${FIND} ${WRKSRC} -name '*.orig' -delete
post-configure:
${PERL} -pi -e 's/(\(POD2MAN_EXE\))/$$1 --lax/' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>