diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-18 02:08:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-18 02:08:33 +0000 |
commit | 7db39e289bed0a0eac45785f1b6470f491f0dcd9 (patch) | |
tree | 41d9bba76148fa1d0615f08809c55e3aa04238fe /games-arcade/xtux | |
parent | Added global "USE" flag "emboss". (diff) | |
download | historical-7db39e289bed0a0eac45785f1b6470f491f0dcd9.tar.gz historical-7db39e289bed0a0eac45785f1b6470f491f0dcd9.tar.bz2 historical-7db39e289bed0a0eac45785f1b6470f491f0dcd9.zip |
sed in unpack; tidy
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'games-arcade/xtux')
-rw-r--r-- | games-arcade/xtux/ChangeLog | 7 | ||||
-rw-r--r-- | games-arcade/xtux/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/xtux/xtux-20030306.ebuild | 32 |
3 files changed, 24 insertions, 19 deletions
diff --git a/games-arcade/xtux/ChangeLog b/games-arcade/xtux/ChangeLog index 0d49e1e7611e..7c5ff5a784a6 100644 --- a/games-arcade/xtux/ChangeLog +++ b/games-arcade/xtux/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/xtux -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xtux/ChangeLog,v 1.6 2004/08/30 23:39:58 dholm Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xtux/ChangeLog,v 1.7 2005/02/18 02:08:33 mr_bones_ Exp $ + + 17 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> xtux-20030306.ebuild: + sed in unpack; tidy 31 Aug 2004; David Holm <dholm@gentoo.org> xtux-20030306.ebuild: Added to ~ppc. diff --git a/games-arcade/xtux/Manifest b/games-arcade/xtux/Manifest index 032882dc8b2b..56728690554f 100644 --- a/games-arcade/xtux/Manifest +++ b/games-arcade/xtux/Manifest @@ -1,4 +1,4 @@ -MD5 bafcebff5208c9ef11754c01ebd6d541 ChangeLog 962 +MD5 79518e2354967efe5c1a422ce60110f6 ChangeLog 1066 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 69aa22e46bd4c44e5d55f63acf56f884 xtux-20030306.ebuild 931 +MD5 6a6157800eae435d8dc94680246e4542 xtux-20030306.ebuild 955 MD5 ae206f62d4928ea9a2064d36dea9d6b5 files/digest-xtux-20030306 70 diff --git a/games-arcade/xtux/xtux-20030306.ebuild b/games-arcade/xtux/xtux-20030306.ebuild index d99bbdaab3db..bcf81255e7fe 100644 --- a/games-arcade/xtux/xtux-20030306.ebuild +++ b/games-arcade/xtux/xtux-20030306.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xtux/xtux-20030306.ebuild,v 1.8 2004/08/30 23:39:58 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xtux/xtux-20030306.ebuild,v 1.9 2005/02/18 02:08:33 mr_bones_ Exp $ inherit games @@ -10,28 +10,30 @@ SRC_URI="mirror://sourceforge/xtux/xtux-src-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 amd64 ~ppc" +KEYWORDS="amd64 ~ppc x86" IUSE="" -RDEPEND="virtual/x11" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +DEPEND="virtual/x11" -S="${WORKDIR}/${PN}" +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:-g -Wall -O2:${CFLAGS}:" \ + src/{client,common,server}/Makefile \ + || die "sed failed" +} src_compile() { - for f in src/{client,common,server}/Makefile ; do - sed -i \ - -e "s:-g -Wall -O2:${CFLAGS}:" ${f} \ - || die "sed ${F} failed" - done emake DATADIR="${GAMES_DATADIR}/xtux/data" || die "emake failed" } src_install () { - dogamesbin xtux tux_serv - dodir ${GAMES_DATADIR}/xtux - cp -r data ${D}/${GAMES_DATADIR}/xtux/ + dogamesbin xtux tux_serv || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/xtux" + cp -r data "${D}/${GAMES_DATADIR}/xtux/" || die "cp failed" dodoc AUTHORS CHANGELOG README README.GGZ doc/* prepgamesdirs } |