aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-GraphViz2/Makefile
blob: aba8142db262bdedf4d8c1cfb7b4b344fb6b7239 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   GraphViz2
PORTVERSION=    2.37
CATEGORIES= graphics perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RSAVAGE
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Wrapper for AT&T Graphviz

LICENSE=    ART20
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  dot:graphics/graphviz \
        p5-Algorithm-Dependency>=1.110:devel/p5-Algorithm-Dependency \
        p5-Capture-Tiny>=0.10:devel/p5-Capture-Tiny \
        p5-Class-ISA>=0.36:devel/p5-Class-ISA \
        p5-Class-Load>=0.17:devel/p5-Class-Load \
        p5-Config-Tiny>=2.16:devel/p5-Config-Tiny \
        p5-DBI>=1.616:databases/p5-DBI \
        p5-DBIx-Admin-TableInfo>=3:databases/p5-DBIx-Admin-TableInfo \
        p5-Data-Section-Simple>=0.02:devel/p5-Data-Section-Simple \
        p5-Date-Simple>=3.03:devel/p5-Date-Simple \
        p5-File-HomeDir>=0.99:devel/p5-File-HomeDir \
        p5-File-Slurp>=9999.19:devel/p5-File-Slurp \
        p5-File-Which>=1.09:sysutils/p5-File-Which \
        p5-HTML-Entities-Interpolate>=1.04:textproc/p5-HTML-Entities-Interpolate \
        p5-HTML-Tree>=4.2:www/p5-HTML-Tree \
        p5-HTTP-Tiny>=0.012:www/p5-HTTP-Tiny \
        p5-IPC-Run3>=0.046:devel/p5-IPC-Run3 \
        p5-Lingua-EN-PluralToSingular>=0.14:textproc/p5-Lingua-EN-PluralToSingular \
        p5-Log-Handler>=0.71:devel/p5-Log-Handler \
        p5-Moo>=1.002000:devel/p5-Moo \
        p5-Parse-RecDescent>=1.965.001:devel/p5-Parse-RecDescent \
        p5-Set-Array>=0.23:devel/p5-Set-Array \
        p5-Text-Xslate>=1.2000:textproc/p5-Text-Xslate \
        p5-Tree-DAG_Node>=1.06:devel/p5-Tree-DAG_Node \
        p5-Try-Tiny>=0.09:lang/p5-Try-Tiny \
        p5-XML-Bare>=0:textproc/p5-XML-Bare \
        p5-XML-Tiny>=2.06:textproc/p5-XML-Tiny
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Pod>=1.48:devel/p5-Test-Pod \
        p5-Test-Version>=0:devel/p5-Test-Version

OPTIONS_DEFINE= EXAMPLES

NO_ARCH=    yes
USE_PERL5=  configure
USES=       perl5 shebangfix tar:tgz

PORTEXAMPLES=   *

SHEBANG_FILES=  scripts/generate.png.sh scripts/generate.svg.sh scripts/pod2html.sh

post-install-EXAMPLES-on:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501800
BUILD_DEPENDS+= p5-PathTools>=3.4000:devel/p5-PathTools
RUN_DEPENDS+=   p5-PathTools>=3.4000:devel/p5-PathTools
.endif

.if ${PERL_LEVEL} < 502200
TEST_DEPENDS+=  p5-Test-Simple>=1.001.014:devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>