summaryrefslogtreecommitdiffstats
path: root/devel/re2/Makefile
blob: 564261e19e76e5d00fc01049af7a1eca92c2a5de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Julien Laffaye <kimelto@gmail.com>
# $FreeBSD$

PORTNAME=	re2
PORTVERSION=	20151101
CATEGORIES=	devel

MAINTAINER=	jlaffaye@FreeBSD.org
COMMENT=	Fast C++ regex library

LICENSE=	BSD3CLAUSE

MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX}
USE_LDCONFIG=	yes
USES=		compiler:c++11-lang gmake pathfix

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.mk>
OpenPOWER on IntegriCloud