1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

science/bout++: Remove installed broken link; Add pkg-message

This commit is contained in:
Yuri Victorovich 2022-12-24 14:32:47 -08:00
parent 97671ac780
commit 44934e890d
3 changed files with 24 additions and 1 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= bout++
DISTVERSIONPREFIX= v
DISTVERSION= 4.4.2
PORTREVISION= 1
CATEGORIES= science math # physics
MAINTAINER= yuri@FreeBSD.org
@ -106,5 +107,10 @@ post-install:
-e 's|${BUILD_WRKSRC}/lib|${PREFIX}/lib|' \
-e 's|${PORTSDIR}/.*/BOUT-dev-${PORTVERSION}/externalpackages/PVODE/include|${PREFIX}/include|g' \
${STAGEDIR}${PREFIX}/lib/cmake/PVODE/*
@${REINPLACE_CMD} -i '' \
-e 's|INTERFACE_INCLUDE_DIRECTORIES .*|INTERFACE_INCLUDE_DIRECTORIES "${PREFIX}/include"|' \
${STAGEDIR}${PREFIX}/lib/cmake/PVODE/PVODEConfig.cmake
# remove broken link, see https://github.com/boutproject/BOUT-dev/issues/2623
@${RM} ${STAGEDIR}${PREFIX}/bin/bout-squashoutput
.include <bsd.port.mk>

View File

@ -0,0 +1,18 @@
[
{ type: install
message: <<EOM
You installed BOUT++, plasma fluid finite-difference simulation code.
BOUT++ is a framework that allows to solve a variety of partial differential
equations, with or without physical meaning.
You can use BOUT++ in one of these ways:
1. Build with included examples: make WITH_EXAMPLES=yes
These examples showcase what BOUT++ can do on simple PDE systems,
2. Build and run any of the dependent ports: science/bout++-*
3. Write your own BOUT++ applications solving your equations.
EOM
}
]

View File

@ -5,7 +5,6 @@ bin/bout-config.in
bin/bout-log-color
bin/bout-pylib-cmd-to-bin
bin/bout-sonnet
bin/bout-squashoutput
bin/bout-stop-script
bin/bout_3to4.py
bin/bout_4to5