forked from Lainports/freebsd-ports
Minor release: - New nlopt_set_param API for setting internal algorithm parameters - Avoid library-symbol conflicts Changelog: https://github.com/stevengj/nlopt/releases/tag/v2.7.0 Reported by: portscout Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D27276
34 lines
814 B
Makefile
34 lines
814 B
Makefile
# Created by: Rainer Hurling <rhurlin@gwdg.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nlopt
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.7.0
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= rhurlin@FreeBSD.org
|
|
COMMENT= Nonlinear optimization library
|
|
|
|
LICENSE= LGPL21 MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
|
|
BUILD_DEPENDS= swig:devel/swig \
|
|
${PYNUMPY}
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libguile-2.2.so:lang/guile2
|
|
|
|
USES= cmake compiler:features pathfix pkgconfig python
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= stevengj
|
|
|
|
# Needed to find gmp.h
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
.include <bsd.port.mk>
|