1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

RE2 is a fast, safe, thread-friendly alternative to backtracking regular

expression engines like those used in PCRE, Perl, and Python.
It is a C++ library.
RE2 uses automata theory  to guarantee that regular expression searches run in
time linear in the size of the input. RE2 implements memory limits, so that
searches can be constrained to a fixed amount of memory. RE2 is engineered to
use a small fixed C++ stack footprint no matter what inputs or regular
expressions it must process; thus RE2 is useful in multithreaded environments
where thread stacks cannot grow arbitrarily large.

WWW:	http://code.google.com/p/re2/

PR:		ports/150185
Submitted by:	Julien Laffaye <kimelto at gmail.com>
This commit is contained in:
Baptiste Daroussin 2010-09-01 21:39:33 +00:00
parent 6e6b39f3a7
commit 238065597e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260391
5 changed files with 47 additions and 0 deletions

View File

@ -2924,6 +2924,7 @@
SUBDIR += raknet
SUBDIR += rapidsvn
SUBDIR += rbtools
SUBDIR += re2
SUBDIR += re2c
SUBDIR += readline
SUBDIR += regexx

23
devel/re2/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: re2
# Date created: 2010-09-01
# Whom: Julien Laffaye <kimelto@gmail.com>
#
# $FreeBSD$
#
PORTNAME= re2
PORTVERSION= 20100901
CATEGORIES= devel
MASTER_SITES= http://laffaye.free.fr/distfiles/
MAINTAINER= kimelto@gmail.com
COMMENT= A fast C++ regex library
LICENSE= BSD
USE_LDCONFIG= yes
USE_GMAKE= yes
MAKE_ENV= prefix=${PREFIX}
MAKE_ARGS+= -e
.include <bsd.port.mk>

3
devel/re2/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (re2-20100901.tar.gz) = 7618acc4e08c247fb5dcab78d7edfc76
SHA256 (re2-20100901.tar.gz) = 6722e7cc773680160e1a7780a66f17d90b93b1c234fc808baf125c350afc274b
SIZE (re2-20100901.tar.gz) = 396753

11
devel/re2/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
RE2 is a fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python.
It is a C++ library.
RE2 uses automata theory to guarantee that regular expression searches run in
time linear in the size of the input. RE2 implements memory limits, so that
searches can be constrained to a fixed amount of memory. RE2 is engineered to
use a small fixed C++ stack footprint no matter what inputs or regular
expressions it must process; thus RE2 is useful in multithreaded environments
where thread stacks cannot grow arbitrarily large.
WWW: http://code.google.com/p/re2/

9
devel/re2/pkg-plist Normal file
View File

@ -0,0 +1,9 @@
include/re2/re2.h
include/re2/variadic_function.h
include/re2/stringpiece.h
include/re2/set.h
lib/libre2.so
lib/libre2.so.0
lib/libre2.a
lib/libre2.so.0.0.0
@dirrm include/re2