eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
116 lines
4.3 KiB
Makefile
116 lines
4.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
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 TOOLS 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
|
|
TOOLS_DESC= Tools
|
|
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:${PORTSDIR}/www/p5-FCGI \
|
|
p5-FCGI-Client>=0.04:${PORTSDIR}/www/p5-FCGI-Client \
|
|
p5-FCGI-ProcManager>=0.19:${PORTSDIR}/www/p5-FCGI-ProcManager \
|
|
p5-Net-FastCGI>=0.11:${PORTSDIR}/www/p5-Net-FastCGI
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSTACKTRACE}
|
|
DEP+= p5-Devel-StackTrace-WithLexicals>=0.05:${PORTSDIR}/devel/p5-Devel-StackTrace-WithLexicals
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MHANDLEIO}
|
|
DEP+= p5-IO-Handle-Util>=0.01:${PORTSDIR}/devel/p5-IO-Handle-Util
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MCORE}
|
|
DEP+= p5-PSGI>=1.03:${PORTSDIR}/www/p5-PSGI \
|
|
p5-Plack>=0.9934:${PORTSDIR}/www/p5-Plack \
|
|
p5-CGI-PSGI>=0.11:${PORTSDIR}/www/p5-CGI-PSGI \
|
|
p5-CGI-Emulate-PSGI>=0.08:${PORTSDIR}/www/p5-CGI-Emulate-PSGI \
|
|
p5-CGI-Compile>=0.11:${PORTSDIR}/www/p5-CGI-Compile
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSERVER}
|
|
DEP+= p5-HTTP-Server-Simple-PSGI>=0.14:${PORTSDIR}/www/p5-HTTP-Server-Simple-PSGI \
|
|
p5-Starman>=0.2004:${PORTSDIR}/www/p5-Starman \
|
|
p5-Twiggy>=0.1005:${PORTSDIR}/www/p5-Twiggy \
|
|
p5-Starlet>=0.08:${PORTSDIR}/www/p5-Starlet \
|
|
p5-Corona>=0.1004:${PORTSDIR}/www/p5-Corona
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXTRASRV}
|
|
DEP+= p5-POE-Component-Server-PSGI>=0.5:${PORTSDIR}/www/p5-POE-Component-Server-PSGI \
|
|
p5-Plack-Handler-AnyEvent-ReverseHTTP>=0.04:${PORTSDIR}/www/p5-Plack-Handler-AnyEvent-ReverseHTTP \
|
|
p5-Plack-Handler-SCGI>=0.02:${PORTSDIR}/www/p5-Plack-Handler-SCGI \
|
|
p5-Plack-Handler-AnyEvent-SCGI>=0.02:${PORTSDIR}/www/p5-Plack-Handler-AnyEvent-SCGI \
|
|
p5-Plack-Handler-AnyEvent-HTTPD>=0.01:${PORTSDIR}/www/p5-Plack-Handler-AnyEvent-HTTPD \
|
|
p5-Perlbal-Plugin-PSGI>=0.03:${PORTSDIR}/www/p5-Perlbal-Plugin-PSGI
|
|
# p5-Plack-Handler-Mongrel2>0:${PORTSDIR}/www/p5-Plack-Handler-Mongrel2
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMIDDLE}
|
|
DEP+= p5-Plack-Middleware-Deflater>=0.03:${PORTSDIR}/www/p5-Plack-Middleware-Deflater \
|
|
p5-Plack-Middleware-Session>=0.11:${PORTSDIR}/www/p5-Plack-Middleware-Session \
|
|
p5-Plack-Middleware-Debug>=0.09:${PORTSDIR}/www/p5-Plack-Middleware-Debug \
|
|
p5-Plack-Middleware-Header>=0.03:${PORTSDIR}/www/p5-Plack-Middleware-Header \
|
|
p5-Plack-Middleware-Auth-Digest>=0.03:${PORTSDIR}/www/p5-Plack-Middleware-Auth-Digest \
|
|
p5-Plack-App-Proxy>=0.15:${PORTSDIR}/www/p5-Plack-App-Proxy \
|
|
p5-Plack-Middleware-ReverseProxy>=0.06:${PORTSDIR}/www/p5-Plack-Middleware-ReverseProxy \
|
|
p5-Plack-Middleware-ConsoleLogger>=0.01:${PORTSDIR}/www/p5-Plack-Middleware-ConsoleLogger
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXTRAMID}
|
|
DEP+= p5-Plack-Middleware-JSConcat>=0.29:${PORTSDIR}/www/p5-Plack-Middleware-JSConcat \
|
|
p5-Plack-Middleware-Throttle>=0.01:${PORTSDIR}/www/p5-Plack-Middleware-Throttle \
|
|
p5-Plack-Middleware-Status>=1.101150:${PORTSDIR}/www/p5-Plack-Middleware-Status \
|
|
p5-Plack-Middleware-AutoRefresh>=0.08:${PORTSDIR}/www/p5-Plack-Middleware-AutoRefresh \
|
|
p5-Plack-Middleware-File-Sass>=0.01:${PORTSDIR}/www/p5-Plack-Middleware-File-Sass
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MTOOLS}
|
|
DEP+= p5-Test-WWW-Mechanize-PSGI>=0.35:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-PSGI \
|
|
p5-Flea>=0.02:${PORTSDIR}/www/p5-Flea
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MCATALYST}
|
|
DEP+= p5-Catalyst-Engine-PSGI>=0.09:${PORTSDIR}/www/p5-Catalyst-Engine-PSGI
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSQUATTING}
|
|
DEP+= p5-Squatting-On-PSGI>=0.04:${PORTSDIR}/www/p5-Squatting-On-PSGI
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MCGIAPP}
|
|
DEP+= p5-CGI-Application-PSGI>=1.00:${PORTSDIR}/www/p5-CGI-Application-PSGI
|
|
.endif
|
|
|
|
BUILD_DEPENDS= ${DEP}
|
|
RUN_DEPENDS= ${DEP}
|
|
|
|
.include <bsd.port.mk>
|