summaryrefslogtreecommitdiff
path: root/games/polyglot/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-02 20:06:07 +0000
committerrillig <rillig@pkgsrc.org>2006-10-02 20:06:07 +0000
commit16a5a120dfc2c2fee3fdeb52bddb0d69911347cd (patch)
treee8d928f44b97d70323595a622ead6b4e80187f71 /games/polyglot/Makefile
parent98d08d2dc7671228e362bd10bb833b08918b9ebd (diff)
downloadpkgsrc-16a5a120dfc2c2fee3fdeb52bddb0d69911347cd.tar.gz
Imported polyglot.
PolyGlot is a "UCI adapter". It connects a UCI chess engine to an xboard interface such as WinBoard. UCI2WB is another such adapter (for Windows). PolyGlot tries to solve known problems with other adapters. For instance, it detects and reports draws by fifty-move rule, repetition, etc ...
Diffstat (limited to 'games/polyglot/Makefile')
-rw-r--r--games/polyglot/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/games/polyglot/Makefile b/games/polyglot/Makefile
new file mode 100644
index 00000000000..0f770909c28
--- /dev/null
+++ b/games/polyglot/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 20:06:07 rillig Exp $
+#
+
+DISTNAME= polyglot_14
+PKGNAME= polyglot-1.4
+CATEGORIES= games
+MASTER_SITES= http://wbec-ridderkerk.nl/html/download/fruit/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://wbec-ridderkerk.nl/html/details/PolyGlot.html
+COMMENT= UCI to WB adapter (for chess engines)
+
+WRKSRC= ${WRKDIR}/polyglot_14
+BUILD_DIRS= src
+MAKE_FILE= ${FILESDIR}/Makefile
+USE_LANGUAGES= c++
+
+INSTALLATION_DIRS= bin share/doc/polyglot share/examples/polyglot
+
+post-extract:
+ cp ${FILESDIR}/fruit.ini ${WRKSRC}/
+
+SUBST_CLASSES+= ini
+SUBST_STAGE.ini= post-configure
+SUBST_FILES.ini= fruit.ini
+SUBST_SED.ini= -e 's,@LOCALBASE@,${LOCALBASE},g'
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/polyglot ${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/polyglot/
+ ${INSTALL_DATA} ${WRKSRC}/fruit.ini ${PREFIX}/share/examples/polyglot/
+
+.include "../../mk/bsd.pkg.mk"