# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/chesstask/chesstask-2.0.ebuild,v 1.2 2004/10/05 13:34:50 pvdabeel Exp $ IUSE="" S=${WORKDIR}/ChessTask DESCRIPTION="An editor for chess problems. It will generate PostScript and HTML files." HOMEPAGE="http://chesstask.sourceforge.net/" SRC_URI="mirror://sourceforge/chesstask/ChessTask${PV/./_}src.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ppc" DEPEND=">=x11-libs/qt-3 virtual/tetex" src_compile() { sed -i -e "/ENGLISH/s/^#//" ChessTask.pro || die qmake -o Makefile ChessTask.pro || die emake || die "compile failed" } src_install() { dobin ChessTask dodoc HISTORY LIESMICH README }