openbsd-ports/math/nlopt/Makefile
2020-07-08 22:57:41 +00:00

30 lines
525 B
Makefile

# $OpenBSD: Makefile,v 1.5 2020/07/08 22:57:41 kn Exp $
COMMENT = library for nonlinear optimization
GH_ACCOUNT = stevengj
GH_PROJECT = nlopt
GH_TAGNAME = v2.6.2
REVISION = 0
SHARED_LIBS = nlopt 0.2 # 0.10.0
CATEGORIES = math
# LGPL 2.1+
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc base-gcc
WANTLIB = ${COMPILER_LIBCXX} m
MODULES = devel/cmake
CONFIGURE_ARGS = -DNLOPT_GUILE=OFF \
-DNLOPT_MATLAB=OFF \
-DNLOPT_OCTAVE=OFF \
-DNLOPT_PYTHON=OFF \
-DNLOPT_SWIG=OFF
.include <bsd.port.mk>