freebsd-ports/devel/yaml-cpp03/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

29 lines
781 B
Makefile

# Created by: Tim Niemueller <tim@niemueller.de>
# $FreeBSD$
PORTNAME= yaml-cpp
PORTVERSION= 0.3.0
PORTREVISION= 2
DISTVERSIONPREFIX= release-
CATEGORIES= devel
PKGNAMESUFFIX= 03
MAINTAINER= tim@niemueller.de
COMMENT= YAML parser and emitter in C++ matching the YAML 1.2 spec
LICENSE= MIT
USES= compiler:c++11-lang cmake
USE_LDCONFIG= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0
USE_GITHUB= yes
GH_ACCOUNT= jbeder
post-patch: .SILENT
${FIND} ${WRKSRC} -name '*.[hc]*' -o -name CMakeLists.txt | \
${XARGS} ${REINPLACE_CMD} -e 's|yaml-cpp|yaml-cpp${PKGNAMESUFFIX}|g'
${MV} ${WRKSRC}/include/yaml-cpp ${WRKSRC}/include/yaml-cpp${PKGNAMESUFFIX}
${MV} ${WRKSRC}/yaml-cpp.pc.cmake ${WRKSRC}/yaml-cpp${PKGNAMESUFFIX}.pc.cmake
.include <bsd.port.mk>