aboutsummaryrefslogtreecommitdiff
path: root/ports/opencsg
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-09-06 01:43:09 +0800
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-05 10:43:09 -0700
commit33f15e40e858dcabddd1f1cc1b67368778516fbf (patch)
treea123c6cad05a70a19cb5b4f1370348e42e9cfb5b /ports/opencsg
parente6564a5ad99d80cf77f4c269a73a049f17c845e2 (diff)
downloadvcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.tar.gz
vcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.zip
modernize many ports (#7986)
* modernize many ports * Update the code to handle copyright * Retriger to build qt5-gamepad
Diffstat (limited to 'ports/opencsg')
-rw-r--r--ports/opencsg/CONTROL2
-rw-r--r--ports/opencsg/portfile.cmake15
2 files changed, 2 insertions, 15 deletions
diff --git a/ports/opencsg/CONTROL b/ports/opencsg/CONTROL
index a2b5b0d7f..f48cff6d3 100644
--- a/ports/opencsg/CONTROL
+++ b/ports/opencsg/CONTROL
@@ -1,4 +1,4 @@
Source: opencsg
-Version: 1.4.2
+Version: 1.4.2-1
Build-Depends: glew
Description: OpenCSG is a library that does image-based CSG rendering using OpenGL. OpenCSG is written in C++ and supports most modern graphics hardware using Microsoft Windows or the Linux operating system.
diff --git a/ports/opencsg/portfile.cmake b/ports/opencsg/portfile.cmake
index e43a89ec5..f47996af5 100644
--- a/ports/opencsg/portfile.cmake
+++ b/ports/opencsg/portfile.cmake
@@ -1,15 +1,3 @@
-# Common Ambient Variables:
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
-# PORT = current port name (zlib, etc)
-# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
-# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
-# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
-#
-
include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
@@ -35,5 +23,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/opencsg RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)