1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/devel/yaml-cpp/Makefile
2023-08-11 14:40:18 +02:00

26 lines
561 B
Makefile

PORTNAME= yaml-cpp
PORTVERSION= 0.8.0
CATEGORIES= devel
MAINTAINER= madpilot@FreeBSD.org
COMMENT= YAML parser and emitter in C++ matching the YAML 1.2 spec
WWW= https://github.com/jbeder/yaml-cpp
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>