[ccfits] Fix usage (#18197)

* [ccfits] Fix usage

* update version

* fix header name

* update baseline record
This commit is contained in:
Jack·Boos·Yu 2021-06-10 08:06:31 +08:00 committed by GitHub
parent 40ad15cac1
commit 6fd8355aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 7 deletions

View File

@ -1,6 +0,0 @@
Source: ccfits
Version: 2.5
Port-Version: 6
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

View File

@ -39,5 +39,9 @@ foreach(HEADER IN LISTS HEADERS)
file(WRITE "${HEADER}" "${_contents}")
endforeach()
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/CCfits/CCfits.h
"#include \"longnam.h\"" "#include \"cfitsio/longnam.h\""
)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

10
ports/ccfits/vcpkg.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "ccfits",
"version": "2.5",
"port-version": 7,
"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++.",
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/ccfits",
"dependencies": [
"cfitsio"
]
}

View File

@ -1154,7 +1154,7 @@
},
"ccfits": {
"baseline": "2.5",
"port-version": 6
"port-version": 7
},
"cctz": {
"baseline": "2.3-2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "adb43da4a1d72e0924081e4699d81337d649400e",
"version": "2.5",
"port-version": 7
},
{
"git-tree": "c72b341528629e93108ce5317dd3802dc9b4ac11",
"version-string": "2.5",