51674de4ff
Patch release on 0.6.0: * Bug fixes * CMake updates, now requiring 3.1
28 lines
615 B
Makefile
28 lines
615 B
Makefile
# $NetBSD: Makefile,v 1.8 2019/10/01 13:11:50 nia Exp $
|
|
|
|
DISTNAME= yaml-cpp-0.6.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jbeder/}
|
|
GITHUB_TAG= ${DISTNAME}
|
|
EXTRACT_USING= bsdtar
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/jbeder/yaml-cpp
|
|
COMMENT= YAML parser and emitter for C++
|
|
LICENSE= mit
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++11
|
|
|
|
# C++11
|
|
GCC_REQD+= 4.7
|
|
|
|
CMAKE_ARGS+= -DYAML_BUILD_SHARED_LIBS=ON
|
|
CMAKE_ARGS+= -DYAML_CPP_BUILD_TESTS=OFF # issue 539
|
|
|
|
PKGCONFIG_OVERRIDE+= yaml-cpp.pc.cmake
|
|
|
|
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
|
|
TEST_TARGET= test
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|