# $FreeBSD: head/math/py-cryptominisat/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= cryptominisat PORTVERSION= 4.5.3 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= libcryptominisat4.so:math/cryptominisat USES= compiler:c++11-lang 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: ${CP} ${WRKSRC}/setup.py.in ${WRKSRC}/setup.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pycryptosat.so .include