aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-03-10 14:21:00 +0800
committervanilla <vanilla@FreeBSD.org>2015-03-10 14:21:00 +0800
commit6be0ef30c3c6c0f816868b20f89402c71467598c (patch)
tree50c274ad3cef198ed5bd034c22e1789465612422
parentb92a7132bfcf5774bce8035f54a5d5608193bd57 (diff)
downloadfreebsd-ports-gnome-6be0ef30c3c6c0f816868b20f89402c71467598c.tar.gz
freebsd-ports-gnome-6be0ef30c3c6c0f816868b20f89402c71467598c.tar.zst
freebsd-ports-gnome-6be0ef30c3c6c0f816868b20f89402c71467598c.zip
Add p5-URL-Encode 0.03, encoding and decoding of
application/x-www-form-urlencoded encoding. PR: 198308 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-URL-Encode/Makefile20
-rw-r--r--www/p5-URL-Encode/distinfo2
-rw-r--r--www/p5-URL-Encode/pkg-descr13
-rw-r--r--www/p5-URL-Encode/pkg-plist4
5 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 6001ca90fc10..f43f8d95f337 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1216,6 +1216,7 @@
SUBDIR += p5-URI-Sequin
SUBDIR += p5-URI-Title
SUBDIR += p5-URI-ToDisk
+ SUBDIR += p5-URL-Encode
SUBDIR += p5-URL-Encode-XS
SUBDIR += p5-VUser-Google-ProvisioningAPI
SUBDIR += p5-W3C-LinkChecker
diff --git a/www/p5-URL-Encode/Makefile b/www/p5-URL-Encode/Makefile
new file mode 100644
index 000000000000..be9482361a3e
--- /dev/null
+++ b/www/p5-URL-Encode/Makefile
@@ -0,0 +1,20 @@
+# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME= URL-Encode
+PORTVERSION= 0.03
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:CHANSEN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= dgeo@centrale-marseille.fr
+COMMENT= Encoding and decoding of application/x-www-form-urlencoded encoding
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/www/p5-URL-Encode/distinfo b/www/p5-URL-Encode/distinfo
new file mode 100644
index 000000000000..4c50bf542828
--- /dev/null
+++ b/www/p5-URL-Encode/distinfo
@@ -0,0 +1,2 @@
+SHA256 (URL-Encode-0.03.tar.gz) = 7295d7f07796b179131d9c0f230a6effa56d204de2f8dc72f2e09c61458c8ee6
+SIZE (URL-Encode-0.03.tar.gz) = 24012
diff --git a/www/p5-URL-Encode/pkg-descr b/www/p5-URL-Encode/pkg-descr
new file mode 100644
index 000000000000..4b06b97f5059
--- /dev/null
+++ b/www/p5-URL-Encode/pkg-descr
@@ -0,0 +1,13 @@
+encode and decode strings into and from application/x-www-form-urlencoded
+
+The application/x-www-form-urlencoded format encodes a ordered data sets of
+pairs consisting of a name and a value, with pairs seperated by ampersand or
+semicolon and names and values seperated by the equal sign. Space characters
+are replaced with plus sign and any characters not in the unreserved character
+set is encoded using the percent-encoding scheme also used for resource
+identifiers.
+A percent-encoded octet is encoded as a character triplet, consisting of the
+percent character "%" followed by the two hexadecimal digits representing that
+octet's numeric value.
+
+WWW: https://metacpan.org/pod/URL::Encode
diff --git a/www/p5-URL-Encode/pkg-plist b/www/p5-URL-Encode/pkg-plist
new file mode 100644
index 000000000000..318193ac077b
--- /dev/null
+++ b/www/p5-URL-Encode/pkg-plist
@@ -0,0 +1,4 @@
+%%PERL5_MAN3%%/URL::Encode.3.gz
+%%SITE_PERL%%/URL/Encode.pm
+%%SITE_PERL%%/URL/Encode.pod
+%%SITE_PERL%%/URL/Encode/PP.pm