freebsd-ports/textproc/p5-XML-SAX/Makefile
Sergey Skvortsov dd12e813f2 Updated to 0.10, solved broken .pod issue, added post-install script
to register XML::SAX::PurePerl.

Approved by:	markm
2002-04-08 16:09:23 +00:00

38 lines
1 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.10
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/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::ParserFactory.3 \
XML::SAX::PurePerl.3 XML::SAX::PurePerl::Reader.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-patch:
@${PERL} -pi -e 's/\x0d(?=\x0a)//;' ${WRKSRC}/SAX/Intro.pod
post-configure:
# dirty hack to deceive irritable pod2man
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' \
${WRKSRC}/Makefile
.include <bsd.port.mk>