blob: 54830f4aa9ae8a8fd8e2c93a1966b2fe35dd3369 (
plain)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
PORTNAME= Task-Plack
PORTVERSION= 0.25
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl module bundle for Plack
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= FASTCGI STACKTRACE HANDLEIO CORE SERVER EXTRASRV MIDDLE \
EXTRAMID CATALYST SQUATTING CGIAPP
OPTIONS_DEFAULT= CORE
FASTCGI_DESC= FastCGI daemon and dispatcher
STACKTRACE_DESC= Stacktrace with lexical variables
HANDLEIO_DESC= Utility to create IO::Handle-ish objects
CORE_DESC= Core and Essential Tools
SERVER_DESC= Recommended PSGI Servers and Plack handlers
EXTRASRV_DESC= Extra PSGI servers and Plack handlers
MIDDLE_DESC= Recommended middleware components
EXTRAMID_DESC= Extra Middleware Components
CATALYST_DESC= Catalyst Engine
SQUATTING_DESC= Squatting::On
CGIAPP_DESC= CGI::Application::PSGI
#OPTIONS:=${OPTIONS:C/off/on/g}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFASTCGI}
DEP+= p5-FCGI>=0.71:www/p5-FCGI \
p5-FCGI-Client>=0.04:www/p5-FCGI-Client \
p5-FCGI-ProcManager>=0.19:www/p5-FCGI-ProcManager \
p5-Net-FastCGI>=0.11:www/p5-Net-FastCGI
.endif
.if ${PORT_OPTIONS:MSTACKTRACE}
DEP+= p5-Devel-StackTrace-WithLexicals>=0.05:devel/p5-Devel-StackTrace-WithLexicals
.endif
.if ${PORT_OPTIONS:MHANDLEIO}
DEP+= p5-IO-Handle-Util>=0.01:devel/p5-IO-Handle-Util
.endif
.if ${PORT_OPTIONS:MCORE}
DEP+= p5-PSGI>=1.03:www/p5-PSGI \
p5-Plack>=0.9934:www/p5-Plack \
p5-CGI-PSGI>=0.11:www/p5-CGI-PSGI \
p5-CGI-Emulate-PSGI>=0.08:www/p5-CGI-Emulate-PSGI \
p5-CGI-Compile>=0.11:www/p5-CGI-Compile
.endif
.if ${PORT_OPTIONS:MSERVER}
DEP+= p5-HTTP-Server-Simple-PSGI>=0.14:www/p5-HTTP-Server-Simple-PSGI \
p5-Starman>=0.2004:www/p5-Starman \
p5-Twiggy>=0.1005:www/p5-Twiggy \
p5-Starlet>=0.08:www/p5-Starlet \
p5-Corona>=0.1004:www/p5-Corona
.endif
.if ${PORT_OPTIONS:MEXTRASRV}
DEP+= p5-POE-Component-Server-PSGI>=0.5:www/p5-POE-Component-Server-PSGI \
p5-Plack-Handler-AnyEvent-ReverseHTTP>=0.04:www/p5-Plack-Handler-AnyEvent-ReverseHTTP \
p5-Plack-Handler-SCGI>=0.02:www/p5-Plack-Handler-SCGI \
p5-Plack-Handler-AnyEvent-SCGI>=0.02:www/p5-Plack-Handler-AnyEvent-SCGI \
p5-Plack-Handler-AnyEvent-HTTPD>=0.01:www/p5-Plack-Handler-AnyEvent-HTTPD \
p5-Perlbal-Plugin-PSGI>=0.03:www/p5-Perlbal-Plugin-PSGI
# p5-Plack-Handler-Mongrel2>0:www/p5-Plack-Handler-Mongrel2
.endif
.if ${PORT_OPTIONS:MMIDDLE}
DEP+= p5-Plack-Middleware-Deflater>=0.03:www/p5-Plack-Middleware-Deflater \
p5-Plack-Middleware-Session>=0.11:www/p5-Plack-Middleware-Session \
p5-Plack-Middleware-Debug>=0.09:www/p5-Plack-Middleware-Debug \
p5-Plack-Middleware-Header>=0.03:www/p5-Plack-Middleware-Header \
p5-Plack-Middleware-Auth-Digest>=0.03:www/p5-Plack-Middleware-Auth-Digest \
p5-Plack-App-Proxy>=0.15:www/p5-Plack-App-Proxy \
p5-Plack-Middleware-ReverseProxy>=0.06:www/p5-Plack-Middleware-ReverseProxy \
p5-Plack-Middleware-ConsoleLogger>=0.01:www/p5-Plack-Middleware-ConsoleLogger
.endif
.if ${PORT_OPTIONS:MEXTRAMID}
DEP+= p5-Plack-Middleware-JSConcat>=0.29:www/p5-Plack-Middleware-JSConcat \
p5-Plack-Middleware-Throttle>=0.01:www/p5-Plack-Middleware-Throttle \
p5-Plack-Middleware-Status>=1.101150:www/p5-Plack-Middleware-Status \
p5-Plack-Middleware-AutoRefresh>=0.08:www/p5-Plack-Middleware-AutoRefresh \
p5-Plack-Middleware-File-Sass>=0.01:www/p5-Plack-Middleware-File-Sass
.endif
.if ${PORT_OPTIONS:MCATALYST}
DEP+= p5-Catalyst-Engine-PSGI>=0.09:www/p5-Catalyst-Engine-PSGI
.endif
.if ${PORT_OPTIONS:MSQUATTING}
DEP+= p5-Squatting-On-PSGI>=0.04:www/p5-Squatting-On-PSGI
.endif
.if ${PORT_OPTIONS:MCGIAPP}
DEP+= p5-CGI-Application-PSGI>=1.00:www/p5-CGI-Application-PSGI
.endif
BUILD_DEPENDS= ${DEP}
RUN_DEPENDS= ${DEP}
.include <bsd.port.mk>
|