summaryrefslogtreecommitdiff
path: root/math/dune-common
diff options
context:
space:
mode:
Diffstat (limited to 'math/dune-common')
-rw-r--r--math/dune-common/Makefile8
-rw-r--r--math/dune-common/distinfo6
-rw-r--r--math/dune-common/files/patch-CMakeLists.txt12
-rw-r--r--math/dune-common/files/patch-doc_CMakeLists.txt12
-rw-r--r--math/dune-common/pkg-plist2
5 files changed, 21 insertions, 19 deletions
diff --git a/math/dune-common/Makefile b/math/dune-common/Makefile
index fdbc7de7f307..111a46bf1c92 100644
--- a/math/dune-common/Makefile
+++ b/math/dune-common/Makefile
@@ -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:
diff --git a/math/dune-common/distinfo b/math/dune-common/distinfo
index b6c1bd6de46a..abfcfc9a407b 100644
--- a/math/dune-common/distinfo
+++ b/math/dune-common/distinfo
@@ -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
diff --git a/math/dune-common/files/patch-CMakeLists.txt b/math/dune-common/files/patch-CMakeLists.txt
deleted file mode 100644
index d1dcdae2a5b0..000000000000
--- a/math/dune-common/files/patch-CMakeLists.txt
+++ /dev/null
@@ -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)
diff --git a/math/dune-common/files/patch-doc_CMakeLists.txt b/math/dune-common/files/patch-doc_CMakeLists.txt
new file mode 100644
index 000000000000..80184fe0d3a9
--- /dev/null
+++ b/math/dune-common/files/patch-doc_CMakeLists.txt
@@ -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()
diff --git a/math/dune-common/pkg-plist b/math/dune-common/pkg-plist
index cdde49c7471e..811b0d1eb5d1 100644
--- a/math/dune-common/pkg-plist
+++ b/math/dune-common/pkg-plist
@@ -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