aboutsummaryrefslogtreecommitdiff
path: root/devel/glog/Makefile
blob: 87253513c66111da139edfa66721bf3a604ccd32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	glog
PORTVERSION=	0.6.0
DISTVERSIONPREFIX=	v
CATEGORIES=	devel

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Library of C++ classes for flexible logging
WWW=		https://github.com/google/glog

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgflags.so:devel/gflags \
		libunwind.so:devel/libunwind

USES=		cmake compiler:c++11-lang pkgconfig

CMAKE_ON=	BUILD_SHARED_LIBS WITH_CUSTOM_PREFIX WITH_GFLAGS WITH_PKGCONFIG WITH_SYMBOLIZE WITH_THREADS WITH_TLS WITH_UNWIND
CMAKE_OFF=	PRINT_UNSYMBOLIZED_STACK_TRACES WITH_GTEST

LDFLAGS+=	-lexecinfo
TEST_TARGET=	test
USE_CXXSTD=	c++11
USE_LDCONFIG=	yes

PLIST_SUB=	PORTVERSION=${PORTVERSION}

GH_ACCOUNT=	google
USE_GITHUB=	yes

.include <bsd.port.mk>