Unverified Commit 617004df authored by Li-Wen Hsu's avatar Li-Wen Hsu
Browse files

devel/yaml-cpp03: Remove

devel/yaml-cpp03 was created to provide old library versions to support
the blender-lts28 port which has been deleted after EOL.

PR:		268477
Reported by:	Shane <FreeBSD@ShaneWare.Biz>
Approved by:	tim@niemueller.de (maintainer)
parent 98931df3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17765,3 +17765,4 @@ finance/py-TA-Lib|finance/py-ta-lib|2023-02-12|Remove duplicate port
x11-toolkits/gnocl||2023-02-13|Fails to build, newer snapshot depends on a removed port
games/opendungeons||2023-02-14|Has expired: Broken for more than 6 months
databases/mysql-connector-odbc|databases/mysql-connector-odbc-80|2023-02-18|Has expired: Requires EOLd mysql version
devel/yaml-cpp03|devel/yaml-cpp|2023-02-21|Used by blender-lts28 which is EOL'd
+0 −1
Original line number Diff line number Diff line
@@ -7604,7 +7604,6 @@
    SUBDIR += yajl
    SUBDIR += yajl-tcl
    SUBDIR += yaml-cpp
    SUBDIR += yaml-cpp03
    SUBDIR += yaml2argdata
    SUBDIR += yasm
    SUBDIR += yder

devel/yaml-cpp03/Makefile

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
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
WWW=		https://code.google.com/p/yaml-cpp/

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>

devel/yaml-cpp03/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1474037192
SHA256 (jbeder-yaml-cpp-release-0.3.0_GH0.tar.gz) = ab8d0e07aa14f10224ed6682065569761f363ec44bc36fcdb2946f6d38fe5a89
SIZE (jbeder-yaml-cpp-release-0.3.0_GH0.tar.gz) = 83201
+0 −34
Original line number Diff line number Diff line
--- CMakeLists.txt.orig	2013-04-14 03:37:53.000000000 +0400
+++ CMakeLists.txt	2014-09-11 17:37:09.000000000 +0400
@@ -139,11 +139,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
	#
	set(CMAKE_CXX_FLAGS "-Wall ${GCC_EXTRA_OPTIONS} -pedantic -Wno-long-long ${CMAKE_CXX_FLAGS}")
	#
-	add_custom_target(debuggable $(MAKE) clean
+	add_custom_target(debuggable make clean
		COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug ${CMAKE_SOURCE_DIR}
		COMMENT "Adjusting settings for debug compilation"
		VERBATIM)
-	add_custom_target(releasable $(MAKE) clean
+	add_custom_target(releasable make clean
		COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release ${CMAKE_SOURCE_DIR}
		COMMENT "Adjusting settings for release compilation"
		VERBATIM)
@@ -240,7 +240,7 @@
 
 set_target_properties(yaml-cpp PROPERTIES
 	VERSION "${YAML_CPP_VERSION}"
-	SOVERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}"
+	SOVERSION "${YAML_CPP_VERSION_MAJOR}"
 	PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
 )
 
@@ -272,7 +272,7 @@
 if(UNIX)
 	set(PC_FILE ${CMAKE_BINARY_DIR}/yaml-cpp.pc)
 	configure_file("yaml-cpp.pc.cmake" ${PC_FILE} @ONLY)
-	install(FILES ${PC_FILE} DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+	install(FILES ${PC_FILE} DESTINATION libdata/pkgconfig)
 endif()
 
 
Loading