freebsd-ports/math/lean/Makefile
Yuri Victorovich 02cc8aec8f math/lean: Update 3.33.0 -> 3.35.0
Reported by:	portscout
2021-10-31 10:23:17 -07:00

36 lines
906 B
Makefile

PORTNAME= lean
DISTVERSIONPREFIX= v
DISTVERSION= 3.35.0
CATEGORIES= math
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= aba9d05dd1c725ec0a681aaec4a391554325a51b.patch:-p2 # FreeBSD patches: https://github.com/leanprover-community/lean/pull/643
MAINTAINER= yuri@FreeBSD.org
COMMENT= Theorem prover
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libgmp.so:math/gmp
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= leanprover-community
WRKSRC_SUBDIR= src
CMAKE_OFF= BUILD_TESTING
post-install:
@${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
do-test:
@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>