aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-App-SD/Makefile
blob: ba9795dc9a4565cf2d8270cb874da77996702416 (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
74
75
76
77
78
79
80
81
82
83
# $FreeBSD$

PORTNAME=	App-SD
PORTVERSION=	0.75
PORTREVISION=	1
CATEGORIES=	devel www perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:SPANG
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	App::SD is a peer-to-peer replicated distributed issue tracker

LICENSE=	MIT

BUILD_DEPENDS=	p5-DateTime>=:${PORTSDIR}/devel/p5-DateTime \
		p5-DateTime-Format-Natural>=0:${PORTSDIR}/devel/p5-DateTime-Format-Natural \
		p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
		p5-Prophet>=0:${PORTSDIR}/databases/p5-Prophet \
		p5-Test-Script-Run>=0.02:${PORTSDIR}/devel/p5-Test-Script-Run

OPTIONS_DEFINE=	GITHUB GOOGLECODE HIVEMINDER TRAC RT
OPTIONS_DEFAULT=	GITHUB GOOGLECODE HIVEMINDER TRAC RT
GITHUB_DESC=		Enable github sync
GOOGLECODE_DESC=	Add support for google code
HIVEMINDER_DESC=	Enable huveminder sync
TRAC_DESC=		Enable trac sync
RT_DESC=		Enable rt sync

USES=		perl5
USE_PERL5=	configure

MAN3=	App::SD::ForeignReplica::PullEncoder.3 \
	App::SD::Server.3 \
	App::SD::Replica::debbugs.3 \
	App::SD::Replica::rt.3 \
	App::SD::Replica::lighthouse::PullEncoder.3 \
	App::SD::Replica::hm.3 \
	App::SD::Model::Ticket.3 \
	App::SD::Replica::gcode::PullEncoder.3 \
	App::SD::Replica::rt::PullEncoder.3 \
	App::SD::Test.3 \
	App::SD::Replica::trac.3 \
	App::SD::Replica::github.3 \
	App::SD::Replica::github::PullEncoder.3 \
	App::SD::Replica::debbugs::PushEncoder.3 \
	App::SD::Replica::trac::PullEncoder.3 \
	App::SD::CLI::Command.3 \
	App::SD::CLI::Model::Ticket.3 \
	App::SD::Replica::debbugs::PullEncoder.3 \
	App::SD::ForeignReplica.3 \
	App::SD::Util.3 \
	App::SD.3

MAN1=	sd.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGITHUB}
BUILD_DEPENDS+=	p5-Net-GitHub>=0.18:${PORTSDIR}/net/p5-Net-GitHub
.endif

.if ${PORT_OPTIONS:MGOOGLECODE}
BUILD_DEPENDS+=	p5-Net-Google-Code>=0.14:${PORTSDIR}/net/p5-Net-Google-Code
.endif

.if ${PORT_OPTIONS:MHIVEMINDER}
BUILD_DEPENDS+=	p5-Net-Jifty>=0.09:${PORTSDIR}/net/p5-Net-Jifty \
		p5-Email-Address>=0:${PORTSDIR}/mail/p5-Email-Address \
		p5-Email-MIME>=0:${PORTSDIR}/mail/p5-Email-MIME
.endif

.if ${PORT_OPTIONS:MTRAC}
BUILD_DEPENDS+=	p5-Net-Trac>=0.13:${PORTSDIR}/www/p5-Net-Trac
.endif

.if ${PORT_OPTIONS:MRT}
BUILD_DEPENDS+=	p5-RT-Client-REST>=0:${PORTSDIR}/www/p5-RT-Client-REST
.endif

RUN_DEPENDS:=	${BUILD_DEPENDS}

.include <bsd.port.mk>