aboutsummaryrefslogtreecommitdiff
path: root/devel/opentelemetry-cpp/Makefile
blob: b375c0627c6f59c00324473025bf498e2f63bfd4 (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
32
33
34
PORTNAME=	opentelemetry-cpp
PORTVERSION=	1.14.2
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	osa@FreeBSD.org
COMMENT=	OpenTelemetry C++ client
WWW=		https://github.com/open-telemetry/opentelemetry-cpp

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	open-telemetry
GH_PROJECT=	${PORTNAME}

USES=		cmake compiler:c++14-lang cpe

CPE_VENDOR=	cncf

CMAKE_ARGS=	-DBUILD_SHARED_LIBS=ON \
		-DCMAKE_POSITION_INDEPENDENT_CODE=ON
CMAKE_OFF=	BUILD_TESTING BUILD_EXAMPLES

LIB_DEPENDS=	libgtest.so:devel/googletest \
		libcurl.so:ftp/curl

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

PLIST_SUB=	SHLIBVER=${PORTVERSION}

.include <bsd.port.mk>