Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2024 20:25:09 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 32bc88455ea3 - main - www/p5-Task-Plack: Convert to options dependency helper
Message-ID:  <202409152025.48FKP9as017182@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32bc88455ea3a9c16576d56bed2dd80d95946410

commit 32bc88455ea3a9c16576d56bed2dd80d95946410
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-15 19:52:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-15 20:11:50 +0000

    www/p5-Task-Plack: Convert to options dependency helper
    
    - Remove incorrect USE_PERL5=configure
    - Add NO_ARCH
---
 www/p5-Task-Plack/Makefile | 189 ++++++++++++++++++++++-----------------------
 1 file changed, 93 insertions(+), 96 deletions(-)

diff --git a/www/p5-Task-Plack/Makefile b/www/p5-Task-Plack/Makefile
index eb08545dae4d..ca8abc1dc550 100644
--- a/www/p5-Task-Plack/Makefile
+++ b/www/p5-Task-Plack/Makefile
@@ -9,102 +9,99 @@ COMMENT=	Perl module bundle for Plack
 WWW=		https://metacpan.org/release/Task-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}
-
 USE_PERL5=	modbuildtiny
 
+NO_ARCH=	yes
+
+OPTIONS_DEFINE=	CATALYST CGIAPP CORE EXTRAMID EXTRASRV FASTCGI HANDLEIO MIDDLE SERVER SQUATTING STACKTRACE
+OPTIONS_DEFAULT=CORE
+CATALYST_DESC=	Catalyst Engine
+CGIAPP_DESC=	CGI::Application::PSGI
+CORE_DESC=	Core and Essential Tools
+EXTRAMID_DESC=	Extra Middleware Components
+EXTRASRV_DESC=	Extra PSGI servers and Plack handlers
+FASTCGI_DESC=	FastCGI daemon and dispatcher
+HANDLEIO_DESC=	Utility to create IO::Handle-ish objects
+MIDDLE_DESC=	Recommended middleware components
+SERVER_DESC=	Recommended PSGI Servers and Plack handlers
+SQUATTING_DESC=	Squatting::On
+STACKTRACE_DESC=Stacktrace with lexical variables
+
+CATALYST_BUILD_DEPENDS=	p5-Catalyst-Engine-PSGI>=0.09:www/p5-Catalyst-Engine-PSGI
+CATALYST_RUN_DEPENDS=	p5-Catalyst-Engine-PSGI>=0.09:www/p5-Catalyst-Engine-PSGI
+CGIAPP_BUILD_DEPENDS=	p5-CGI-Application-PSGI>=1.00:www/p5-CGI-Application-PSGI
+CGIAPP_RUN_DEPENDS=	p5-CGI-Application-PSGI>=1.00:www/p5-CGI-Application-PSGI
+CORE_BUILD_DEPENDS=	p5-CGI-Compile>=0.11:www/p5-CGI-Compile \
+			p5-CGI-Emulate-PSGI>=0.08:www/p5-CGI-Emulate-PSGI \
+			p5-CGI-PSGI>=0.11:www/p5-CGI-PSGI \
+			p5-PSGI>=1.03:www/p5-PSGI \
+			p5-Plack>=0.9934:www/p5-Plack
+CORE_RUN_DEPENDS=	p5-CGI-Compile>=0.11:www/p5-CGI-Compile \
+			p5-CGI-Emulate-PSGI>=0.08:www/p5-CGI-Emulate-PSGI \
+			p5-CGI-PSGI>=0.11:www/p5-CGI-PSGI \
+			p5-PSGI>=1.03:www/p5-PSGI \
+			p5-Plack>=0.9934:www/p5-Plack
+EXTRAMID_BUILD_DEPENDS=	p5-Plack-Middleware-AutoRefresh>=0.08:www/p5-Plack-Middleware-AutoRefresh \
+			p5-Plack-Middleware-File-Sass>=0.01:www/p5-Plack-Middleware-File-Sass \
+			p5-Plack-Middleware-JSConcat>=0.29:www/p5-Plack-Middleware-JSConcat \
+			p5-Plack-Middleware-Status>=1.101150:www/p5-Plack-Middleware-Status \
+			p5-Plack-Middleware-Throttle>=0.01:www/p5-Plack-Middleware-Throttle
+EXTRAMID_RUN_DEPENDS=	p5-Plack-Middleware-AutoRefresh>=0.08:www/p5-Plack-Middleware-AutoRefresh \
+			p5-Plack-Middleware-File-Sass>=0.01:www/p5-Plack-Middleware-File-Sass \
+			p5-Plack-Middleware-JSConcat>=0.29:www/p5-Plack-Middleware-JSConcat \
+			p5-Plack-Middleware-Status>=1.101150:www/p5-Plack-Middleware-Status \
+			p5-Plack-Middleware-Throttle>=0.01:www/p5-Plack-Middleware-Throttle
+EXTRASRV_BUILD_DEPENDS=	p5-POE-Component-Server-PSGI>=0.5:www/p5-POE-Component-Server-PSGI \
+			p5-Perlbal-Plugin-PSGI>=0.03:www/p5-Perlbal-Plugin-PSGI \
+			p5-Plack-Handler-AnyEvent-HTTPD>=0.01:www/p5-Plack-Handler-AnyEvent-HTTPD \
+			p5-Plack-Handler-AnyEvent-ReverseHTTP>=0.04:www/p5-Plack-Handler-AnyEvent-ReverseHTTP \
+			p5-Plack-Handler-AnyEvent-SCGI>=0.02:www/p5-Plack-Handler-AnyEvent-SCGI \
+			p5-Plack-Handler-SCGI>=0.02:www/p5-Plack-Handler-SCGI
+EXTRASRV_RUN_DEPENDS=	p5-POE-Component-Server-PSGI>=0.5:www/p5-POE-Component-Server-PSGI \
+			p5-Perlbal-Plugin-PSGI>=0.03:www/p5-Perlbal-Plugin-PSGI \
+			p5-Plack-Handler-AnyEvent-HTTPD>=0.01:www/p5-Plack-Handler-AnyEvent-HTTPD \
+			p5-Plack-Handler-AnyEvent-ReverseHTTP>=0.04:www/p5-Plack-Handler-AnyEvent-ReverseHTTP \
+			p5-Plack-Handler-AnyEvent-SCGI>=0.02:www/p5-Plack-Handler-AnyEvent-SCGI \
+			p5-Plack-Handler-SCGI>=0.02:www/p5-Plack-Handler-SCGI
+FASTCGI_BUILD_DEPENDS=	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
+FASTCGI_RUN_DEPENDS=	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
+HANDLEIO_BUILD_DEPENDS=	p5-IO-Handle-Util>=0.01:devel/p5-IO-Handle-Util
+HANDLEIO_RUN_DEPENDS=	p5-IO-Handle-Util>=0.01:devel/p5-IO-Handle-Util
+MIDDLE_BUILD_DEPENDS=	p5-Plack-App-Proxy>=0.15:www/p5-Plack-App-Proxy \
+			p5-Plack-Middleware-Auth-Digest>=0.03:www/p5-Plack-Middleware-Auth-Digest \
+			p5-Plack-Middleware-ConsoleLogger>=0.01:www/p5-Plack-Middleware-ConsoleLogger \
+			p5-Plack-Middleware-Debug>=0.09:www/p5-Plack-Middleware-Debug \
+			p5-Plack-Middleware-Deflater>=0.03:www/p5-Plack-Middleware-Deflater \
+			p5-Plack-Middleware-Header>=0.03:www/p5-Plack-Middleware-Header \
+			p5-Plack-Middleware-ReverseProxy>=0.06:www/p5-Plack-Middleware-ReverseProxy \
+			p5-Plack-Middleware-Session>=0.11:www/p5-Plack-Middleware-Session
+MIDDLE_RUN_DEPENDS=	p5-Plack-App-Proxy>=0.15:www/p5-Plack-App-Proxy \
+			p5-Plack-Middleware-Auth-Digest>=0.03:www/p5-Plack-Middleware-Auth-Digest \
+			p5-Plack-Middleware-ConsoleLogger>=0.01:www/p5-Plack-Middleware-ConsoleLogger \
+			p5-Plack-Middleware-Debug>=0.09:www/p5-Plack-Middleware-Debug \
+			p5-Plack-Middleware-Deflater>=0.03:www/p5-Plack-Middleware-Deflater \
+			p5-Plack-Middleware-Header>=0.03:www/p5-Plack-Middleware-Header \
+			p5-Plack-Middleware-ReverseProxy>=0.06:www/p5-Plack-Middleware-ReverseProxy \
+			p5-Plack-Middleware-Session>=0.11:www/p5-Plack-Middleware-Session
+SERVER_BUILD_DEPENDS=	p5-Corona>=0.1004:www/p5-Corona \
+			p5-HTTP-Server-Simple-PSGI>=0.14:www/p5-HTTP-Server-Simple-PSGI \
+			p5-Starlet>=0.08:www/p5-Starlet \
+			p5-Starman>=0.2004:www/p5-Starman \
+			p5-Twiggy>=0.1005:www/p5-Twiggy
+SERVER_RUN_DEPENDS=	p5-Corona>=0.1004:www/p5-Corona \
+			p5-HTTP-Server-Simple-PSGI>=0.14:www/p5-HTTP-Server-Simple-PSGI \
+			p5-Starlet>=0.08:www/p5-Starlet \
+			p5-Starman>=0.2004:www/p5-Starman \
+			p5-Twiggy>=0.1005:www/p5-Twiggy
+SQUATTING_BUILD_DEPENDS=p5-Squatting-On-PSGI>=0.04:www/p5-Squatting-On-PSGI
+SQUATTING_RUN_DEPENDS=	p5-Squatting-On-PSGI>=0.04:www/p5-Squatting-On-PSGI
+STACKTRACE_BUILD_DEPENDS=	p5-Devel-StackTrace-WithLexicals>=0.05:devel/p5-Devel-StackTrace-WithLexicals
+STACKTRACE_RUN_DEPENDS=	p5-Devel-StackTrace-WithLexicals>=0.05:devel/p5-Devel-StackTrace-WithLexicals
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409152025.48FKP9as017182>