1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Converts a CGI query into structured data using a dotted name convention

similar to TT2.

expand_cgi works with CGI.pm, Apache::Request or anything with an appropriate
"param" method. Or you can use expand_hash directly.

If you prefer to use a different flattening convention then CGI::Expand can
be subclassed.

WWW: http://search.cpan.org/dist/CGI-Expand

PR:		ports/107780
Submitted by:	Fernan Aguero <fernan at iib.unsam.edu.ar>
This commit is contained in:
Martin Wilke 2007-01-10 23:00:42 +00:00
parent ee199424cf
commit 9297c97c51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182032
5 changed files with 52 additions and 0 deletions

View File

@ -519,6 +519,7 @@
SUBDIR += p5-CGI-Cache
SUBDIR += p5-CGI-Cookie-Splitter
SUBDIR += p5-CGI-Ex
SUBDIR += p5-CGI-Expand
SUBDIR += p5-CGI-FastTemplate
SUBDIR += p5-CGI-FormBuilder
SUBDIR += p5-CGI-Framework

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: www/p5-CGI-Expand
# Date created: 28 Dec 2006
# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#
PORTNAME= CGI-Expand
PORTVERSION= 2.02
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= Convert flat hash to nested data using TT2's dot convention
BUILD_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= CGI::Expand.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500801
IGNORE= requires Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (CGI-Expand-2.02.tar.gz) = 9eb20cf962df24056687b2152bdc5b70
SHA256 (CGI-Expand-2.02.tar.gz) = 799d81cae2a8813a2d53cb1155ba0ce267149d3b70f55e44cbdb6a22add84ede
SIZE (CGI-Expand-2.02.tar.gz) = 8634

View File

@ -0,0 +1,10 @@
Converts a CGI query into structured data using a dotted name convention
similar to TT2.
expand_cgi works with CGI.pm, Apache::Request or anything with an appropriate
"param" method. Or you can use expand_hash directly.
If you prefer to use a different flattening convention then CGI::Expand can
be subclassed.
WWW: http://search.cpan.org/dist/CGI-Expand

View File

@ -0,0 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Expand/.packlist
%%SITE_PERL%%/CGI/Expand.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Expand
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/CGI
@dirrmtry %%SITE_PERL%%/CGI