From 567ad9cdb56d7d4d1df301a60a7ec310db2c6d83 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 4 Aug 2019 16:08:27 +0000 Subject: [PATCH] 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 --- net/Makefile | 1 + net/p5-URI-Encode-XS/Makefile | 22 ++++++++++++++++++++++ net/p5-URI-Encode-XS/distinfo | 3 +++ net/p5-URI-Encode-XS/pkg-descr | 5 +++++ net/p5-URI-Encode-XS/pkg-plist | 3 +++ 5 files changed, 34 insertions(+) create mode 100644 net/p5-URI-Encode-XS/Makefile create mode 100644 net/p5-URI-Encode-XS/distinfo create mode 100644 net/p5-URI-Encode-XS/pkg-descr create mode 100644 net/p5-URI-Encode-XS/pkg-plist 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 +# $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 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