[Midnightbsd-cvs] mports [17899] trunk/devel: add re2 port for chromium
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Dec 21 11:11:01 EST 2014
Revision: 17899
http://svnweb.midnightbsd.org/mports/?rev=17899
Author: laffer1
Date: 2014-12-21 11:11:00 -0500 (Sun, 21 Dec 2014)
Log Message:
-----------
add re2 port for chromium
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/re2/
trunk/devel/re2/Makefile
trunk/devel/re2/distinfo
trunk/devel/re2/pkg-descr
trunk/devel/re2/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2014-12-21 16:01:32 UTC (rev 17898)
+++ trunk/devel/Makefile 2014-12-21 16:11:00 UTC (rev 17899)
@@ -444,6 +444,7 @@
SUBDIR += qtcreator
SUBDIR += rclint
SUBDIR += rcs57
+SUBDIR += re2
SUBDIR += re2c
SUBDIR += readline
SUBDIR += scons
Added: trunk/devel/re2/Makefile
===================================================================
--- trunk/devel/re2/Makefile (rev 0)
+++ trunk/devel/re2/Makefile 2014-12-21 16:11:00 UTC (rev 17899)
@@ -0,0 +1,30 @@
+# $MidnightBSD$
+
+PORTNAME= re2
+PORTVERSION= 20140304
+CATEGORIES= devel
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Fast C++ regex library
+
+LICENSE= bsd3
+
+MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX}
+USE_LDCONFIG= yes
+USES= compiler:c++11-lang gmake tar:tgz
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+# remove tr1 if using libc++
+.if ${COMPILER_FEATURES:Mlibc++}
+ @${REINPLACE_CMD} -e 's|tr1/||; s|tr1::||' ${WRKSRC}/util/util.h
+.endif
+
+post-build:
+ @${STRIP_CMD} ${WRKSRC}/obj/so/libre2.so
+
+.include <bsd.port.post.mk>
Property changes on: trunk/devel/re2/Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/re2/distinfo
===================================================================
--- trunk/devel/re2/distinfo (rev 0)
+++ trunk/devel/re2/distinfo 2014-12-21 16:11:00 UTC (rev 17899)
@@ -0,0 +1,2 @@
+SHA256 (re2-20140304.tgz) = 0bffd1a57de2f4b218ca0f77d8850bfd59c82944a98256c6edba25260e0196a7
+SIZE (re2-20140304.tgz) = 1050493
Property changes on: trunk/devel/re2/distinfo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/re2/pkg-descr
===================================================================
--- trunk/devel/re2/pkg-descr (rev 0)
+++ trunk/devel/re2/pkg-descr 2014-12-21 16:11:00 UTC (rev 17899)
@@ -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/
Property changes on: trunk/devel/re2/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/re2/pkg-plist
===================================================================
--- trunk/devel/re2/pkg-plist (rev 0)
+++ trunk/devel/re2/pkg-plist 2014-12-21 16:11:00 UTC (rev 17899)
@@ -0,0 +1,9 @@
+include/re2/filtered_re2.h
+include/re2/re2.h
+include/re2/set.h
+include/re2/stringpiece.h
+include/re2/variadic_function.h
+lib/libre2.a
+lib/libre2.so
+lib/libre2.so.0
+lib/libre2.so.0.0.0
Property changes on: trunk/devel/re2/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list