3794c79bbb
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
29 lines
696 B
Makefile
29 lines
696 B
Makefile
# 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>
|