aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-SAX-Machines/Makefile
blob: 6417f4a3e882c8944ec31a0c129834411151a763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   XML-SAX-Machines
PORTVERSION=    0.46
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:PERIGRIN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Manage collections of SAX processors

BUILD_DEPENDS=  p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
        p5-XML-SAX-Writer>=0:${PORTSDIR}/textproc/p5-XML-SAX-Writer
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5
USE_PERL5=  configure

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::ConfigDefaults.3 \
        XML::SAX::Machines::ConfigHelper.3 \
        XML::SAX::Manifold.3 XML::SAX::Pipeline.3 XML::SAX::Tap.3

regression-test: build
    ${MAKE} -C ${WRKSRC} test

NO_STAGE=   yes
post-install:
.ifndef(NOPORTEXAMPLES)
        @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
        @${MKDIR} ${EXAMPLESDIR}
        ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>