diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-02-14 02:37:23 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-02-14 02:37:23 +0000 |
commit | 9f4ec7ba1a690af6ac3cace33311865e33fc1af1 (patch) | |
tree | faef2aa770c769941a97d0731c713fe564b38638 /games-strategy/galaxyhack | |
parent | rm old file (diff) | |
download | gentoo-2-9f4ec7ba1a690af6ac3cace33311865e33fc1af1.tar.gz gentoo-2-9f4ec7ba1a690af6ac3cace33311865e33fc1af1.tar.bz2 gentoo-2-9f4ec7ba1a690af6ac3cace33311865e33fc1af1.zip |
Move icon to mirror://gentoo
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-strategy/galaxyhack')
-rw-r--r-- | games-strategy/galaxyhack/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/galaxyhack/files/digest-galaxyhack-1.69 | 3 | ||||
-rw-r--r-- | games-strategy/galaxyhack/files/galaxyhack.png | bin | 819 -> 0 bytes | |||
-rw-r--r-- | games-strategy/galaxyhack/galaxyhack-1.69.ebuild | 42 |
4 files changed, 36 insertions, 17 deletions
diff --git a/games-strategy/galaxyhack/ChangeLog b/games-strategy/galaxyhack/ChangeLog index 0d89c065926d..f9e61bcd7575 100644 --- a/games-strategy/galaxyhack/ChangeLog +++ b/games-strategy/galaxyhack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/galaxyhack -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.2 2006/11/20 06:22:48 beandog Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.3 2007/02/14 02:37:23 nyhm Exp $ + + 14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/galaxyhack.png, + galaxyhack-1.69.ebuild: + Move icon to mirror://gentoo 20 Nov 2006; Steve Dibb <beandog@gentoo.org> metadata.xml: Fix metadata herd, add maintainer email diff --git a/games-strategy/galaxyhack/files/digest-galaxyhack-1.69 b/games-strategy/galaxyhack/files/digest-galaxyhack-1.69 index 7b53b3218f8a..1cfca8ef3f7e 100644 --- a/games-strategy/galaxyhack/files/digest-galaxyhack-1.69 +++ b/games-strategy/galaxyhack/files/digest-galaxyhack-1.69 @@ -1,3 +1,6 @@ MD5 51482e724455a9a7fc693bb157960a40 galaxyhack-1.69.tar.bz2 9947643 RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa galaxyhack-1.69.tar.bz2 9947643 SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17 galaxyhack-1.69.tar.bz2 9947643 +MD5 3a021fd03b792f9d2ef04715a7b83211 galaxyhack.png 819 +RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 galaxyhack.png 819 +SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903 galaxyhack.png 819 diff --git a/games-strategy/galaxyhack/files/galaxyhack.png b/games-strategy/galaxyhack/files/galaxyhack.png Binary files differdeleted file mode 100644 index e96b3924b133..000000000000 --- a/games-strategy/galaxyhack/files/galaxyhack.png +++ /dev/null diff --git a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild index 91b25114f1b2..6eca78ba4779 100644 --- a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild +++ b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild @@ -1,12 +1,14 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.1 2006/10/30 20:01:32 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.2 2007/02/14 02:37:23 nyhm Exp $ inherit eutils games DESCRIPTION="Multiplayer AI script based strategy game." HOMEPAGE="http://galaxyhack.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + mirror://gentoo/${PN}.png" + LICENSE="GPL-2 galaxyhack" SLOT="0" KEYWORDS="~amd64 ~x86" @@ -17,34 +19,44 @@ DEPEND="media-libs/libsdl media-libs/sdl-mixer dev-libs/boost" -S="${WORKDIR}/${PN}/src" +S=${WORKDIR}/${PN}/src src_unpack() { unpack ${A} cd "${S}" edos2unix Makefile epatch "${FILESDIR}"/${P}-destdirs.patch - sed -i -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ - Main.cpp - sed -i -e "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \ - ../settings.dat + sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ + Main.cpp \ + || die "sed Main.cpp failed" + sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \ + ../settings.dat \ + || die "sed settings.dat failed" + sed -i \ + -e "/^CXXFLAGS/s:-O3:${CXXFLAGS}:" \ + -e '/^LDFLAGS/s:=:+=:' \ + Makefile \ + || die "sed Makefile failed" } src_install() { dogamesbin "${PN}" || die "dogamesbin failed" cd .. - insinto "${GAMES_DATADIR}/${PN}" + insinto "${GAMES_DATADIR}"/${PN} doins -r fleets gamedata graphics music standardpictures \ settings.dat || die "doins failed" - dodoc readme.txt || die "dodoc failed" - doicon "${FILESDIR}/${PN}.png" || die "doicon failed" - make_desktop_entry "${PN}" GalaxyHack "${PN}.png" + dodoc readme.txt + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} GalaxyHack prepgamesdirs } pkg_postinst() { games_pkg_postinst - einfo "Settings will default to those found in ${GAMES_DATADIR}/galaxyhack/settings.dat." - einfo "Per user settings can be specified by creating \$HOME/.galaxyhack/settings.dat" - einfo "Additional user submitted fleets can be downloaded from http://galaxyhack.sourceforge.net/viewfleets.php" + elog "Settings will default to those found in" + elog "${GAMES_DATADIR}/galaxyhack/settings.dat" + elog "Per user settings can be specified by creating" + elog "~/.galaxyhack/settings.dat" + elog "Additional user submitted fleets can be downloaded from" + elog "http://galaxyhack.sourceforge.net/viewfleets.php" } |