summaryrefslogtreecommitdiff
path: root/devel/cpp-hocon/Makefile
blob: 9fa0d6dcd0a7bc3183ea2428bcc5b68a8407fb1a (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
25
26
27
28
# $FreeBSD$

PORTNAME=	cpp-hocon
PORTVERSION=	0.2.1
PORTREVISION=	4
CATEGORIES=	devel

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	C++ configuration library

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libleatherman_util.so:devel/leatherman

USES=		cmake:noninja compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	puppetlabs

PLIST_SUB+=	PORTVERSION="${PORTVERSION}"

CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=SHARED
CMAKE_OFF=	ENABLE_CXX_WERROR
TEST_TARGET=	test
USE_LDCONFIG=	yes

.include <bsd.port.mk>