summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-07 07:49:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-07 07:49:04 +0000
commit05ee92939f13675aaa64a16dafff0a5a951df389 (patch)
treee2a395d18b0c1a34238db4498124c14cd4324840 /games-util/xgame/xgame-1.7.1.ebuild
parentMarked ppc stable for bug #73605. (diff)
downloadhistorical-05ee92939f13675aaa64a16dafff0a5a951df389.tar.gz
historical-05ee92939f13675aaa64a16dafff0a5a951df389.tar.bz2
historical-05ee92939f13675aaa64a16dafff0a5a951df389.zip
use the games eclass
Diffstat (limited to 'games-util/xgame/xgame-1.7.1.ebuild')
-rw-r--r--games-util/xgame/xgame-1.7.1.ebuild26
1 files changed, 6 insertions, 20 deletions
diff --git a/games-util/xgame/xgame-1.7.1.ebuild b/games-util/xgame/xgame-1.7.1.ebuild
index 8a60d0d2f6a8..935c5c277f1e 100644
--- a/games-util/xgame/xgame-1.7.1.ebuild
+++ b/games-util/xgame/xgame-1.7.1.ebuild
@@ -1,35 +1,21 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/xgame/xgame-1.7.1.ebuild,v 1.1 2004/12/03 14:40:56 citizen428 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/xgame/xgame-1.7.1.ebuild,v 1.2 2004/12/07 07:49:04 mr_bones_ Exp $
-inherit eutils
-
-IUSE=""
+inherit games
DESCRIPTION="Run games in a separate X session"
HOMEPAGE="http://xgame.tlhiv.com/"
-SRC_URI="http://downloads.tlhiv.com/xgame/${PF}.tar.gz"
+SRC_URI="http://downloads.tlhiv.com/xgame/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
+IUSE=""
RDEPEND="dev-lang/perl"
src_install() {
- exeinto /usr/games/bin
- exeopts -m0650
- doexe xgame || die "doexe failed"
- # Only members of the group 'games' can use this
- fowners root:games /usr/games/bin/xgame || die "fowner failed"
- dodoc README || die "dodoc failed"
-}
-
-pkg_postinst() {
- echo
- ewarn "Remember, in order to play games, you have to"
- ewarn "be in the 'games' group."
- echo
- einfo "See the usermod(8) manpage for more information."
- echo
+ dogamesbin xgame || die "dogamesbin failed"
+ dodoc README
}