blob: 7bc82a8e1f5137ddff0a9fec17fed1e174904363 (
plain) (
blame)
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
|
# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$
PORTNAME= nlopt
PORTVERSION= 2.4.2
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://ab-initio.mit.edu/nlopt/
MAINTAINER= rhurlin@gwdg.de
COMMENT= Nonlinear optimization library
LICENSE= LGPL21 MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:math/gmp \
libguile-2.0.so:lang/guile2
BUILD_DEPENDS= swig3.0:devel/swig30 \
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
USES= autoreconf compiler:features libtool pathfix \
pkgconfig python:2.7
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
.include <bsd.port.mk>
|