Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 19:32:53 +0000 (UTC)
From:      Julien Laffaye <jlaffaye@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334024 - head/devel/re2
Message-ID:  <201311161932.rAGJWrcf039395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jlaffaye
Date: Sat Nov 16 19:32:53 2013
New Revision: 334024
URL: http://svnweb.freebsd.org/changeset/ports/334024

Log:
  - Update to 20131024
  - Fix build with clang and libc++
  - Remove leading indefinite article from COMMENT
  - Respect CXXFLAGS
  - Strip shared library
  - Support STAGEDIR
  - Sort PLIST
  - Use single space after WWW:
  
  PR:		ports/183661
  Submitted by:	sunpoet

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

Modified: head/devel/re2/Makefile
==============================================================================
--- head/devel/re2/Makefile	Sat Nov 16 19:26:33 2013	(r334023)
+++ head/devel/re2/Makefile	Sat Nov 16 19:32:53 2013	(r334024)
@@ -2,19 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	re2
-PORTVERSION=	20120226
+PORTVERSION=	20131024
 CATEGORIES=	devel
-MASTER_SITES=	LOCAL/jlaffaye
+MASTER_SITES=	GOOGLE_CODE
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	jlaffaye@FreeBSD.org
-COMMENT=	A fast C++ regex library
+COMMENT=	Fast C++ regex library
 
 LICENSE=	BSD
 
+MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX}
 USE_LDCONFIG=	yes
-USE_GMAKE=	yes
-MAKE_ENV=	prefix=${PREFIX}
-MAKE_ARGS+=	-e
+USES=		compiler:c++11-lang gmake
 
-NO_STAGE=	yes
-.include <bsd.port.mk>
+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>

Modified: head/devel/re2/distinfo
==============================================================================
--- head/devel/re2/distinfo	Sat Nov 16 19:26:33 2013	(r334023)
+++ head/devel/re2/distinfo	Sat Nov 16 19:32:53 2013	(r334024)
@@ -1,2 +1,2 @@
-SHA256 (re2-20120226.tar.gz) = be43ca5ec691b55b1ccaa3ffa91bf84a24f52bc0190fc0154d90d7b64d495897
-SIZE (re2-20120226.tar.gz) = 409176
+SHA256 (re2-20131024.tgz) = 4cbf7a98e79ba0c3f83b865049bcf3c6d60593b1a7accb60e8e10745a97cd62b
+SIZE (re2-20131024.tgz) = 1030145

Modified: head/devel/re2/pkg-descr
==============================================================================
--- head/devel/re2/pkg-descr	Sat Nov 16 19:26:33 2013	(r334023)
+++ head/devel/re2/pkg-descr	Sat Nov 16 19:32:53 2013	(r334024)
@@ -8,4 +8,4 @@ use a small fixed C++ stack footprint no
 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/
+WWW: http://code.google.com/p/re2/

Modified: head/devel/re2/pkg-plist
==============================================================================
--- head/devel/re2/pkg-plist	Sat Nov 16 19:26:33 2013	(r334023)
+++ head/devel/re2/pkg-plist	Sat Nov 16 19:32:53 2013	(r334024)
@@ -1,10 +1,10 @@
 include/re2/filtered_re2.h
 include/re2/re2.h
+include/re2/set.h
 include/re2/stringpiece.h
 include/re2/variadic_function.h
-include/re2/set.h
+lib/libre2.a
 lib/libre2.so
 lib/libre2.so.0
-lib/libre2.a
 lib/libre2.so.0.0.0
 @dirrm include/re2



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