freebsd-ports/math/octave-forge/Makefile
Stephen Montgomery-Smith c7c0b0b2ad - ~convert to USES=metaport.
- Automate how OPTIONS are processed.

PR:		ports/201604
Submitted by:	Andriy Voskoboinyk
2015-07-16 01:12:36 +00:00

46 lines
1.7 KiB
Makefile

# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= octave-forge
PORTVERSION= 20150704
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge metaport for math/octave
USES= metaport
OPTIONS_DEFINE= ACTUARIAL AD AUDIO BENCHMARK BIM BIOINFO CGI \
CIVIL_ENGINEERING COMMUNICATIONS CONTROL DATA_SMOOTHING \
DATABASE DATAFRAME DICOM DIVAND ECONOMETRICS ENGINE FENV FITS \
FINANCIAL FL_CORE 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 OCS \
OCT2MAT OCTCDF OCTCLIP OCTGPR OCTPROJ ODEBVP ODEPKG OPTICS \
OPTIM OPTIMINTERP OUTLIERS PARALLEL PDB PLOT PT_BR QUATERNION \
QUEUEING SECS1D SECS2D SECS3D SIGNAL SIMP SOCKETS SPECFUN \
SPECIAL_MATRIX SPLINE_GCVSPL SPLINES STATISTICS STK STRINGS \
STRUCT SYMBAND SYMBOLIC TCL_OCTAVE TSA VIDEO XRAYLIB ZENITY
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
TARBALLS_DIR= ${LOCALBASE}/share/octave/tarballs
.for OPT in ${OPTIONS_DEFINE}
. if ${OPTIONS_DEFINE:MGENERATE_HTML} == ${OPT} || ${OPTIONS_DEFINE:MPT_BR} == ${OPT}
${OPT}_DESC= Install package: ${OPT:tl}
${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl}.tar.gz:${PORTSDIR}/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:${PORTSDIR}/benchmarks/octave-forge-${OPT:tl:S/_/-/g}
. else
${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:${PORTSDIR}/math/octave-forge-${OPT:tl:S/_/-/g}
. endif
. endif
.endfor
.include <bsd.port.mk>