aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-GD-Graph/Makefile
blob: 74cedd8a974157784d9916daeb5365030a9eb7a6 (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
# New ports collection makefile for:    p5-GD-Graph
# Date created:             21 February 2000
# Whom:                     Dmitry Sivachenko <dima@Chg.RU>
#
# $FreeBSD$
#

PORTNAME=   GD-Graph
PORTVERSION=    1.43.08
CATEGORIES= graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test/BWARFIELD
PKGNAMEPREFIX=  p5-
DISTNAME=   GDGraph-${PORTVERSION:C/\.(..)$/\1/}

MAINTAINER= mat@FreeBSD.org
COMMENT=    Graph plotting module for perl5

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
        ${SITE_PERL}/GD/Text/Align.pm:${PORTSDIR}/graphics/p5-GD-TextUtil
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= YES

MAN3=       GD::Graph.3 \
        GD::Graph::Data.3 \
        GD::Graph::Error.3 \
        GD::Graph::FAQ.3 \
        GD::Graph::colour.3 \
        GD::Graph::hbars.3

post-patch:
    @${FIND} ${WRKSRC} -name "*.orig" -print0 | ${XARGS} -0 ${RM} -f

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
IGNORE=     requires perl 5.8.x or later. Install lang/perl5.8 then try again
.endif

.include <bsd.port.post.mk>