diff options
author | adamw <adamw@FreeBSD.org> | 2015-02-23 22:36:35 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-02-23 22:36:35 +0800 |
commit | 6738bd1c509a9d519ce686cd27e4c7c477625cf8 (patch) | |
tree | 6ff69aa0bf2d09d6970306cccc9ee478bfd2e2c7 /www | |
parent | 7275c0e19e8b90415801f63f497de8d22d98aae0 (diff) | |
download | freebsd-ports-gnome-6738bd1c509a9d519ce686cd27e4c7c477625cf8.tar.gz freebsd-ports-gnome-6738bd1c509a9d519ce686cd27e4c7c477625cf8.tar.zst freebsd-ports-gnome-6738bd1c509a9d519ce686cd27e4c7c477625cf8.zip |
Add www/p5-CGI.
The Perl CGI module has been deprecated from the core Perl distribution, and
will be removed in the upcoming Perl 5.22. We already have a www/p5-CGI.pm
port, but at an older version. There were incompatible changes introduced in
p5-CGI-4.00 (in particular, components began to be spun off into separate
packages).
Going forward it will be important for us to have the current p5-CGI
module in the ports tree, but the older version should probably remain, at
least for now, to maximize compatibility.
This commit registers conflicts between p5-CGI and p5-CGI.pm. We should
probably consider renaming p5-CGI.pm to p5-CGI-3 to make the difference
clearer.
I'm putting myself as maintainer in case this port causes problems. If
everything is good in a week I'll transfer it over to perl@.
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-CGI.pm/Makefile | 2 | ||||
-rw-r--r-- | www/p5-CGI/Makefile | 30 | ||||
-rw-r--r-- | www/p5-CGI/distinfo | 2 | ||||
-rw-r--r-- | www/p5-CGI/pkg-descr | 15 | ||||
-rw-r--r-- | www/p5-CGI/pkg-plist | 14 |
6 files changed, 64 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 6d3826e211fe..04cacf43cfa5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -605,6 +605,7 @@ SUBDIR += p5-Blog-Spam SUBDIR += p5-Browser-Open SUBDIR += p5-Business-PayPal + SUBDIR += p5-CGI SUBDIR += p5-CGI-Ajax SUBDIR += p5-CGI-Application SUBDIR += p5-CGI-Application-Dispatch diff --git a/www/p5-CGI.pm/Makefile b/www/p5-CGI.pm/Makefile index e8f6677f4685..7fa29843b3a6 100644 --- a/www/p5-CGI.pm/Makefile +++ b/www/p5-CGI.pm/Makefile @@ -15,6 +15,8 @@ COMMENT= Simple Common Gateway Interface Class for Perl LICENSE= ART20 GPLv1 LICENSE_COMB= dual +CONFLICTS= p5-CGI-[4-9]* + USES= perl5 USE_PERL5= configure diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile new file mode 100644 index 000000000000..79309bedcf15 --- /dev/null +++ b/www/p5-CGI/Makefile @@ -0,0 +1,30 @@ +# Created by: Adam Weinberger <adamw@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= CGI +PORTVERSION= 4.13 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:LEEJO +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Handle Common Gateway Interface requests and responses + +LICENSE= ART20 GPLv1 +LICENSE_COMB= dual + +CONFLICTS= p5-CGI.pm-[1-3]* + +USES= perl5 +USE_PERL5= configure + +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +post-install: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +.include <bsd.port.mk> diff --git a/www/p5-CGI/distinfo b/www/p5-CGI/distinfo new file mode 100644 index 000000000000..835a7e28a9ec --- /dev/null +++ b/www/p5-CGI/distinfo @@ -0,0 +1,2 @@ +SHA256 (CGI-4.13.tar.gz) = 76596c8b51e75c4d9434ae8add5a4a151d5b28d1e055a257d6f5c40360966be6 +SIZE (CGI-4.13.tar.gz) = 186050 diff --git a/www/p5-CGI/pkg-descr b/www/p5-CGI/pkg-descr new file mode 100644 index 000000000000..5996239e2aa4 --- /dev/null +++ b/www/p5-CGI/pkg-descr @@ -0,0 +1,15 @@ +This is the continuance of the classic perl CGI module, bundled with Perl until +Perl 5.22. Development is continuing on p5-CGI and components of it are +actively splitting to other modules. + +The older, everything-in-one-package module is still available in www/p5-CGI.pm. + +See also: https://metacpan.org/pod/CGI::Alternatives + +CGI.pm is a stable, complete and mature solution for processing and preparing +HTTP requests and responses. Major features including processing form +submissions, file uploads, reading and writing cookies, query string generation +and manipulation, and processing and preparing HTTP headers. Some HTML +generation utilities are included as well. + +WWW: https://metacpan.org/pod/CGI diff --git a/www/p5-CGI/pkg-plist b/www/p5-CGI/pkg-plist new file mode 100644 index 000000000000..38ca76639303 --- /dev/null +++ b/www/p5-CGI/pkg-plist @@ -0,0 +1,14 @@ +%%SITE_PERL%%/CGI.pm +%%SITE_PERL%%/CGI/Carp.pm +%%SITE_PERL%%/CGI/Cookie.pm +%%SITE_PERL%%/CGI/File/Temp.pm +%%SITE_PERL%%/CGI/Pretty.pm +%%SITE_PERL%%/CGI/Push.pm +%%SITE_PERL%%/CGI/Util.pm +%%SITE_PERL%%/Fh.pm +%%PERL5_MAN3%%/CGI.3.gz +%%PERL5_MAN3%%/CGI::Carp.3.gz +%%PERL5_MAN3%%/CGI::Cookie.3.gz +%%PERL5_MAN3%%/CGI::Pretty.3.gz +%%PERL5_MAN3%%/CGI::Push.3.gz +%%PERL5_MAN3%%/CGI::Util.3.gz |