Lines 2-11
Link Here
|
2 |
# $FreeBSD: head/math/nlopt/Makefile 464873 2018-03-18 05:35:18Z linimon $ |
2 |
# $FreeBSD: head/math/nlopt/Makefile 464873 2018-03-18 05:35:18Z linimon $ |
3 |
|
3 |
|
4 |
PORTNAME= nlopt |
4 |
PORTNAME= nlopt |
5 |
PORTVERSION= 2.4.2 |
5 |
DISTVERSIONPREFIX= v |
6 |
PORTREVISION= 3 |
6 |
DISTVERSION= 2.5.0 |
7 |
CATEGORIES= math |
7 |
CATEGORIES= math |
8 |
MASTER_SITES= http://ab-initio.mit.edu/nlopt/ |
|
|
9 |
|
8 |
|
10 |
MAINTAINER= rhurlin@gwdg.de |
9 |
MAINTAINER= rhurlin@gwdg.de |
11 |
COMMENT= Nonlinear optimization library |
10 |
COMMENT= Nonlinear optimization library |
Lines 20-36
Link Here
|
20 |
LIB_DEPENDS= libgmp.so:math/gmp \ |
19 |
LIB_DEPENDS= libgmp.so:math/gmp \ |
21 |
libguile-2.0.so:lang/guile2 |
20 |
libguile-2.0.so:lang/guile2 |
22 |
BUILD_DEPENDS= swig3.0:devel/swig30 \ |
21 |
BUILD_DEPENDS= swig3.0:devel/swig30 \ |
23 |
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} |
22 |
${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} |
24 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} |
23 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} |
25 |
|
24 |
|
26 |
GNU_CONFIGURE= yes |
25 |
USES= cmake compiler:features pathfix pkgconfig python:2.7 |
27 |
CONFIGURE_ARGS= --enable-shared |
|
|
28 |
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" |
29 |
|
30 |
USES= autoreconf compiler:features libtool pathfix \ |
31 |
pkgconfig python:2.7 |
32 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
33 |
|
27 |
|
34 |
INSTALL_TARGET= install-strip |
28 |
USE_GITHUB= yes |
|
|
29 |
GH_ACCOUNT= stevengj |
30 |
|
31 |
# Needed to find gmp.h |
32 |
CFLAGS+= -I${LOCALBASE}/include |
35 |
|
33 |
|
36 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |