summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/micropolis')
-rw-r--r--games-simulation/micropolis/ChangeLog9
-rw-r--r--games-simulation/micropolis/Manifest15
-rw-r--r--games-simulation/micropolis/metadata.xml6
-rw-r--r--games-simulation/micropolis/micropolis-1.0.ebuild50
4 files changed, 80 insertions, 0 deletions
diff --git a/games-simulation/micropolis/ChangeLog b/games-simulation/micropolis/ChangeLog
new file mode 100644
index 000000000000..d8fc9bbdd68f
--- /dev/null
+++ b/games-simulation/micropolis/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-simulation/micropolis
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/micropolis/ChangeLog,v 1.1 2008/06/11 15:11:49 hanno Exp $
+
+*micropolis-1.0 (11 Jun 2008)
+
+ 11 Jun 2008; Hanno Boeck <hanno@gentoo.org> +micropolis-1.0.ebuild:
+ Initial commit, based on the ebuilds from matsuu and Mike Gualtieri.
+
diff --git a/games-simulation/micropolis/Manifest b/games-simulation/micropolis/Manifest
new file mode 100644
index 000000000000..8a1903f89e4b
--- /dev/null
+++ b/games-simulation/micropolis/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST micropolis-activity-source.tgz 7676438 RMD160 0a683d86b1b0b1ae743abf4488293005ad3da87d SHA1 fe5b47bc63cee6f17d199772d8d0d50996dcacbb SHA256 1b3c72dc3680a34b5fc5a740a6fb5cfc0b8775514da8ab7bb3b2965b20d4f8bc
+DIST micropolis_git.patch 83549 RMD160 3014255b9426bc2bfb25ae22631ff16701022303 SHA1 82ceb5c43c2c9a6121b02b64c5780eaa755106af SHA256 13419a4394242cd11d5cabd8b1b50787282ea16b55fdcfbeadf8505af46b0592
+EBUILD micropolis-1.0.ebuild 1226 RMD160 1d38dfb3c6a705bb94efef1f4e9cb0b4f8f1b8f9 SHA1 843b510984430a4f43d745964b46b3103e67f2ee SHA256 e36a29d906a67efed4583a20aede86f7cf186fbcb6e1fe75916c5200d37bc2d4
+MISC ChangeLog 399 RMD160 ecd8fc08f9d5d391256cc18f8cd97a89b42a099a SHA1 c6d501461991f2ec1e81dcc68e16e49a016cb8c0 SHA256 4dca843d048cf84c728de0aa532acfee2569c0b72c7a511b00d38b18154fb2fb
+MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhP6zsACgkQr2QksT29OyA1VwCfTWLXjjIZFSU62mKVzw8Ttwbw
+q+YAmQH2guUnirAb3Skw+f0CNCBDrpZo
+=F505
+-----END PGP SIGNATURE-----
diff --git a/games-simulation/micropolis/metadata.xml b/games-simulation/micropolis/metadata.xml
new file mode 100644
index 000000000000..efa54454de71
--- /dev/null
+++ b/games-simulation/micropolis/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/games-simulation/micropolis/micropolis-1.0.ebuild b/games-simulation/micropolis/micropolis-1.0.ebuild
new file mode 100644
index 000000000000..dde011b3c5fa
--- /dev/null
+++ b/games-simulation/micropolis/micropolis-1.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild,v 1.1 2008/06/11 15:11:49 hanno Exp $
+
+inherit eutils games
+
+DESCRIPTION="Micropolis - free version of the well known city building simulation"
+HOMEPAGE="http://www.donhopkins.com/home/micropolis/"
+SRC_URI="http://www.donhopkins.com/home/micropolis/${PN}-activity-source.tgz
+ http://rmdir.de/~michael/${PN}_git.patch"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXpm
+ media-libs/libsdl"
+DEPEND="${RDEPEND}
+ sys-devel/bison"
+
+S="${WORKDIR}/${PN}-activity/"
+
+dir="${GAMES_DATADIR}/${PN}"
+
+src_unpack() {
+ unpack "${PN}-activity-source.tgz"
+ cd "${S}"
+
+ epatch "${DISTDIR}"/${PN}_git.patch
+ sed -i -e "s:-O3:${CFLAGS}:" \
+ src/tclx/config.mk src/{sim,tcl,tk}/makefile || die
+}
+
+src_compile() {
+ cd src
+ emake || die
+}
+
+src_install() {
+ exeinto "${dir}/res"
+ doexe src/sim/sim || die
+ insinto "${dir}"
+ doins -r activity cities images manual res || die
+
+ games_make_wrapper micropolis res/sim "${dir}"
+ doicon Micropolis.png
+ make_desktop_entry micropolis "Micropolis" Micropolis.png
+}