math/dune-common: Don't abuse DOCS for MANPAGES

PR:		287652
Approved by:	jrm (mentor), yuri (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D51061
This commit is contained in:
Michael Osipov 2025-06-26 10:10:42 +02:00
parent 668207bc70
commit 0db550d91c
5 changed files with 21 additions and 19 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= dune-common
DISTVERSIONPREFIX= v
DISTVERSION= 2.8.0
PORTREVISION= 16
PORTREVISION= 17
CATEGORIES= math
PATCH_SITES= https://gitlab.dune-project.org/core/${PORTNAME}/-/commit/
@ -27,12 +27,12 @@ USE_LDCONFIG= yes
GL_SITE= https://gitlab.dune-project.org
GL_ACCOUNT= core
GL_TAGNAME= df65b1282ea89ad40d2cb6565983f7e633ccce31
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_DEFINE= DOCS DOXYGEN MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS
@ -42,6 +42,8 @@ DOCS_BUILD_DEPENDS= latex:print/tex-formats \
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_IMPLIES= DOCS
MANPAGES_CMAKE_BOOL= FREEBSD_INSTALL_MANPAGES
PORTDOCS= *
post-install:

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1725960226
SHA256 (core-dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31_GL0.tar.gz) = e518620820edd77258266c1856eb46435e884bc7770ae00c7c181c222b98be48
SIZE (core-dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31_GL0.tar.gz) = 772263
TIMESTAMP = 1750927049
SHA256 (dune-common-v2.8.0.tar.bz2) = f4abb10e1cbbfa1835204fc7f44bb3ee50e3108343b5a200254f35a76a5561bd
SIZE (dune-common-v2.8.0.tar.bz2) = 636924
SHA256 (d36ce92a18904a3fe69028811c619b4b5a09ef4e.patch) = 32f0b7927ed2b70e9c1d095689064045c7c25f76056e0243c24641ac0cb9aafa
SIZE (d36ce92a18904a3fe69028811c619b4b5a09ef4e.patch) = 877

View File

@ -1,12 +0,0 @@
--- CMakeLists.txt.orig 2021-08-31 14:25:00 UTC
+++ CMakeLists.txt
@@ -16,7 +16,9 @@ dune_project()
# add subdirectories to execute CMakeLists.txt there
add_subdirectory(bin)
add_subdirectory(cmake)
+if (FREEBSD_INSTALL_DOCS)
add_subdirectory(doc)
+endif()
add_subdirectory(dune)
add_subdirectory(lib)
add_subdirectory(share)

View File

@ -0,0 +1,12 @@
--- doc/CMakeLists.txt.orig 2025-06-26 07:51:35 UTC
+++ doc/CMakeLists.txt
@@ -1,5 +1,9 @@
+if (FREEBSD_INSTALL_DOCS)
add_subdirectory("doxygen")
add_subdirectory("buildsystem")
add_subdirectory("comm")
+endif()
+if (FREEBSD_INSTALL_MANPAGES)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dunecontrol.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+endif()

View File

@ -140,7 +140,7 @@ lib/dunecontrol/dune-common/dune.module
lib/dunemodules.lib
lib/libdunecommon.so
libdata/pkgconfig/dune-common.pc
%%DOCS%%share/man/man1/dunecontrol.1.gz
%%MANPAGES%%share/man/man1/dunecontrol.1.gz
share/bash-completion/completions/dunecontrol
%%DATADIR%%/config.h.cmake
%%DOCS%%%%DATADIR%%/doc/doxygen/Doxystyle