# Created by: Tim Niemueller <tim@niemueller.de>
# $FreeBSD: tags/RELEASE_10_4_0/devel/yaml-cpp/Makefile 439934 2017-05-02 06:48:10Z jbeich $

PORTNAME=	yaml-cpp
PORTVERSION=	0.5.3
DISTVERSIONPREFIX=	release-
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	madpilot@FreeBSD.org
COMMENT=	YAML parser and emitter in C++ matching the YAML 1.2 spec

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
RUN_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs

USE_GITHUB=	yes
GH_ACCOUNT=	jbeder

USES=		cmake
USE_LDCONFIG=	yes
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0

.include <bsd.port.mk>
