[ctpg] Fix portfile (#28908)

* Completely ignore ctpg debug install.

* Updated version files.

* Fixed incorrect usage instructions.

* Updated version files.

* Changed port-version to 2.

* Updated version files.
This commit is contained in:
Adrian Bibby Walther 2023-01-17 20:35:55 +01:00 committed by GitHub
parent 49299e0c05
commit 8b034a7612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -17,10 +17,7 @@ vcpkg_cmake_configure(
)
vcpkg_cmake_install()
file(GLOB files "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/*")
file(COPY ${files} DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/")
vcpkg_cmake_config_fixup(CONFIG_PATH share/${PORT}/cmake)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,7 @@
{
"name": "ctpg",
"version": "1.3.7",
"port-version": 1,
"port-version": 2,
"description": "Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.",
"homepage": "https://github.com/peter-winter/ctpg",
"license": "MIT",
@ -9,6 +9,10 @@
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1802,7 +1802,7 @@
},
"ctpg": {
"baseline": "1.3.7",
"port-version": 1
"port-version": 2
},
"ctre": {
"baseline": "3.7.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ce005721070c743c453fed6b2dcd3b2f2d351ba9",
"version": "1.3.7",
"port-version": 2
},
{
"git-tree": "3cbcbbd2011b26de3ddec2aca13ee915c838021a",
"version": "1.3.7",