freebsd-ports/textproc/p5-XML-SAX/Makefile
Mathieu Arnold 3a7b17911b After devel/p5-File-Temp has gained an IGNORE for PERL_LEVEL > 500800, all
these ports were broken because they always depended on it. I've rearranged all
the dependencies to fit the new scheme.
2004-08-12 12:48:01 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: XML::SAX
# Date created: 19 Nov 2001
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= XML-SAX
PORTVERSION= 0.12
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Simple API for XML
RUN_DEPENDS= ${SITE_PERL}/XML/NamespaceSupport.pm:${PORTSDIR}/textproc/p5-XML-NamespaceSupport
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= </dev/null
MAN3= XML::SAX.3 XML::SAX::Base.3 XML::SAX::DocumentLocator.3 \
XML::SAX::Exception.3 XML::SAX::Intro.3 \
XML::SAX::ParserFactory.3 XML::SAX::PurePerl.3 \
XML::SAX::PurePerl::Reader.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-configure:
# dirty hack to deceive irritable pod2man
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' \
${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.endif
.include <bsd.port.post.mk>