Date: Tue, 21 Dec 2021 22:55:15 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1fe058dad791 - main - science/cantera: Add pkg-message when OCTAVE option is enabled. Message-ID: <202112212255.1BLMtFFV095891@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fe058dad791ce7f64f98523ad243eb6c70412a6 commit 1fe058dad791ce7f64f98523ad243eb6c70412a6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-12-21 22:54:34 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-12-21 22:55:12 +0000 science/cantera: Add pkg-message when OCTAVE option is enabled. --- science/cantera/Makefile | 1 + science/cantera/files/pkg-message-octave.in | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/science/cantera/Makefile b/science/cantera/Makefile index 5039ea17a68d..d0bbc8967f23 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -50,6 +50,7 @@ OCTAVE_DESC= Octave support OCTAVE_MAKE_ARGS= matlab_toolbox=y matlab_path=${LOCALBASE} OCTAVE_CXXFLAGS= -I${LOCALBASE}/include/octave-6.4.0/octave OCTAVE_LIB_DEPENDS= liboctave.so:math/octave +OCTAVE_SUB_FILES= pkg-message-octave PYTHON_USES= python:3.6+ PYTHON_USE= PYTHON=cython diff --git a/science/cantera/files/pkg-message-octave.in b/science/cantera/files/pkg-message-octave.in new file mode 100644 index 000000000000..7b8ea32e05de --- /dev/null +++ b/science/cantera/files/pkg-message-octave.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <<EOM +You installed Cantera: Chemical kinetics, thermodynamics, +and transport tool suite + +Since you enabled the Octave support, an additional step +is now required in order to use it: + +Add the line 'addpath %%PREFIX%%/lib/cantera/matlab/toolbox' +to ~/.octaverc + +EOM +} +]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112212255.1BLMtFFV095891>