Ebuild contributed by me.
Package-Manager: portage-2.2.22
--- /dev/null
+DIST polyglot-1.4.70b.tar.gz 269938 SHA256 cc10554390cb67c73395470505805f673a639fd3283acd02471f7a67dc9bedef SHA512 23ffa735b44ebbdaa991d96ac7d09e368f99640265bea3a30e0623665a8a9567f7c5c3e9518e06348a9b34ef70b43de2000b85f4e6101f4d8f866ae9cac9abec WHIRLPOOL f57135c0ef2e39662ac914022d2c3f0425ea27d722a2bb299bb341d319e21a67cae36e997541bbf2820705413fbcc6161f2c796926f8436cfd8390f5c60cc4a2
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>ulm@gentoo.org</email>
+</maintainer>
+<longdescription>
+ PolyGlot is a "UCI adapter". It connects a GUI interface (such
+ as XBoard, Winboard, Arena or Chessbase) to a UCI chess engine.
+ By specifying an opening book (in PolyGlot book format) chess
+ engines can transparently use such books.
+</longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
+HOMEPAGE="http://hardy.uhasselt.be/Toga/"
+# not entirely clear what the "b" in the version stands for
+SRC_URI="http://hardy.uhasselt.be/Toga/polyglot-release/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS="AUTHORS ChangeLog TODO" # README* installed by build system
+
+src_configure() {
+ econf \
+ --bindir="/usr/games/bin" \
+ --docdir="/usr/share/doc/${PF}"
+}