freebsd-ports/devel/libr3/Makefile
John Marino ad5b336135 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.
2014-11-28 12:02:35 +00:00

36 lines
824 B
Makefile

# 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>