diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2019-08-05 00:08:47 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2019-08-05 00:08:47 +0800 |
commit | 6edd6640a31235f31a47bb5be87cca6209145da4 (patch) | |
tree | 9cc4a19a05c556a08833f16b9308ae3a74993377 | |
parent | 30eb46bbf83100dfb13ef8662fd5b842e8b06f66 (diff) | |
download | freebsd-ports-gnome-6edd6640a31235f31a47bb5be87cca6209145da4.tar.gz freebsd-ports-gnome-6edd6640a31235f31a47bb5be87cca6209145da4.tar.zst freebsd-ports-gnome-6edd6640a31235f31a47bb5be87cca6209145da4.zip |
Add p5-URI-Fast 0.49
URI::Fast is a faster alternative to URI. It is written in C and provides basic
parsing and modification of a URI.
URI is an excellent module; it is battle-tested, robust, and handles many edge
cases. As a result, it is rather slower than it would otherwise be for more
trivial cases, such as inspecting the path or updating a single query parameter.
WWW: https://metacpan.org/release/URI-Fast
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-URI-Fast/Makefile | 29 | ||||
-rw-r--r-- | net/p5-URI-Fast/distinfo | 3 | ||||
-rw-r--r-- | net/p5-URI-Fast/pkg-descr | 8 | ||||
-rw-r--r-- | net/p5-URI-Fast/pkg-plist | 6 |
5 files changed, 47 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index aa128de6cd14..3946b0cd0b98 100644 --- a/net/Makefile +++ b/net/Makefile @@ -857,6 +857,7 @@ SUBDIR += p5-Twitter-API SUBDIR += p5-URI SUBDIR += p5-URI-Encode-XS + SUBDIR += p5-URI-Fast SUBDIR += p5-URI-FromHash SUBDIR += p5-URI-Match SUBDIR += p5-URI-Nested diff --git a/net/p5-URI-Fast/Makefile b/net/p5-URI-Fast/Makefile new file mode 100644 index 000000000000..518e821b7474 --- /dev/null +++ b/net/p5-URI-Fast/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= URI-Fast +PORTVERSION= 0.49 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast(er) URI parser + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-URI-Encode-XS>=0.11:net/p5-URI-Encode-XS \ + p5-URI>=0:net/p5-URI \ + p5-Unicode-LineBreak>=0:textproc/p5-Unicode-LineBreak +TEST_DEPENDS= p5-Test-LeakTrace>=0.16:devel/p5-Test-LeakTrace \ + p5-Test2-Suite>=0.000100:devel/p5-Test2-Suite + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/URI/Fast/Fast.so + +.include <bsd.port.mk> diff --git a/net/p5-URI-Fast/distinfo b/net/p5-URI-Fast/distinfo new file mode 100644 index 000000000000..9ef947322a1a --- /dev/null +++ b/net/p5-URI-Fast/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1564920004 +SHA256 (URI-Fast-0.49.tar.gz) = f7bedfb7d8f7717d34fd941391e91e53c09670a6d5f5389f5fc87f0426dee068 +SIZE (URI-Fast-0.49.tar.gz) = 93947 diff --git a/net/p5-URI-Fast/pkg-descr b/net/p5-URI-Fast/pkg-descr new file mode 100644 index 000000000000..695205f131eb --- /dev/null +++ b/net/p5-URI-Fast/pkg-descr @@ -0,0 +1,8 @@ +URI::Fast is a faster alternative to URI. It is written in C and provides basic +parsing and modification of a URI. + +URI is an excellent module; it is battle-tested, robust, and handles many edge +cases. As a result, it is rather slower than it would otherwise be for more +trivial cases, such as inspecting the path or updating a single query parameter. + +WWW: https://metacpan.org/release/URI-Fast diff --git a/net/p5-URI-Fast/pkg-plist b/net/p5-URI-Fast/pkg-plist new file mode 100644 index 000000000000..667319d4787a --- /dev/null +++ b/net/p5-URI-Fast/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_ARCH%%/URI/Fast.pm +%%SITE_ARCH%%/URI/Fast/Benchmarks.pod +%%SITE_ARCH%%/URI/Fast/IRI.pm +%%SITE_ARCH%%/URI/Fast/Test.pm +%%SITE_ARCH%%/auto/URI/Fast/Fast.so +%%PERL5_MAN3%%/URI::Fast.3.gz |