4f52f39718
GNU Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with Matlab. It may also be used as a batch-oriented language. Octave has extensive tools for solving common numerical linear algebra problems, finding the roots of nonlinear equations, integrating ordinary functions, manipulating polynomials, and integrating ordinary differential and differential-algebraic equations. It is easily extensible and customizable via user-defined functions written in Octave's own language, or using dynamically loaded modules written in C++, C, Fortran, or other languages.
31 lines
736 B
Makefile
31 lines
736 B
Makefile
# $NetBSD: options.mk,v 1.3 2014/10/20 22:15:24 outpaddling Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.octave
|
|
PKG_SUPPORTED_OPTIONS= glpk graphicsmagick hdf5 qhull
|
|
PKG_SUGGESTED_OPTIONS= hdf5 qhull
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mglpk)
|
|
.include "../../math/glpk/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-glpk
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgraphicsmagick)
|
|
.include "../../graphics/GraphicsMagick/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ENV+= ac_cv_prog_MAGICK_CONFIG=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mhdf5)
|
|
.include "../../devel/hdf5/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-hdf5
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mqhull)
|
|
.include "../../math/qhull/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-qhull
|
|
.endif
|