aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-08-05 00:08:27 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-08-05 00:08:27 +0800
commit30eb46bbf83100dfb13ef8662fd5b842e8b06f66 (patch)
tree9c56196a63301f525310020a277cf22296403a6f /net
parent6b97fabe8ad2da555341675f57b379dafb6a0f8a (diff)
downloadfreebsd-ports-gnome-30eb46bbf83100dfb13ef8662fd5b842e8b06f66.tar.gz
freebsd-ports-gnome-30eb46bbf83100dfb13ef8662fd5b842e8b06f66.tar.zst
freebsd-ports-gnome-30eb46bbf83100dfb13ef8662fd5b842e8b06f66.zip
Add p5-URI-Encode-XS 0.11
URI::Encode::XS is a Perl URI encoder/decoder written in XS based on RFC3986. This module always encodes characters that are not unreserved. When decoding, invalid escape sequences are preserved. WWW: https://metacpan.org/release/URI-Encode-XS
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-URI-Encode-XS/Makefile22
-rw-r--r--net/p5-URI-Encode-XS/distinfo3
-rw-r--r--net/p5-URI-Encode-XS/pkg-descr5
-rw-r--r--net/p5-URI-Encode-XS/pkg-plist3
5 files changed, 34 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 92718a9e8aa9..aa128de6cd14 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -856,6 +856,7 @@
SUBDIR += p5-Text-Authinfo
SUBDIR += p5-Twitter-API
SUBDIR += p5-URI
+ SUBDIR += p5-URI-Encode-XS
SUBDIR += p5-URI-FromHash
SUBDIR += p5-URI-Match
SUBDIR += p5-URI-Nested
diff --git a/net/p5-URI-Encode-XS/Makefile b/net/p5-URI-Encode-XS/Makefile
new file mode 100644
index 000000000000..8d76126d9dc5
--- /dev/null
+++ b/net/p5-URI-Encode-XS/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= URI-Encode-XS
+PORTVERSION= 0.11
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Perl URI encoder/decoder using C
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/URI/Encode/XS/XS.so
+
+.include <bsd.port.mk>
diff --git a/net/p5-URI-Encode-XS/distinfo b/net/p5-URI-Encode-XS/distinfo
new file mode 100644
index 000000000000..3023706211fb
--- /dev/null
+++ b/net/p5-URI-Encode-XS/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1564920312
+SHA256 (URI-Encode-XS-0.11.tar.gz) = 2bc20e4d7c8163e82a865bcbb60918621ccf09c9c74b7b0aaa30efa1b103013f
+SIZE (URI-Encode-XS-0.11.tar.gz) = 56903
diff --git a/net/p5-URI-Encode-XS/pkg-descr b/net/p5-URI-Encode-XS/pkg-descr
new file mode 100644
index 000000000000..768333acce42
--- /dev/null
+++ b/net/p5-URI-Encode-XS/pkg-descr
@@ -0,0 +1,5 @@
+URI::Encode::XS is a Perl URI encoder/decoder written in XS based on RFC3986.
+This module always encodes characters that are not unreserved. When decoding,
+invalid escape sequences are preserved.
+
+WWW: https://metacpan.org/release/URI-Encode-XS
diff --git a/net/p5-URI-Encode-XS/pkg-plist b/net/p5-URI-Encode-XS/pkg-plist
new file mode 100644
index 000000000000..660ec1f5031a
--- /dev/null
+++ b/net/p5-URI-Encode-XS/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/URI/Encode/XS.pm
+%%SITE_ARCH%%/auto/URI/Encode/XS/XS.so
+%%PERL5_MAN3%%/URI::Encode::XS.3.gz