1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

New port: devel/p5-Router-R3

R3 is an URL router library with high performance, thus, it's
implemented in C. It compiles your route paths into a prefix trie.

By using the constructed prefix trie in the start-up time, you can
dispatch routes with efficiency.

WWW: http://search.cpan.org/dist/Router-R3/

PR:		194230
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
Reviewed by:	marino
This commit is contained in:
Kurt Jaeger 2015-02-08 21:30:27 +00:00
parent 93e3f6bef8
commit bd35773290
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378688
5 changed files with 41 additions and 0 deletions

View File

@ -2745,6 +2745,7 @@
SUBDIR += p5-Role-Tiny
SUBDIR += p5-Rose-DateTime
SUBDIR += p5-Rose-Object
SUBDIR += p5-Router-R3
SUBDIR += p5-RunApp
SUBDIR += p5-SDL
SUBDIR += p5-SNMP-Persist

View File

@ -0,0 +1,27 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= Router-R3
PORTVERSION= 0.011001
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= gasol.wu@gmail.com
COMMENT= XS wrapper around a C library R3
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker \
p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig
LIB_DEPENDS= libr3.so:${PORTSDIR}/devel/libr3
USES= perl5
USE_PERL5= configure
CFLAGS+= -std=c99
post-install:
${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Router/R3/R3.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Router-R3-0.011001.tar.gz) = decf8c58ecbe3b2e4318ca8f809903c9f1f0e4765cee7f3067810060b2f5c3c7
SIZE (Router-R3-0.011001.tar.gz) = 68206

View File

@ -0,0 +1,7 @@
R3 is an URL router library with high performance, thus, it's
implemented in C. It compiles your route paths into a prefix trie.
By using the constructed prefix trie in the start-up time, you can
dispatch routes with efficiency.
WWW: http://search.cpan.org/dist/Router-R3/

View File

@ -0,0 +1,4 @@
%%PERL5_MAN3%%/Router::R3.3.gz
%%SITE_ARCH%%/Router/R3.pm
%%SITE_ARCH%%/auto/Router/R3/R3.so
%%SITE_ARCH%%/auto/Router/R3/autosplit.ix