freebsd-ports/devel/yaml-cpp03/Makefile
Tobias C. Berner 43aecfb8e8 devel/yaml-cpp03 : switch from GOOGLE_CODE to USE_GITHUB
In r422140 devel/yaml-cpp03 was marked BROKEN, as GOOGLE_CODE has gone swimming
with the fishes.

The project has moved to github (see devel/yaml-cpp which already uses github).

PR:		212731
Approved by:	portmgr (antoine), rakuco (mentor)
2016-09-18 09:07:36 +00:00

28 lines
745 B
Makefile

# Created by: Tim Niemueller <tim@niemueller.de>
# $FreeBSD$
PORTNAME= yaml-cpp
PORTVERSION= 0.3.0
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= 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>