From owner-svn-ports-all@freebsd.org Fri May 8 20:50:47 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56A242E15C1; Fri, 8 May 2020 20:50:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49JjCT0zggz4JcK; Fri, 8 May 2020 20:50:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AEE4684C7; Fri, 8 May 2020 20:50:43 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 048Koh5b001357; Fri, 8 May 2020 20:50:43 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 048KofV3001346; Fri, 8 May 2020 20:50:41 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005082050.048KofV3001346@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 8 May 2020 20:50:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534426 - in head/science/libkml: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/science/libkml: . files X-SVN-Commit-Revision: 534426 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2020 20:50:47 -0000 Author: sunpoet Date: Fri May 8 20:50:41 2020 New Revision: 534426 URL: https://svnweb.freebsd.org/changeset/ports/534426 Log: Convert REINPLACE_CMD to patch files Added: head/science/libkml/files/patch-examples-engine-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-gpx-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-gx-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-hellonet-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-java-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-kml-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-python-CMakeLists.txt (contents, props changed) head/science/libkml/files/patch-examples-regionator-CMakeLists.txt (contents, props changed) Modified: head/science/libkml/Makefile Modified: head/science/libkml/Makefile ============================================================================== --- head/science/libkml/Makefile Fri May 8 20:50:35 2020 (r534425) +++ head/science/libkml/Makefile Fri May 8 20:50:41 2020 (r534426) @@ -35,7 +35,4 @@ EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES EXAMPLES_CMAKE_ON= -DKML_EXAMPLES_DIR=${EXAMPLESDIR} EXAMPLES_LIB_DEPENDS= libcurl.so:ftp/curl -post-patch-EXAMPLES-on: - @${REINPLACE_CMD} -e 's|DESTINATION examples/|DESTINATION $${KML_EXAMPLES_DIR}/|' ${WRKSRC}/examples/*/CMakeLists.txt - .include Added: head/science/libkml/files/patch-examples-engine-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-engine-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,9 @@ +--- examples/engine/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/engine/CMakeLists.txt +@@ -60,5 +60,5 @@ build_example( + + if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") +- install(FILES ${eg_files} DESTINATION examples/engine) ++ install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/engine) + endif(INSTALL_EXAMPLES) Added: head/science/libkml/files/patch-examples-gpx-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-gpx-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,9 @@ +--- examples/gpx/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/gpx/CMakeLists.txt +@@ -9,5 +9,5 @@ build_example( + + if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") +- install(FILES ${eg_files} DESTINATION examples/gpx) ++ install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/gpx) + endif(INSTALL_EXAMPLES) Added: head/science/libkml/files/patch-examples-gx-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-gx-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,10 @@ +--- examples/gx/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/gx/CMakeLists.txt +@@ -12,5 +12,5 @@ if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") + install( + FILES ${eg_files} +- DESTINATION examples/gx) ++ DESTINATION ${KML_EXAMPLES_DIR}/gx) + endif() +\ No newline at end of file Added: head/science/libkml/files/patch-examples-hellonet-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-hellonet-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,14 @@ +--- examples/hellonet/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/hellonet/CMakeLists.txt +@@ -78,9 +78,9 @@ if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") + install( + FILES ${eg_files} +- DESTINATION examples/hellonet) ++ DESTINATION ${KML_EXAMPLES_DIR}/hellonet) + + install( + FILES README curlfetch.h prompt.h +- DESTINATION examples/hellonet) ++ DESTINATION ${KML_EXAMPLES_DIR}/hellonet) + endif() Added: head/science/libkml/files/patch-examples-java-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-java-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,13 @@ +--- examples/java/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/java/CMakeLists.txt +@@ -2,8 +2,8 @@ if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.java") + install( + FILES ${eg_files} +- DESTINATION examples/java) ##compile java ++ DESTINATION ${KML_EXAMPLES_DIR}/java) ##compile java + install( + FILES run.sh +- DESTINATION examples/java) ## ++ DESTINATION ${KML_EXAMPLES_DIR}/java) ## + endif() Added: head/science/libkml/files/patch-examples-kml-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-kml-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,9 @@ +--- examples/kml/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/kml/CMakeLists.txt +@@ -2,5 +2,5 @@ if(INSTALL_EXAMPLES) + file(GLOB kml_files "${CMAKE_CURRENT_SOURCE_DIR}/*.kml") + install( + FILES ${kml_files} +- DESTINATION examples/kml) ++ DESTINATION ${KML_EXAMPLES_DIR}/kml) + endif() Added: head/science/libkml/files/patch-examples-python-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-python-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,9 @@ +--- examples/python/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/python/CMakeLists.txt +@@ -2,5 +2,5 @@ if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.py") + install( + FILES ${eg_files} +- DESTINATION examples/python) ##compile python ++ DESTINATION ${KML_EXAMPLES_DIR}/python) ##compile python + endif() Added: head/science/libkml/files/patch-examples-regionator-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-regionator-CMakeLists.txt Fri May 8 20:50:41 2020 (r534426) @@ -0,0 +1,9 @@ +--- examples/regionator/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC ++++ examples/regionator/CMakeLists.txt +@@ -10,5 +10,5 @@ if(INSTALL_EXAMPLES) + file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") + install( + FILES ${eg_files} +- DESTINATION examples/regionator) ++ DESTINATION ${KML_EXAMPLES_DIR}/regionator) + endif()