science/*: Fix USES=octave for some ports

In my previous commits of USES=octave conversion I missed two ports in
science category. Fix those to use USES=octave:env.

Approved by:	portmgr (blanket infrastructure)
This commit is contained in:
Muhammad Moinur Rahman 2022-12-30 12:58:06 -06:00
parent 6eefc70221
commit ad0afe0769
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ OCTAVE_MAKE_ARGS= matlab_toolbox=y matlab_path=${LOCALBASE}
OCTAVE_CXXFLAGS= -I${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave
OCTAVE_LIB_DEPENDS= liboctave.so:math/octave
OCTAVE_SUB_FILES= pkg-message-octave
.include "../../math/octave/Makefile.version" # for OCTAVE_VERSION
OCTAVE_USES= octave:env
PYTHON_USES= python:3.6+
PYTHON_USE= PYTHON=cython

View File

@ -30,10 +30,10 @@ OPTIONS_SUB= yes
OCTAVE_DESC= With Octave support
OCTAVE_CONFIGURE_WITH= octave
OCTAVE_BUILD_DEPENDS= ${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave/octave.h:math/octave
OCTAVE_USES= octave:env
OCTAVE_VARS= PLIST_SUB+="OCTAVE_VERSION=${OCTAVE_VERSION} CONFIGURE_TARGET=${CONFIGURE_TARGET}"
post-install-OCTAVE-on:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/h5read.oct
.include "../../math/octave/Makefile.version"
.include <bsd.port.mk>