aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-App-SD/Makefile
blob: 457860ed1160918288afb68de2ae5c4f4706bfbf (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
# $FreeBSD$

PORTNAME=	App-SD
PORTVERSION=	0.75
PORTREVISION=	2
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

.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>