aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-08-03 13:19:41 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-08-03 17:15:28 +0000
commitafb34f1d3b86f4e189decb9978381a5c95cf8265 (patch)
tree2e680e92b0169a4e17abda693c8d32fbc1921e66
parentfa869802d0318071f8e48f22579a7a3d777c1189 (diff)
downloadports-afb34f1d3b86f4e189decb9978381a5c95cf8265.tar.gz
ports-afb34f1d3b86f4e189decb9978381a5c95cf8265.zip
science/hypre: register the shared library
PR: 272916 Approved by: yuri (maintainer)
-rw-r--r--science/hypre/Makefile7
-rw-r--r--science/hypre/pkg-plist1
2 files changed, 8 insertions, 0 deletions
diff --git a/science/hypre/Makefile b/science/hypre/Makefile
index a75b933f38e9..381461e37a20 100644
--- a/science/hypre/Makefile
+++ b/science/hypre/Makefile
@@ -1,6 +1,7 @@
PORTNAME= hypre
DISTVERSIONPREFIX= v
DISTVERSION= 2.29.0
+PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
@@ -40,6 +41,12 @@ OPENMPI_BROKEN= doesn't switch to openmpi in cmake build, see https://github.co
PORTDOCS= *
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so \
+ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0
+ ${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0 \
+ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR}
diff --git a/science/hypre/pkg-plist b/science/hypre/pkg-plist
index 04e87686f4e8..502950f77c1a 100644
--- a/science/hypre/pkg-plist
+++ b/science/hypre/pkg-plist
@@ -58,3 +58,4 @@ lib/cmake/HYPRE/HYPREConfigVersion.cmake
lib/cmake/HYPRE/HYPRETargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/HYPRE/HYPRETargets.cmake
lib/libHYPRE.so
+lib/libHYPRE.so.0