diff options
Diffstat (limited to 'devel/re2/Makefile')
-rw-r--r-- | devel/re2/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/re2/Makefile b/devel/re2/Makefile index 4e5275a7594a..8049b9b8a06b 100644 --- a/devel/re2/Makefile +++ b/devel/re2/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= re2 -PORTVERSION= 20140304 +PORTVERSION= 20150601 CATEGORIES= devel -MASTER_SITES= GOOGLE_CODE MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Fast C++ regex library @@ -13,19 +12,13 @@ LICENSE= BSD3CLAUSE MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX} USE_LDCONFIG= yes -USES= compiler:c++11-lang gmake tar:tgz +USES= compiler:c++11-lang gmake pathfix -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 +GH_ACCOUNT= google +GH_TAGNAME= ${PORTVERSION:C|(....)(..)(..)|\1-\2-\3|} +USE_GITHUB= yes post-build: @${STRIP_CMD} ${WRKSRC}/obj/so/libre2.so -.include <bsd.port.post.mk> +.include <bsd.port.mk> |