1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Add new port devel/libr3

PR:		194212
Submitted by:	Gasol Wu

R3 is an URL router library with high performance implemented in C. It
compiles route paths into a prefix trie.  By using the constructed prefix
trie in the start-up time, you can dispatch routes with efficiency.
This commit is contained in:
John Marino 2014-11-28 12:02:35 +00:00
parent 10afbd20f8
commit ad5b336135
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373562
5 changed files with 52 additions and 0 deletions

View File

@ -1118,6 +1118,7 @@
SUBDIR += libpthread-stubs
SUBDIR += libqcow
SUBDIR += libqxt
SUBDIR += libr3
SUBDIR += librcc
SUBDIR += librcd
SUBDIR += libreadline-java

36
devel/libr3/Makefile Normal file
View File

@ -0,0 +1,36 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= libr3
PORTVERSION= 1.0.0
CATEGORIES= devel
MAINTAINER= gasol.wu@gmail.com
COMMENT= URL router library with high performance
LICENSE= MIT
LIB_DEPENDS= libcheck.so:${PORTSDIR}/devel/libcheck \
libgvc.so:${PORTSDIR}/graphics/graphviz \
libpcre.so:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-graphviz
USES= libtool pkgconfig
INSTALL_TARGET= install-strip
USE_AUTOTOOLS= aclocal:env autoconf:env autoheader:env automake:env libtoolize:env
USE_GITHUB= yes
GH_ACCOUNT= c9s
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= ad8faeb
GH_PROJECT= r3
post-patch:
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' \
${WRKSRC}/Makefile.am
pre-configure:
(cd ${WRKSRC} && ./autogen.sh)
.include <bsd.port.mk>

2
devel/libr3/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libr3-1.0.0.tar.gz) = 8fa891adbbfe0a471c8d5de217983afb656412959f537120ed7a3e965cc80ca2
SIZE (libr3-1.0.0.tar.gz) = 65255

5
devel/libr3/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
R3 is an URL router library with high performance implemented in C. It
compiles route paths into a prefix trie. By using the constructed prefix
trie in the start-up time, you can dispatch routes with efficiency.
WWW: https://github.com/c9s/r3

8
devel/libr3/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
include/r3/r3.h
include/r3/r3_str.h
include/r3/str_array.h
lib/libr3.a
lib/libr3.so
lib/libr3.so.0
lib/libr3.so.0.0.0
libdata/pkgconfig/r3.pc