|
Lines 3-8
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= nlopt |
4 |
PORTNAME= nlopt |
| 5 |
PORTVERSION= 2.4.2 |
5 |
PORTVERSION= 2.4.2 |
|
|
6 |
PORTREVISION= 1 |
| 6 |
CATEGORIES= math |
7 |
CATEGORIES= math |
| 7 |
MASTER_SITES= http://ab-initio.mit.edu/nlopt/ |
8 |
MASTER_SITES= http://ab-initio.mit.edu/nlopt/ |
| 8 |
|
9 |
|
|
Lines 14-26
Link Here
|
| 14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 15 |
|
16 |
|
| 16 |
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ |
17 |
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ |
| 17 |
libguile.so:${PORTSDIR}/lang/guile |
18 |
libguile-2.0.so:${PORTSDIR}/lang/guile2 |
| 18 |
BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \ |
19 |
BUILD_DEPENDS= swig3.0:${PORTSDIR}/devel/swig30 \ |
| 19 |
${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy |
20 |
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy |
| 20 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy |
21 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy |
| 21 |
|
22 |
|
| 22 |
CONFIGURE_ARGS= --enable-shared |
23 |
CONFIGURE_ARGS= --enable-shared |
| 23 |
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig2.0" |
24 |
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" |
| 24 |
|
25 |
|
| 25 |
USES= autoreconf compiler:features libtool pathfix \ |
26 |
USES= autoreconf compiler:features libtool pathfix \ |
| 26 |
pkgconfig python:2 |
27 |
pkgconfig python:2 |