aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Graph-ReadWrite/Makefile
blob: 163055a57c9577b14ab111395964994a30b41a5c (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
41
42
43
44
45
46
# New ports collection makefile for:    p5-Graph-ReadWrite
# Date created:             2004-08-12
# Whom:                 arved
#
# $FreeBSD$
#

PORTNAME=   Graph-ReadWrite
PORTVERSION=    2.03
CATEGORIES= graphics perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Reading and Writing a variety of graph file formats

BUILD_DEPENDS=  p5-Graph>=0.50:${PORTSDIR}/math/p5-Graph \
        p5-Parse-Yapp>=0:${PORTSDIR}/devel/p5-Parse-Yapp \
        p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
        p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Graph::Reader.3 \
        Graph::Reader::Dot.3 \
        Graph::Reader::HTK.3 \
        Graph::Reader::XML.3 \
        Graph::Writer.3 \
        Graph::Writer::Dot.3 \
        Graph::Writer::HTK.3 \
        Graph::Writer::VCG.3 \
        Graph::Writer::XML.3 \
        Graph::Writer::daVinci.3

post-patch:
    @${REINPLACE_CMD} -e 's|Graph-ReadWrite|Graph::ReadWrite|' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
RUN_DEPENDS+=   p5-parent>=0:${PORTSDIR}/devel/p5-parent
.endif

.include <bsd.port.post.mk>