summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-04-21 20:43:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-04-21 20:43:44 +0000
commit7b88b28ae7aaec019b91b257aefbfefe595c04c7 (patch)
tree312cc6d08bd05f126743488785950f8183f802af /games-arcade/circuslinux
parentStable on sparc wrt security #128838 (diff)
downloadgentoo-2-7b88b28ae7aaec019b91b257aefbfefe595c04c7.tar.gz
gentoo-2-7b88b28ae7aaec019b91b257aefbfefe595c04c7.tar.bz2
gentoo-2-7b88b28ae7aaec019b91b257aefbfefe595c04c7.zip
don't install docs in /usr/games/share (bug #130510); use DESTDIR in src_install
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-arcade/circuslinux')
-rw-r--r--games-arcade/circuslinux/ChangeLog7
-rw-r--r--games-arcade/circuslinux/circuslinux-1.0.3.ebuild18
2 files changed, 19 insertions, 6 deletions
diff --git a/games-arcade/circuslinux/ChangeLog b/games-arcade/circuslinux/ChangeLog
index 62db84170ddb..56d7c8344258 100644
--- a/games-arcade/circuslinux/ChangeLog
+++ b/games-arcade/circuslinux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/circuslinux
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/circuslinux/ChangeLog,v 1.11 2006/01/06 00:44:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/circuslinux/ChangeLog,v 1.12 2006/04/21 20:43:44 mr_bones_ Exp $
+
+ 21 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ circuslinux-1.0.3.ebuild:
+ don't install docs in /usr/games/share (bug #130510); use DESTDIR in
+ src_install
06 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org>
circuslinux-1.0.3.ebuild:
diff --git a/games-arcade/circuslinux/circuslinux-1.0.3.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3.ebuild
index 291774129a96..9dae6fa4f6d4 100644
--- a/games-arcade/circuslinux/circuslinux-1.0.3.ebuild
+++ b/games-arcade/circuslinux/circuslinux-1.0.3.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-arcade/circuslinux/circuslinux-1.0.3.ebuild,v 1.11 2006/01/06 00:44:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/circuslinux/circuslinux-1.0.3.ebuild,v 1.12 2006/04/21 20:43:44 mr_bones_ Exp $
inherit gnuconfig games
@@ -17,14 +17,22 @@ DEPEND="media-libs/libsdl
media-libs/sdl-image
media-libs/sdl-mixer"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^install-data-am/d" \
+ Makefile.in \
+ || die "sed failed"
+ sed -i \
+ -e 's/\$(pkgdatadir)/$(DESTDIR)&/' \
+ data/Makefile.in \
+ || die "sed failed"
gnuconfig_update
- egamesconf || die
- emake || die "emake failed"
}
src_install () {
- egamesinstall || die
+ make DESTDIR="${D}" install || die "make install failed"
dodoc *.txt
prepgamesdirs
}