aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-05-26 02:26:12 +0800
committeraz <az@FreeBSD.org>2013-05-26 02:26:12 +0800
commitf8edf5ee28a58b94507cf5a74ed9ede80acace86 (patch)
tree88f8ed0f85267cdeb31f536a37b2db412d713101 /www
parentadbd75507d1a4cba8047aa3ec9f611f28988acba (diff)
downloadfreebsd-ports-gnome-f8edf5ee28a58b94507cf5a74ed9ede80acace86.tar.gz
freebsd-ports-gnome-f8edf5ee28a58b94507cf5a74ed9ede80acace86.tar.zst
freebsd-ports-gnome-f8edf5ee28a58b94507cf5a74ed9ede80acace86.zip
CGI::Struct transforms request parameters that look like perl data
structures (arrays/hashes) into actual perl data structures, for easier programmatic use. PR: ports/173371 Submitted by: Matthew D.Fuller <fullermd@over-yonder.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-CGI-Struct/Makefile20
-rw-r--r--www/p5-CGI-Struct/distinfo2
-rw-r--r--www/p5-CGI-Struct/pkg-descr5
-rw-r--r--www/p5-CGI-Struct/pkg-plist5
5 files changed, 33 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0cbb712a7085..a8f2ad813da3 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -709,6 +709,7 @@
SUBDIR += p5-CGI-Session
SUBDIR += p5-CGI-Session-ExpireSessions
SUBDIR += p5-CGI-Simple
+ SUBDIR += p5-CGI-Struct
SUBDIR += p5-CGI-SpeedyCGI
SUBDIR += p5-CGI-Thin
SUBDIR += p5-CGI-Untaint
diff --git a/www/p5-CGI-Struct/Makefile b/www/p5-CGI-Struct/Makefile
new file mode 100644
index 000000000000..bb04027beb62
--- /dev/null
+++ b/www/p5-CGI-Struct/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= CGI-Struct
+PORTVERSION= 1.21
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= fullermd@over-yonder.net
+COMMENT= Build data structures from CGI request parameters
+
+LICENSE= BSD
+
+TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep
+
+PERL_CONFIGURE= yes
+
+MAN3= CGI::Struct.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-CGI-Struct/distinfo b/www/p5-CGI-Struct/distinfo
new file mode 100644
index 000000000000..c92db01a149a
--- /dev/null
+++ b/www/p5-CGI-Struct/distinfo
@@ -0,0 +1,2 @@
+SHA256 (CGI-Struct-1.21.tar.gz) = d13d8da7fdcd6d906054e4760fc28a718aec91bd3cf067a58927fb7cb1c09d6c
+SIZE (CGI-Struct-1.21.tar.gz) = 13445
diff --git a/www/p5-CGI-Struct/pkg-descr b/www/p5-CGI-Struct/pkg-descr
new file mode 100644
index 000000000000..4931a0dc311b
--- /dev/null
+++ b/www/p5-CGI-Struct/pkg-descr
@@ -0,0 +1,5 @@
+CGI::Struct lets you transform CGI data keys that look like perl data
+structures into actual perl data structures.
+
+
+WWW: http://search.cpan.org/dist/CGI-Struct/
diff --git a/www/p5-CGI-Struct/pkg-plist b/www/p5-CGI-Struct/pkg-plist
new file mode 100644
index 000000000000..144f0d9ec822
--- /dev/null
+++ b/www/p5-CGI-Struct/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Struct/.packlist
+%%SITE_PERL%%/CGI/Struct.pm
+@dirrmtry %%SITE_PERL%%/CGI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Struct
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI