mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
[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:
parent
49299e0c05
commit
8b034a7612
@ -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")
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1802,7 +1802,7 @@
|
||||
},
|
||||
"ctpg": {
|
||||
"baseline": "1.3.7",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"ctre": {
|
||||
"baseline": "3.7.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ce005721070c743c453fed6b2dcd3b2f2d351ba9",
|
||||
"version": "1.3.7",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "3cbcbbd2011b26de3ddec2aca13ee915c838021a",
|
||||
"version": "1.3.7",
|
||||
|
Loading…
Reference in New Issue
Block a user