Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2026 17:19:59 +0000
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a87d5c21c88b - main - science/elmerfem: adding the forgotten docs
Message-ID:  <69822e3f.1e6e9.f134a99@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a87d5c21c88b3de786ecc8f66ca25a3c5dcaecb2

commit a87d5c21c88b3de786ecc8f66ca25a3c5dcaecb2
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-02-03 17:14:50 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-02-03 17:19:49 +0000

    science/elmerfem: adding the forgotten docs
---
 science/elmerfem/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile
index 2b860d3b8477..32806a7ae7d4 100644
--- a/science/elmerfem/Makefile
+++ b/science/elmerfem/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	elmerfem
 DISTVERSIONPREFIX=	release-
 DISTVERSION=	26.1
+PORTREVISION=	1
 CATEGORIES=	science
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -83,6 +84,13 @@ FCFLAGS+=	-fPIC
 FFLAGS+=	-fPIC
 .endif
 
+PDFS=	elmerice/Solvers/Documentation/m1qn3.pdf	\
+	elmerice/Solvers/Documentation/poroussolver.pdf	\
+	elmerice/Solvers/Documentation/siasolver.pdf	\
+	elmerice/UserFunctions/Documentation/usf_damage.pdf	\
+	fem/src/modules/contrib/ShellMultiSolver/ShellMutiSolverUserGuide.pdf
+PORTDOCS=	*
+
 .if ${GCC_DEFAULT} >= 10
 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)).
 # in theory, this should set FCFLAGS, but the port does not conform
@@ -112,6 +120,10 @@ post-install:
 	${LN} -sf libmpi_stubs.so ${_LIBSTAGEDIR}/libmpi_stubs.so.0
 	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ElmerGrid
 
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PDFS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
 do-test:
 	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69822e3f.1e6e9.f134a99>