freebsd-ports/math/boolector/Makefile
Yuri Victorovich edeae32693 math/boolector: Update 3.0.0-239 -> 3.1.0
Reported by:	portscout
2019-12-04 07:18:01 +00:00

31 lines
996 B
Makefile

# $FreeBSD$
PORTNAME= boolector
DISTVERSION= 3.1.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Satisfiability Modulo Theories (SMT) solver
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cadical>0:math/cadical
LIB_DEPENDS= libbtor2parser.so:math/btor2tools \
libminisat.so:math/minisat \
libpicosat.so:math/picosat
USES= cmake:noninja compiler:c++11-lang # ninja fails to build tests
USE_GITHUB= yes
GH_ACCOUNT= Boolector
CMAKE_ON= BUILD_SHARED_LIBS
do-test: # tests assume that python-3.6 is installed # some tests fail: https://github.com/Boolector/boolector/issues/53
@${REINPLACE_CMD} 's|#!/usr/bin/env python2|#!${LOCALBASE}/bin/python3.6|' ${WRKSRC}/contrib/btorcheckmodel.py
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>