1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/math/py-CyLP/Makefile
Yuri Victorovich 56a64ccd18 math/py-CyLP: Update 0.9.3 -> 0.9.4
Reported by:	portscout
2020-04-21 05:37:16 +00:00

38 lines
930 B
Makefile

# $FreeBSD$
PORTNAME= CyLP
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.4
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python interface to CLP, CBC, and CGL to solve LPs and MIPs
LICENSE= CPL10
LICENSE_NAME= Common Public License Version 1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.10.0:science/py-scipy@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
LIB_DEPENDS= libblas.so:math/blas \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
libClp.so:math/clp \
liblapack.so:math/lapack
RUN_DEPENDS= ${PY_DEPENDS}
USES= compiler:c++11-lang python
USE_GITHUB= yes
GH_ACCOUNT= coin-or
USE_PYTHON= distutils cython autoplist
MAKE_ENV= COIN_INSTALL_DIR=${LOCALBASE}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cylp/cy/Cy*.so
.include <bsd.port.mk>