aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Dancer2/Makefile
blob: 7d6d2cd39d37a8002778d6f632132712798cfbbb (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
# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$

PORTNAME=	Dancer2
PORTVERSION=	0.159003
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Lightweight yet powerful web application framework

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

RUN_DEPENDS=	p5-App-Cmd>=0:${PORTSDIR}/devel/p5-App-Cmd \
	p5-Capture-Tiny>=0.12:${PORTSDIR}/devel/p5-Capture-Tiny \
	p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \
	p5-Crypt-URandom>0:${PORTSDIR}/security/p5-Crypt-URandom \
	p5-Config-Any>=0:${PORTSDIR}/devel/p5-Config-Any \
	p5-File-ShareDir-Install>=0:${PORTSDIR}/devel/p5-File-ShareDir-Install \
	p5-Hash-Merge-Simple>=0:${PORTSDIR}/devel/p5-Hash-Merge-Simple \
	p5-HTTP-Body>=0:${PORTSDIR}/www/p5-HTTP-Body \
	p5-HTTP-Date>=0:${PORTSDIR}/www/p5-HTTP-Date \
	p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
	p5-Import-Into>=0:${PORTSDIR}/devel/p5-Import-Into \
	p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
	p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \
	p5-Moo>=0.09014:${PORTSDIR}/devel/p5-Moo \
	p5-MooX-Types-MooseLike-Numeric>=0:${PORTSDIR}/devel/p5-MooX-Types-MooseLike-Numeric \
	p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
	p5-Plack-Middleware-FixMissingBodyInRedirect>=0:${PORTSDIR}/www/p5-Plack-Middleware-FixMissingBodyInRedirect \
	p5-Plack-Middleware-RemoveRedundantBody>=0:${PORTSDIR}/www/p5-Plack-Middleware-RemoveRedundantBody \
	p5-Return-MultiLevel>=0:${PORTSDIR}/devel/p5-Return-MultiLevel \
	p5-Safe-Isa>=0:${PORTSDIR}/devel/p5-Safe-Isa \
	p5-Template-Tiny>=0:${PORTSDIR}/textproc/p5-Template-Tiny \
	p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
	p5-URI>=0:${PORTSDIR}/net/p5-URI \
	p5-YAML>=0.71:${PORTSDIR}/textproc/p5-YAML \
	p5-libwww>=0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS:=	${RUN_DEPENDS}
TEST_DEPENDS=	p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle \
	p5-Test-MockTime>=0:${PORTSDIR}/devel/p5-Test-MockTime \
	p5-Test-Fatal>0:${PORTSDIR}/devel/p5-Test-Fatal \
	p5-Test-TCP>0:${PORTSDIR}/devel/p5-Test-TCP \
	p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \
	p5-LWP-Protocol-PSGI>=0.06:${PORTSDIR}/www/p5-LWP-Protocol-PSGI

OPTIONS_DEFINE=		XS

XS_BUILD_DEPENDS=	p5-CGI-Deurl-XS>=0:${PORTSDIR}/www/p5-CGI-Deurl-XS \
			p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
			p5-URL-Encode-XS>=0:${PORTSDIR}/www/p5-URL-Encode-XS \
			p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
XS_RUN_DEPENDS=		${XS_BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

.include <bsd.port.mk>