diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-07 01:15:56 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-07 01:15:56 +0000 |
commit | 9ff6fb070a69ee3c7a3cc7fcabd92f2577c7176a (patch) | |
tree | 727a4f862ed915965ab0098b4a308d42685d7dc9 /games-simulation | |
parent | depend on sed >= 4; error messages (Manifest recommit) (diff) | |
download | gentoo-2-9ff6fb070a69ee3c7a3cc7fcabd92f2577c7176a.tar.gz gentoo-2-9ff6fb070a69ee3c7a3cc7fcabd92f2577c7176a.tar.bz2 gentoo-2-9ff6fb070a69ee3c7a3cc7fcabd92f2577c7176a.zip |
version bump (bug #43584)
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/senken/ChangeLog | 9 | ||||
-rw-r--r-- | games-simulation/senken/Manifest | 2 | ||||
-rw-r--r-- | games-simulation/senken/files/digest-senken-0.3.0 | 1 | ||||
-rw-r--r-- | games-simulation/senken/senken-0.3.0.ebuild | 52 |
4 files changed, 62 insertions, 2 deletions
diff --git a/games-simulation/senken/ChangeLog b/games-simulation/senken/ChangeLog index b753e6a1cd75..12745a7583a2 100644 --- a/games-simulation/senken/ChangeLog +++ b/games-simulation/senken/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-simulation/senken -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/ChangeLog,v 1.2 2003/09/12 15:43:45 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/ChangeLog,v 1.3 2004/03/07 01:15:56 mr_bones_ Exp $ + +*senken-0.3.0 (06 Mar 2004) + + 06 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> senken-0.3.0.ebuild: + version bump (bug #43584) 01 Jul 2003; Michael Sterrett <msterret@gentoo.org> senken-0.2.6.ebuild: use sed -i diff --git a/games-simulation/senken/Manifest b/games-simulation/senken/Manifest index 5a86ec5e3fb3..72afaff6b3c7 100644 --- a/games-simulation/senken/Manifest +++ b/games-simulation/senken/Manifest @@ -1,4 +1,6 @@ MD5 37891b8c1009d4b5703c1a2fe862e5b5 ChangeLog 530 MD5 ff9258b22bbaa725c74a425168eddeb1 senken-0.2.6.ebuild 1083 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 +MD5 ff9258b22bbaa725c74a425168eddeb1 senken-0.3.0.ebuild 1083 MD5 bd89d6772450df2aeb99ff1213ec5ab4 files/digest-senken-0.2.6 65 +MD5 f1875c2364dcc366833c7c888405013a files/digest-senken-0.3.0 65 diff --git a/games-simulation/senken/files/digest-senken-0.3.0 b/games-simulation/senken/files/digest-senken-0.3.0 new file mode 100644 index 000000000000..958742ea534d --- /dev/null +++ b/games-simulation/senken/files/digest-senken-0.3.0 @@ -0,0 +1 @@ +MD5 464f03baddad251f999174a274f0f422 senken-0.3.0.tar.gz 1391010 diff --git a/games-simulation/senken/senken-0.3.0.ebuild b/games-simulation/senken/senken-0.3.0.ebuild new file mode 100644 index 000000000000..92c6f5da1bfc --- /dev/null +++ b/games-simulation/senken/senken-0.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/senken-0.3.0.ebuild,v 1.1 2004/03/07 01:15:56 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="city simulation game" +HOMEPAGE="http://www.contrib.andrew.cmu.edu/~tmartin/senken/" +SRC_URI="http://www.contrib.andrew.cmu.edu/~tmartin/senken/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="nls" + +RDEPEND="virtual/x11 + =x11-libs/gtk+-1* + >=media-libs/libsdl-1.2.4 + media-libs/sdl-image" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} && \ + sed -i \ + -e "s:/usr/local/share:${GAMES_DATADIR}:" \ + lib/utils.h || die "sed lib/utils.h failed" + +} +src_compile() { + egamesconf `use_enable nls` || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS README TODO + + dodir "${GAMES_DATADIR}" + cd "${D}/${GAMES_PREFIX}" + mv share/senken "${D}/${GAMES_DATADIR}/" + rm -rf include lib man share + + insinto ${GAMES_DATADIR}/senken/img + doins ${S}/img/*.png + + find "${D}/${GAMES_DATADIR}/" -type f -exec chmod a-x \{\} \; + find "${D}/${GAMES_DATADIR}/" -name "Makefile.*" -exec rm -f \{\} \; + + prepgamesdirs +} |