e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. 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, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
34 lines
766 B
Makefile
34 lines
766 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cryptominisat
|
|
PORTVERSION= 5.0.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= 6yearold@gmail.com
|
|
COMMENT= Bindings to CryptoMiniSat (a SAT solver)
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libcryptominisat5.so:math/cryptominisat
|
|
|
|
USES= compiler:c++11-lib python:-2.7
|
|
USE_PYTHON= autoplist distutils
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= msoos
|
|
|
|
WRKSRC_SUBDIR= python
|
|
|
|
PYDISTUTILS_BUILDTARGET= build_ext --include-dirs=${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|@PROJECT_VERSION@|${PORTVERSION}|' ${WRKSRC}/setup.py.in
|
|
${CP} ${WRKSRC}/setup.py.in ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pycryptosat.so
|
|
|
|
.include <bsd.port.mk>
|