aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Stream/Makefile
blob: dbf3ab4c21b804251b864f4c59082514703b2a01 (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
# New ports collection makefile for:    p5-XML-Stream
# Date created:             28 Augest 2000
# Whom:                     Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   XML-Stream
PORTVERSION=    1.15
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX=  p5-

MAINTAINER= erwin@FreeBSD.org
COMMENT=    XML::Stream provides you with access to XML Stream

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
        ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       XML::Stream.3 XML::Stream::Hash.3 XML::Stream::Namespace.3 \
        XML::Stream::Parser.3 XML::Stream::Parser::DTD.3 \
        XML::Stream::Tree.3 XML::Stream::Node.3

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/${PERL_ARCH}/IO/Select.pm)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Select.pm:${PORTSDIR}/devel/p5-IO
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/IO/Select.pm:${PORTSDIR}/devel/p5-IO
.endif

.include <bsd.port.post.mk>