- Patch cmake include to actually work - Bump PORTREVISION on consumers, testing shows it is not completely binary compatible
27 lines
602 B
Makefile
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>
|