freebsd-ports/textproc/p5-XML-SAX-Machines/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

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: XML::SAX::Machines
# Date created: 28 Jan 2002
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= XML-SAX-Machines
PORTVERSION= 0.41
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Manage collections of SAX processors
BUILD_DEPENDS= ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX \
${SITE_PERL}/XML/SAX/Writer.pm:${PORTSDIR}/textproc/p5-XML-SAX-Writer
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= XML::Filter::Distributor.3 XML::Filter::DocSplitter.3 \
XML::Filter::Merger.3 XML::Filter::Tee.3 XML::SAX::ByRecord.3 \
XML::SAX::EventMethodMaker.3 XML::SAX::Machine.3 \
XML::SAX::Machines.3 XML::SAX::Machines::ConfigHelper.3 \
XML::SAX::Manifold.3 XML::SAX::Pipeline.3 XML::SAX::Tap.3
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
EXTRA_PATCHES= ${PATCHDIR}/500503-Makefile.PL
.endif
.include <bsd.port.post.mk>