# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Unreal Tournament 2004 and 2003 benchmarking utility" HOMEPAGE="http://unrealmark.net/" MY_PV=UMark-for-Linux-v200-Beta3.tar.gz S="${WORKDIR}/UMark" SRC_URI="http://unrealmark.net/dl/UMark-for-Linux-v200-Beta3.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="=x11-libs/gtk+-2*" RDEPEND="${DEPEND}" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" rm ${D}/usr/share/${PN}/pixmaps/umark_icon.png cp -R data ${D}/usr/share/${PN} sed -i "s:echo \"\":cd /usr/share/${PN}:" install_umark_data.sh dobin install_umark_data.sh exeinto /usr/share/${PN} doexe utxinfo.pl dodoc AUTHORS ChangeLog NEWS README TODO doicon pixmaps/umark_icon.png make_desktop_entry umark Umark umark_icon.png } pkg_postinst() { einfo "Please run /usr/bin/install_umark_data.sh for each" einfo "user you want to use Umark" }