mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
science/cantera: For OCTAVE option, fix .mex file path
ctmethods.mexa64 is installed by the project but ctmethods.mex is expected by octave.
This commit is contained in:
parent
95bc4e9249
commit
fffad4fbd2
@ -1,7 +1,7 @@
|
||||
PORTNAME= cantera
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.5.1-611
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONSUFFIX= -gc4d6ecc15
|
||||
CATEGORIES= science # chemistry physics
|
||||
|
||||
@ -73,4 +73,9 @@ do-install:
|
||||
do-install-PYTHON-on:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-${PYTHON_VER:S/.//}.so
|
||||
|
||||
post-install-OCTAVE-on: # adjust .mex file name
|
||||
@${MV} \
|
||||
${STAGEDIR}${PREFIX}/lib/cantera/matlab/toolbox/ctmethods.mexa64 \
|
||||
${STAGEDIR}${PREFIX}/lib/cantera/matlab/toolbox/ctmethods.mex
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -580,7 +580,7 @@ include/cantera/zerodim.h
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/canteraVersion.m
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/ck2cti.m
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/cleanup.m
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/ctmethods.mexa64
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/ctmethods.mex
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/ctpath.m
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/faradayconstant.m
|
||||
%%OCTAVE%%lib/cantera/matlab/toolbox/gasconstant.m
|
||||
|
Loading…
Reference in New Issue
Block a user