summaryrefslogtreecommitdiff
path: root/games/stockfish
diff options
context:
space:
mode:
Diffstat (limited to 'games/stockfish')
-rw-r--r--games/stockfish/DESCR6
-rw-r--r--games/stockfish/Makefile24
-rw-r--r--games/stockfish/PLIST3
-rw-r--r--games/stockfish/distinfo6
4 files changed, 39 insertions, 0 deletions
diff --git a/games/stockfish/DESCR b/games/stockfish/DESCR
new file mode 100644
index 00000000000..6910d0c96de
--- /dev/null
+++ b/games/stockfish/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/games/stockfish/Makefile b/games/stockfish/Makefile
new file mode 100644
index 00000000000..9b9f9fb15e6
--- /dev/null
+++ b/games/stockfish/Makefile
@@ -0,0 +1,24 @@
+# $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"
diff --git a/games/stockfish/PLIST b/games/stockfish/PLIST
new file mode 100644
index 00000000000..52e43c6cdc3
--- /dev/null
+++ b/games/stockfish/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/28 22:20:43 wiz Exp $
+bin/stockfish
+share/doc/stockfish/Readme.md
diff --git a/games/stockfish/distinfo b/games/stockfish/distinfo
new file mode 100644
index 00000000000..4af6ba5e97f
--- /dev/null
+++ b/games/stockfish/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/28 22:20:43 wiz Exp $
+
+SHA1 (stockfish-9-src.zip) = c30ccc1c077c6817a101ed36ebaee9dcd43db879
+RMD160 (stockfish-9-src.zip) = 7002a4050f71b7a33888460ea552d0063d6c761b
+SHA512 (stockfish-9-src.zip) = 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8
+Size (stockfish-9-src.zip) = 171925 bytes