summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-10-30 19:59:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-10-30 19:59:32 +0000
commit8fd3bbb8ea3b7d26e208a86831cfb2dabe7ad75e (patch)
treeb4574ed45953661e8744d18cd644915bf70ffb9b /games-board/glchess
parentMore dependencies fixes (diff)
downloadgentoo-2-8fd3bbb8ea3b7d26e208a86831cfb2dabe7ad75e.tar.gz
gentoo-2-8fd3bbb8ea3b7d26e208a86831cfb2dabe7ad75e.tar.bz2
gentoo-2-8fd3bbb8ea3b7d26e208a86831cfb2dabe7ad75e.zip
give distutils_src_install --install-scripts for less hackish install (thanks marienz)
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'games-board/glchess')
-rw-r--r--games-board/glchess/glchess-0.9.12.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/games-board/glchess/glchess-0.9.12.ebuild b/games-board/glchess/glchess-0.9.12.ebuild
index 87ae05885feb..2f32e6dfae11 100644
--- a/games-board/glchess/glchess-0.9.12.ebuild
+++ b/games-board/glchess/glchess-0.9.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/glchess-0.9.12.ebuild,v 1.2 2006/10/30 19:53:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/glchess-0.9.12.ebuild,v 1.3 2006/10/30 19:59:32 mr_bones_ Exp $
inherit python distutils games
@@ -31,13 +31,10 @@ src_unpack() {
src_install() {
python_version
- distutils_src_install
+ distutils_src_install --install-scripts=${GAMES_BINDIR}
if use nls ; then
emake DESTDIR="${D}" install || die "emake install failed"
fi
- dogamesbin "build/scripts-${PYVER}/glchess" || die "installing the binary failed"
- rm -rf ${D}usr/bin
- rm -rf "${D}"usr/bin "${D}"usr/share/doc/${PF}/{MANIFEST.in,PKG-INFO}.gz
- mv "${D}"usr/share/games/${PN} "${D}${GAMES_DATADIR}"
+ rm -f "${D}"usr/share/doc/${PF}/{MANIFEST.in,PKG-INFO}.gz
prepgamesdirs
}