summaryrefslogtreecommitdiff
path: root/math/octave-forge/Makefile
blob: 2206579f6ef82ea5f6a48abb4075be1cb0357f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD$

PORTNAME=	octave-forge
PORTVERSION=	20180409
PORTREVISION=	20
CATEGORIES=	math

MAINTAINER=	stephen@FreeBSD.org
COMMENT=	Octave-forge metaport for math/octave

USES=		metaport

OPTIONS_DEFINE=	ACTUARIAL BENCHMARK BIM BIOINFO BSLTL CGI \
		CIVIL_ENGINEERING CONTROL DATA_SMOOTHING \
		DATABASE DATAFRAME DICOM DIVAND DOCTEST ECONOMETRICS \
		FENV FITS \
		FINANCIAL FPL FUZZY_LOGIC_TOOLKIT GA GEOMETRY GENERAL \
		GENERATE_HTML GNUPLOT GSL IDENT IMAGE \
		INFORMATIONTHEORY INTEGRATION INTERVAL IO IRSA LEVEL_SET \
		LINEAR_ALGEBRA LSSA LTFAT \
		MAPPING MECHANICS MISCELLANEOUS MISSING_FUNCTIONS MSH \
		MULTICORE MVN NAN NCARRAY NETCDF NLWING2 NNET NURBS \
		OCT2MAT OCTCLIP OCTPROJ ODEBVP OPTICS \
		OPTIM OPTIMINTERP OUTLIERS PARALLEL PLOT QUATERNION \
		QUEUEING SECS1D SECS2D SECS3D SIGNAL SIMP SOCKETS SPECFUN \
		SPECIAL_MATRIX SPLINES STATISTICS STK STRINGS \
		STRUCT SYMBAND SYMBOLIC TCL_OCTAVE TISEAN TSA VIDEO \
		ZENITY ZEROMQ

OPTIONS_DEFAULT=	${OPTIONS_DEFINE:NDATA_SMOOTHING:NECONOMETRICS:NFITS:NLINEAR_ALGEBRA:NMECHANICS:NPARALLEL:NSTRINGS:NTISEAN:NVIDEO}

TARBALLS_DIR=		${LOCALBASE}/share/octave/tarballs

.for OPT in ${OPTIONS_DEFINE}
. if ${OPTIONS_DEFINE:MGENERATE_HTML} == ${OPT}
${OPT}_DESC=		Install package: ${OPT:tl}
${OPT}_RUN_DEPENDS=	${TARBALLS_DIR}/${OPT:tl}.tar.gz:math/octave-forge-${OPT:tl}
. else
${OPT}_DESC=		Install package: ${OPT:tl:S/_/-/g}
.  if ${OPTIONS_DEFINE:MBENCHMARK} == ${OPT}
${OPT}_RUN_DEPENDS=	${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:benchmarks/octave-forge-${OPT:tl:S/_/-/g}
.  else
${OPT}_RUN_DEPENDS=	${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:math/octave-forge-${OPT:tl:S/_/-/g}
.  endif
. endif
.endfor

.include <bsd.port.mk>