[proj] Disable docs (#25502)

* [proj] Remove docs

* version
This commit is contained in:
Thomas1664 2022-07-06 00:00:20 +02:00 committed by GitHub
parent 2acace3be1
commit a147691f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 1 deletions

View File

@ -8,6 +8,7 @@ vcpkg_from_github(
fix-win-output-name.patch
fix-proj4-targets-cmake.patch
tools-cmake.patch
remove-doc.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -0,0 +1,34 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c9744e6..a6d5e4eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -318,15 +335,12 @@ include_directories(${PROJ_SOURCE_DIR}/src)
add_subdirectory(data)
add_subdirectory(include)
add_subdirectory(src)
-add_subdirectory(man)
add_subdirectory(cmake)
if(BUILD_TESTING)
add_subdirectory(test)
endif()
-set(docfiles COPYING NEWS AUTHORS)
-install(FILES ${docfiles}
- DESTINATION "${DOCDIR}")
+
################################################################################
# pkg-config support
@@ -378,6 +392,7 @@ set(CPACK_SOURCE_IGNORE_FILES
include(CPack)
+if(0)
# Simplify README.md to README
add_custom_target(README
COMMAND ${CMAKE_COMMAND}
@@ -393,3 +408,4 @@ if(NOT _is_multi_config_generator)
)
message(STATUS "PROJ: Configured 'dist' target")
endif()
+endif()

View File

@ -1,6 +1,7 @@
{
"name": "proj",
"version": "9.0.1",
"port-version": 1,
"description": "PROJ library for cartographic projections",
"homepage": "https://proj.org/",
"license": "MIT",

View File

@ -5618,7 +5618,7 @@
},
"proj": {
"baseline": "9.0.1",
"port-version": 0
"port-version": 1
},
"proj4": {
"baseline": "8.9.9",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d533a2d58a17e3074d52ec045604b32ed049eacb",
"version": "9.0.1",
"port-version": 1
},
{
"git-tree": "55c13547b4c812fc8bbb32a09260b3e54bc0a352",
"version": "9.0.1",