freebsd-ports/devel/yaml-cpp/Makefile
Guido Falsi 3ed820108d devel/yaml-cpp: Update to 0.7.0
- Patch cmake include to actually work
- Bump PORTREVISION on consumers, testing shows it is not completely
  binary compatible
2021-07-13 11:07:26 +02:00

27 lines
602 B
Makefile

# Created by: Tim Niemueller <tim@niemueller.de>
PORTNAME= yaml-cpp
PORTVERSION= 0.7.0
DISTVERSIONPREFIX= ${PORTNAME}-
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
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
CMAKE_ARGS+= -DYAML_BUILD_SHARED_LIBS:BOOL=ON \
-DYAML_CPP_BUILD_TOOLS=OFF \
-DYAML_CPP_BUILD_TESTS=OFF
USE_GITHUB= yes
GH_ACCOUNT= jbeder
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \
${WRKSRC}/yaml-cpp-config.cmake.in
.include <bsd.port.mk>