freebsd-ports/games/leela-zero/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

39 lines
1.0 KiB
Makefile

PORTNAME= leela-zero
DISTVERSIONPREFIX= v
DISTVERSION= 0.17-30
PORTREVISION= 1
DISTVERSIONSUFFIX= -ge3ed631
CATEGORIES= games
MAINTAINER= yuri@FreeBSD.org
COMMENT= Go engine without human-provided knowledge based on AlphaGo Zero paper
WWW= https://github.com/leela-zero/leela-zero
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= opencl>0:devel/opencl
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libopenblas.so:math/openblas \
libOpenCL.so:devel/ocl-icd
USES= cmake compiler:c++14-lang eigen:3 localbase qt:5
USE_GITHUB= yes
GH_TUPLE= google:googletest:cafa9e5:gtest/gtest
USE_QT= core widgets buildtools:build qmake:build
CMAKE_ON= USE_BLAS BUILD_TESTING
CMAKE_ARGS= -DBLAS_INCLUDE_DIRS:STRING=${LOCALBASE}/include
PLIST_FILES= bin/autogtp \
bin/leelaz \
bin/validation
do-test:
@cd ${WRKSRC} && ${MKDIR} .build && ${CP} ../.build/tests .build && cd .build && ./tests
download-weights:
@${FETCH_CMD} https://zero.sjeng.org/best-network -o ~/.local/share/leela-zero/
.include <bsd.port.mk>