aboutsummaryrefslogtreecommitdiff
path: root/ports/ccfits
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-05-26 02:52:48 +0800
committerGitHub <noreply@github.com>2020-05-25 11:52:48 -0700
commitb271aeffa25c53f3750f58ad6209f3fa7c528716 (patch)
treee2d85c56570965e26803b629502e9bcb7efa648d /ports/ccfits
parent2ac2b5f3da6b46ff2ae900550bd7c44f39c57dcd (diff)
downloadvcpkg-b271aeffa25c53f3750f58ad6209f3fa7c528716.tar.gz
vcpkg-b271aeffa25c53f3750f58ad6209f3fa7c528716.zip
[VCPKG baseline] Fix many ports (#11559)
Diffstat (limited to 'ports/ccfits')
-rw-r--r--ports/ccfits/CONTROL2
-rw-r--r--ports/ccfits/portfile.cmake4
2 files changed, 2 insertions, 4 deletions
diff --git a/ports/ccfits/CONTROL b/ports/ccfits/CONTROL
index f2603b80e..02234c94e 100644
--- a/ports/ccfits/CONTROL
+++ b/ports/ccfits/CONTROL
@@ -1,5 +1,5 @@
Source: ccfits
-Version: 2.5-4
+Version: 2.5-5
Homepage: https://heasarc.gsfc.nasa.gov/fitsio/ccfits
Description: CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.
Build-Depends: cfitsio
diff --git a/ports/ccfits/portfile.cmake b/ports/ccfits/portfile.cmake
index e5f280944..6c33b383b 100644
--- a/ports/ccfits/portfile.cmake
+++ b/ports/ccfits/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_download_distfile(ARCHIVE
URLS "https://heasarc.gsfc.nasa.gov/fitsio/ccfits/CCfits-2.5.tar.gz"
FILENAME "CCfits-2.5.tar.gz"
@@ -40,4 +38,4 @@ foreach(HEADER IN LISTS HEADERS)
endforeach()
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/ccfits RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)