Lines 2-20
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= re2 |
4 |
PORTNAME= re2 |
5 |
PORTVERSION= 20120226 |
5 |
PORTVERSION= 20131024 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
MASTER_SITES= LOCAL/jlaffaye |
7 |
MASTER_SITES= GOOGLE_CODE |
|
|
8 |
EXTRACT_SUFX= .tgz |
8 |
|
9 |
|
9 |
MAINTAINER= jlaffaye@FreeBSD.org |
10 |
MAINTAINER= jlaffaye@FreeBSD.org |
10 |
COMMENT= A fast C++ regex library |
11 |
COMMENT= Fast C++ regex library |
11 |
|
12 |
|
12 |
LICENSE= BSD |
13 |
LICENSE= BSD |
13 |
|
14 |
|
|
|
15 |
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX} |
14 |
USE_LDCONFIG= yes |
16 |
USE_LDCONFIG= yes |
15 |
USE_GMAKE= yes |
17 |
USES= compiler:c++11-lang gmake |
16 |
MAKE_ENV= prefix=${PREFIX} |
|
|
17 |
MAKE_ARGS+= -e |
18 |
|
18 |
|
19 |
NO_STAGE= yes |
19 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
20 |
.include <bsd.port.mk> |
20 |
|
|
|
21 |
.include <bsd.port.pre.mk> |
22 |
|
23 |
post-patch: |
24 |
# remove tr1 if using libc++ |
25 |
.if ${COMPILER_FEATURES:Mlibc++} |
26 |
@${REINPLACE_CMD} -e 's|tr1/||; s|tr1::||' ${WRKSRC}/util/util.h |
27 |
.endif |
28 |
|
29 |
post-build: |
30 |
@${STRIP_CMD} ${WRKSRC}/obj/so/libre2.so |
31 |
|
32 |
.include <bsd.port.post.mk> |