# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-3.5.ebuild,v 1.1 2004/01/05 05:05:37 mr_bones_ Exp $ inherit games DESCRIPTION="a free chess database application" HOMEPAGE="http://scid.sourceforge.net/" SRC_URI="mirror://sourceforge/scid/${P}.tar.gz http://www.visi.com/~veldy/gentoo/scid-extras-08232002.tar.bz2 mirror://sourceforge/scid/photos.zip mirror://sourceforge/scid/spelling.zip mirror://sourceforge/scid/scidlet40k.zip" KEYWORDS="x86 alpha ppc sparc amd64" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="virtual/glibc virtual/x11 >=dev-lang/tk-8.3 >=sys-libs/zlib-1.1.3" RDEPEND="${DEPEND} >=dev-lang/python-2.1" src_compile() { ./configure \ COMPILE=c++ \ LINK=c++ \ BINDIR=/usr/bin \ OPTIMIZE="${CXXFLAGS}" \ TCL_INCLUDE="" emake || die "emake failed" } src_install() { dogamesbin pgnfix pgnscid sc_addmove sc_eco sc_epgn sc_import sc_remote \ sc_spell sc_tree scid scidpgn scmerge spliteco tcscid tkscid scidlet \ || die "dogamesbin failed" dodoc CHANGES README THANKS || die "dodoc failed" dohtml help/*.html || die "dohtml failed" cd ${WORKDIR} insinto ${GAMES_DATADIR}/${PN} doins scidlet40k.sbk gm.spf historic.spf spelling.ssp scid.eco \ || die "doins failed" prepgamesdirs }