1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/math/py-CyLP/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

38 lines
1023 B
Makefile

# $FreeBSD$
PORTNAME= CyLP
DISTVERSION= 0.7.2-30
PORTREVISION= 2
DISTVERSIONSUFFIX= -g65a985b
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
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.10.0:science/py-scipy@${PY_FLAVOR}
LIB_DEPENDS= libblas.so:math/blas \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
libClp.so:math/clp \
liblapack.so:math/lapack
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= compiler:c++11-lang python:2.7 # 3.X support is still in the pull request: https://github.com/coin-or/CyLP/pull/28
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>