From 44934e890d3b10a15d04fbd880a9d42ac517c3d9 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 24 Dec 2022 14:32:47 -0800 Subject: [PATCH] science/bout++: Remove installed broken link; Add pkg-message --- science/bout++/Makefile | 6 ++++++ science/bout++/pkg-message | 18 ++++++++++++++++++ science/bout++/pkg-plist | 1 - 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 science/bout++/pkg-message diff --git a/science/bout++/Makefile b/science/bout++/Makefile index c1f24e366579..c00c2823ea8a 100644 --- a/science/bout++/Makefile +++ b/science/bout++/Makefile @@ -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 diff --git a/science/bout++/pkg-message b/science/bout++/pkg-message new file mode 100644 index 000000000000..3cefddb4c64d --- /dev/null +++ b/science/bout++/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <