summaryrefslogtreecommitdiff
path: root/pkgsrc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgsrc')
-rw-r--r--pkgsrc/local/p5-URL-Encode/DESCR21
-rw-r--r--pkgsrc/local/p5-URL-Encode/Makefile19
-rw-r--r--pkgsrc/local/p5-URL-Encode/distinfo5
3 files changed, 45 insertions, 0 deletions
diff --git a/pkgsrc/local/p5-URL-Encode/DESCR b/pkgsrc/local/p5-URL-Encode/DESCR
new file mode 100644
index 0000000..add4a2a
--- /dev/null
+++ b/pkgsrc/local/p5-URL-Encode/DESCR
@@ -0,0 +1,21 @@
+NAME
+ URL::Encode - Encoding and decoding of
+ "application/x-www-form-urlencoded" encoding.
+
+SYNOPSIS
+ $octets = url_decode($octets);
+ $string = url_decode_utf8($octets);
+
+ $octets = url_encode($octets);
+ $octets = url_encode_utf8($string);
+
+ $params = url_params_flat($octets [, $utf8 = false]);
+ $params = url_params_mixed($octets [, $utf8 = false]);
+ $params = url_params_multi($octets [, $utf8 = false]);
+ url_params_each($octets, $callback [, $utf8 = false]);
+
+DESCRIPTION
+ This module provides functions to encode and decode strings into and
+ from the "application/x-www-form-urlencoded" encoding.
+
+...
diff --git a/pkgsrc/local/p5-URL-Encode/Makefile b/pkgsrc/local/p5-URL-Encode/Makefile
new file mode 100644
index 0000000..f7043b2
--- /dev/null
+++ b/pkgsrc/local/p5-URL-Encode/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= URL-Encode-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5 # TODO: add primary category
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=URL/}
+
+MAINTAINER= omeckman@estd.link # or use pkgsrc-users@NetBSD.org
+HOMEPAGE= https://metacpan.org/pod/URL::Encode
+COMMENT= Encoding and decoding of application/x-www-form-urlencoded encoding.
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Carp>=0:../../devel/p5-Carp p5-Module-Install>=0:../../devel/p5-Module-Install
+
+PERL5_PACKLIST= auto/URL/Encode/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/pkgsrc/local/p5-URL-Encode/distinfo b/pkgsrc/local/p5-URL-Encode/distinfo
new file mode 100644
index 0000000..59745a5
--- /dev/null
+++ b/pkgsrc/local/p5-URL-Encode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (URL-Encode-0.03.tar.gz) = eb4368b7054ee103bd0cf815f3e4a830a2e6c2e55f49238a218290c1934b0550
+SHA512 (URL-Encode-0.03.tar.gz) = 1f47b9ca9470f0f51f4b3e806f32ef0044d10ab2723944ba93eb740278155fcb77471208b833f7d77ff829cc5879211f592a3ae6ba3ccd6a4ee38d866bb38197
+Size (URL-Encode-0.03.tar.gz) = 24012 bytes
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa