Changeset View
Changeset View
Standalone View
Standalone View
head/math/nlopt/Makefile
# Created by: Rainer Hurling <rhurlin@gwdg.de> | # Created by: Rainer Hurling <rhurlin@gwdg.de> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= nlopt | PORTNAME= nlopt | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 2.6.2 | DISTVERSION= 2.7.0 | ||||
CATEGORIES= math | CATEGORIES= math | ||||
MAINTAINER= rhurlin@FreeBSD.org | MAINTAINER= rhurlin@FreeBSD.org | ||||
COMMENT= Nonlinear optimization library | COMMENT= Nonlinear optimization library | ||||
LICENSE= LGPL21 MIT | LICENSE= LGPL21 MIT | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BROKEN_armv6= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory | BROKEN_armv6= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory | ||||
BROKEN_armv7= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory | BROKEN_armv7= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory | ||||
BUILD_DEPENDS= swig:devel/swig \ | BUILD_DEPENDS= swig:devel/swig \ | ||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.16.1:math/py-numpy@${PY_FLAVOR} | ${PYNUMPY} | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.1:math/py-numpy@${PY_FLAVOR} | RUN_DEPENDS= ${PYNUMPY} | ||||
LIB_DEPENDS= libgmp.so:math/gmp \ | LIB_DEPENDS= libgmp.so:math/gmp \ | ||||
libguile-2.2.so:lang/guile2 | libguile-2.2.so:lang/guile2 | ||||
USES= cmake compiler:features pathfix pkgconfig python | USES= cmake compiler:features pathfix pkgconfig python | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= stevengj | GH_ACCOUNT= stevengj | ||||
# Needed to find gmp.h | # Needed to find gmp.h | ||||
CFLAGS+= -I${LOCALBASE}/include | CFLAGS+= -I${LOCALBASE}/include | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |