mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
science/bout++: Remove installed broken link; Add pkg-message
This commit is contained in:
parent
97671ac780
commit
44934e890d
@ -1,6 +1,7 @@
|
|||||||
PORTNAME= bout++
|
PORTNAME= bout++
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 4.4.2
|
DISTVERSION= 4.4.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= science math # physics
|
CATEGORIES= science math # physics
|
||||||
|
|
||||||
MAINTAINER= yuri@FreeBSD.org
|
MAINTAINER= yuri@FreeBSD.org
|
||||||
@ -106,5 +107,10 @@ post-install:
|
|||||||
-e 's|${BUILD_WRKSRC}/lib|${PREFIX}/lib|' \
|
-e 's|${BUILD_WRKSRC}/lib|${PREFIX}/lib|' \
|
||||||
-e 's|${PORTSDIR}/.*/BOUT-dev-${PORTVERSION}/externalpackages/PVODE/include|${PREFIX}/include|g' \
|
-e 's|${PORTSDIR}/.*/BOUT-dev-${PORTVERSION}/externalpackages/PVODE/include|${PREFIX}/include|g' \
|
||||||
${STAGEDIR}${PREFIX}/lib/cmake/PVODE/*
|
${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>
|
.include <bsd.port.mk>
|
||||||
|
18
science/bout++/pkg-message
Normal file
18
science/bout++/pkg-message
Normal 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
|
||||||
|
}
|
||||||
|
]
|
@ -5,7 +5,6 @@ bin/bout-config.in
|
|||||||
bin/bout-log-color
|
bin/bout-log-color
|
||||||
bin/bout-pylib-cmd-to-bin
|
bin/bout-pylib-cmd-to-bin
|
||||||
bin/bout-sonnet
|
bin/bout-sonnet
|
||||||
bin/bout-squashoutput
|
|
||||||
bin/bout-stop-script
|
bin/bout-stop-script
|
||||||
bin/bout_3to4.py
|
bin/bout_3to4.py
|
||||||
bin/bout_4to5
|
bin/bout_4to5
|
||||||
|
Loading…
Reference in New Issue
Block a user