pkgsrc/games/stockfish/Makefile
wiz 1163327e18 games/stockfish: import stockfish-9
Stockfish is one of the strongest chess engines in the world. It
is also much stronger than the best human chess grandmasters.

Unlike most chess engines, Stockfish is open source (GPL license).
That means you can read the code, modify it, contribute back, and
even use it in your own projects.
2018-02-28 22:20:43 +00:00

24 lines
627 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/02/28 22:20:43 wiz Exp $
DISTNAME= stockfish-9-src
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= games
MASTER_SITES= https://stockfish.s3.amazonaws.com/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://stockfishchess.org/
COMMENT= Strong open source chess engine
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/src
USE_LANGUAGES= c++
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin share/doc/stockfish
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/Readme.md ${DESTDIR}${PREFIX}/share/doc/stockfish
.include "../../mk/bsd.pkg.mk"