Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2014 12:02:35 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373562 - in head/devel: . libr3
Message-ID:  <201411281202.sASC2aPF076940@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Nov 28 12:02:35 2014
New Revision: 373562
URL: https://svnweb.freebsd.org/changeset/ports/373562
QAT: https://qat.redports.org/buildarchive/r373562/

Log:
  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.

Added:
  head/devel/libr3/
  head/devel/libr3/Makefile   (contents, props changed)
  head/devel/libr3/distinfo   (contents, props changed)
  head/devel/libr3/pkg-descr   (contents, props changed)
  head/devel/libr3/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Nov 28 11:57:42 2014	(r373561)
+++ head/devel/Makefile	Fri Nov 28 12:02:35 2014	(r373562)
@@ -1118,6 +1118,7 @@
     SUBDIR += libpthread-stubs
     SUBDIR += libqcow
     SUBDIR += libqxt
+    SUBDIR += libr3
     SUBDIR += librcc
     SUBDIR += librcd
     SUBDIR += libreadline-java

Added: head/devel/libr3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libr3/Makefile	Fri Nov 28 12:02:35 2014	(r373562)
@@ -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>

Added: head/devel/libr3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libr3/distinfo	Fri Nov 28 12:02:35 2014	(r373562)
@@ -0,0 +1,2 @@
+SHA256 (libr3-1.0.0.tar.gz) = 8fa891adbbfe0a471c8d5de217983afb656412959f537120ed7a3e965cc80ca2
+SIZE (libr3-1.0.0.tar.gz) = 65255

Added: head/devel/libr3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libr3/pkg-descr	Fri Nov 28 12:02:35 2014	(r373562)
@@ -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

Added: head/devel/libr3/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libr3/pkg-plist	Fri Nov 28 12:02:35 2014	(r373562)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411281202.sASC2aPF076940>