From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-board/phalanx/Manifest | 1 + games-board/phalanx/metadata.xml | 13 +++++++++++ games-board/phalanx/phalanx-22.ebuild | 43 +++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 games-board/phalanx/Manifest create mode 100644 games-board/phalanx/metadata.xml create mode 100644 games-board/phalanx/phalanx-22.ebuild (limited to 'games-board/phalanx') diff --git a/games-board/phalanx/Manifest b/games-board/phalanx/Manifest new file mode 100644 index 00000000000..b6752f197b5 --- /dev/null +++ b/games-board/phalanx/Manifest @@ -0,0 +1 @@ +DIST Phalanx-XXII.tar.gz 356831 SHA256 1ec5e8e5f71e199963796462086a6e9a0d8856b7fd4b83324a30a35c25677082 SHA512 e959556bb29eb2178dbf77c656d6c6520a8568e93e03350c5141bee8808a04d0a0c1050a3db53b1fef4a7b6e6b724272700e52feb6c5d7f8308cebca91c51d67 WHIRLPOOL e634d7631831e2043586f3bffca1ca7ffd55084b6e95a655a64297aa53e88c280c54bfe5123e7008e00ceb979ac7573a2dbd7e9a5d12b4d68277f5ca72f3c7f4 diff --git a/games-board/phalanx/metadata.xml b/games-board/phalanx/metadata.xml new file mode 100644 index 00000000000..59fa5463a17 --- /dev/null +++ b/games-board/phalanx/metadata.xml @@ -0,0 +1,13 @@ + + + + games + +This is the Phalanx chess engine. Phalanx's playing style is quite human-like; +when it plays at full strength, it may be compared to a intermediate-to-strong +player; beginners will be right at home with it, too. + + + phalanx + + diff --git a/games-board/phalanx/phalanx-22.ebuild b/games-board/phalanx/phalanx-22.ebuild new file mode 100644 index 00000000000..4783fb4b3ac --- /dev/null +++ b/games-board/phalanx/phalanx-22.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs games + +MY_PN="Phalanx" +MY_PV="XXII" +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="A chess engine suitable for beginner and intermediate players" +HOMEPAGE="http://phalanx.sourceforge.net/" +SRC_URI="mirror://sourceforge/phalanx/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_compile() { + # configure is not used in the project; confs are in Makefile, + # and here we override them: + local define="-DGNUFUN" myvar + for myvar in "PBOOK" "SBOOK" "LEARN" ; do + define="${define} -D${myvar}_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\"" + done + emake \ + DEFINES="${define}" \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dogamesbin phalanx + insinto "${GAMES_DATADIR}"/${PN} + doins pbook.phalanx sbook.phalanx learn.phalanx + dodoc HISTORY README + prepgamesdirs +} -- cgit v1.2.3