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 | 04be615c2bb224c5a59e47b01dc5ab81b85b16c0 (patch) | |
tree | 73dddb09cb2302f33449b3b577f89c8301ed0c22 /games-simulation | |
parent | depend on sed >= 4; error messages (diff) | |
download | historical-04be615c2bb224c5a59e47b01dc5ab81b85b16c0.tar.gz historical-04be615c2bb224c5a59e47b01dc5ab81b85b16c0.tar.bz2 historical-04be615c2bb224c5a59e47b01dc5ab81b85b16c0.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 | 6 | ||||
-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, 64 insertions, 4 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..e9240f75ff82 100644 --- a/games-simulation/senken/Manifest +++ b/games-simulation/senken/Manifest @@ -1,4 +1,6 @@ -MD5 37891b8c1009d4b5703c1a2fe862e5b5 ChangeLog 530 +MD5 08dd8fdc0c8f38bf177d207f314b99d9 ChangeLog 667 MD5 ff9258b22bbaa725c74a425168eddeb1 senken-0.2.6.ebuild 1083 -MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 184f47beddf5bbcdb83a5ba3400a5f81 senken-0.3.0.ebuild 1283 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 +} |