2019-12-20 01:00:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2019/12/20 00:00:55 joerg Exp $
|
2018-02-28 23:20:43 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-12-20 01:00:55 +01:00
|
|
|
BUILDLINK_TRANSFORM.NetBSD+= rm:-flto rm:-m32
|
|
|
|
|
2018-02-28 23:20:43 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/Readme.md ${DESTDIR}${PREFIX}/share/doc/stockfish
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|