mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
- The build is purely CMake-based now and doesn't use any shell or Python helper scripts - Keep PLIST_SUB+=COIN="" to reduce the churn on the pkg-plist, will be cleaned up separately (COIN support is now mandatory) - Chase 301 Moved Permanently redirect in the WWW line of the port description while here
19 lines
752 B
CMake
19 lines
752 B
CMake
--- cmake/doc.cmake.orig 2020-02-09 22:05:19 UTC
|
|
+++ cmake/doc.cmake
|
|
@@ -1,13 +1,12 @@
|
|
# Documentation-related CMake configuration
|
|
|
|
set(doc_dir "${PROJECT_SOURCE_DIR}/doc")
|
|
-set(DOC_INSTALL_DIR "share/doc/libogdf" CACHE PATH "Installation path of OGDF documentation and examples")
|
|
+set(DOC_INSTALL_DIR "share/doc/libogdf" CACHE PATH "Installation path of OGDF documentation")
|
|
mark_as_advanced(DOC_INSTALL_DIR)
|
|
|
|
-# installation of examples as documentation
|
|
file(GLOB_RECURSE example_files "${doc_dir}/*.txt" "${doc_dir}/*.bench" "${doc_dir}/*.gml")
|
|
-install(DIRECTORY doc/examples
|
|
- DESTINATION ${DOC_INSTALL_DIR}
|
|
+install(DIRECTORY doc/examples/
|
|
+ DESTINATION ${EXAMPLES_INSTALL_DIR}
|
|
FILES_MATCHING
|
|
PATTERN "*.cpp"
|
|
PATTERN "*.txt"
|