freebsd-ports/devel/p5-Router-R3/Makefile
Kurt Jaeger bd35773290 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
2015-02-08 21:30:27 +00:00

27 lines
623 B
Makefile

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