xref: /mports/devel/yaml-cpp/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	yaml-cpp
2PORTVERSION=	0.8.0
3CATEGORIES=	devel
4
5MAINTAINER=	ports@MidnightBSD.org
6COMMENT=	YAML parser and emitter in C++ matching the YAML 1.2 spec
7WWW=		https://github.com/jbeder/yaml-cpp
8
9LICENSE=	mit
10LICENSE_FILE=	${WRKSRC}/LICENSE
11
12USES=		cmake compiler:c++11-lang
13USE_LDCONFIG=	yes
14CMAKE_ARGS+=	-DYAML_BUILD_SHARED_LIBS:BOOL=ON \
15		-DYAML_CPP_BUILD_TOOLS=OFF \
16		-DYAML_CPP_BUILD_TESTS=OFF
17
18USE_GITHUB=	yes
19GH_ACCOUNT=	jbeder
20
21post-patch:
22	@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \
23		${WRKSRC}/yaml-cpp-config.cmake.in
24
25.include <bsd.port.mk>
26

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026