aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/opencc/CONTROL17
-rw-r--r--ports/opencc/portfile.cmake6
2 files changed, 13 insertions, 10 deletions
diff --git a/ports/opencc/CONTROL b/ports/opencc/CONTROL
index 49765c5b9..ab49052f0 100644
--- a/ports/opencc/CONTROL
+++ b/ports/opencc/CONTROL
@@ -1,8 +1,9 @@
-Source: opencc
-Version: 2020-04-26-6
-Description: A project for conversion between Traditional and Simplified Chinese
-Homepage: https://github.com/BYVoid/OpenCC
-Supports: !(arm|arm64|uwp)
-
-Feature: tools
-Description: Build OpenCC command-line tools
+Source: opencc
+Version: 2020-04-26
+Port-Version: 7
+Description: A project for conversion between Traditional and Simplified Chinese
+Homepage: https://github.com/BYVoid/OpenCC
+Supports: !(arm|arm64|uwp)
+
+Feature: tools
+Description: Build OpenCC command-line tools
diff --git a/ports/opencc/portfile.cmake b/ports/opencc/portfile.cmake
index 0d6b2a439..c67b2d33f 100644
--- a/ports/opencc/portfile.cmake
+++ b/ports/opencc/portfile.cmake
@@ -19,7 +19,9 @@ vcpkg_configure_cmake(
-DENABLE_GTEST=OFF
)
-vcpkg_install_cmake()
+vcpkg_install_cmake(
+ DISABLE_PARALLEL
+)
vcpkg_copy_pdbs()
@@ -47,4 +49,4 @@ endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file