# Copyright 1999-2003 Brice Arnould # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils games DESCRIPTION="An X11 clone of the well-known Scrabbleİ, with French and English dictionaries." #HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/educational_games" SRC_URI="ftp://ftp.ac-grenoble.fr/ge/educational_games/${P}.tgz \ ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_fr.tgz \ ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_en.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11" S=${WORKDIR}/${P} src_unpack() { unpack ${P}.tgz cd ${S} # Dictionaries must be on top of sources. cp ${DISTDIR}/xscrabble_fr.tgz ${DISTDIR}/xscrabble_en.tgz ${WORKDIR} # Fix placement of files epatch ${FILESDIR}/${P}-destdir.patch } src_compile() { ./build bin || die } src_install() { export DESTDIR=${D} ./build install || die ./build lang fr || die ./build lang en || die dodoc CHANGES README prepgamesdirs }