1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/math/boolector/Makefile
Yuri Victorovich d4a7860092 math/boolector: Update 3.2.1 -> 3.2.2
Reported by:	portscout
2021-06-02 01:49:44 -07:00

35 lines
1.0 KiB
Makefile

PORTNAME= boolector
DISTVERSION= 3.2.2
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
TEST_DEPENDS= bash:shells/bash
USES= cmake:noninja compiler:c++11-lang python:test # ninja fails to build tests
USE_GITHUB= yes
GH_ACCOUNT= Boolector
CMAKE_ON= BUILD_SHARED_LIBS
do-test:
@${FIND} ${WRKDIR} -name "*.py" \
| ${XARGS} ${REINPLACE_CMD} -e 's|#!/usr/bin/env python$$|#!${PYTHON_CMD}| ; s|#!/usr/bin/env python3$$|#!${PYTHON_CMD}|'
@${FIND} ${WRKDIR} -name "*.sh" \
| ${XARGS} ${REINPLACE_CMD} 's|#!/bin/bash$$|#!${LOCALBASE}/bin/bash|'
@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>