summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-06-11 15:11:49 +0000
committerHanno Böck <hanno@gentoo.org>2008-06-11 15:11:49 +0000
commit8818781841606fcf99ef5699303600344647eedf (patch)
tree595fd7a3b00ca6f0e580b44ad8400cd5b6c3e5e2 /games-simulation
parentFix bug #225339 in gdk_window_get_frame_extents causing window misplacements ... (diff)
downloadgentoo-2-8818781841606fcf99ef5699303600344647eedf.tar.gz
gentoo-2-8818781841606fcf99ef5699303600344647eedf.tar.bz2
gentoo-2-8818781841606fcf99ef5699303600344647eedf.zip
initial micropolis package
(Portage version: 2.1.5.4)
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/micropolis/ChangeLog9
-rw-r--r--games-simulation/micropolis/Manifest5
-rw-r--r--games-simulation/micropolis/metadata.xml6
-rw-r--r--games-simulation/micropolis/micropolis-1.0.ebuild50
4 files changed, 70 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..ac1f6511f2c2
--- /dev/null
+++ b/games-simulation/micropolis/Manifest
@@ -0,0 +1,5 @@
+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 1116 RMD160 126c387e623857b0bac4867746e88fae79c4b042 SHA1 bc6e516f4ddc912f7215c28feb1ad8150d757ef6 SHA256 4d3c4fc10ad21e327e211b8a8fd4bfb5f47fe75bb00ce333b6d2b3bd702e473b
+MISC ChangeLog 301 RMD160 30c332add8b12d96c41b06ec007c208b9b63469a SHA1 e89924a7da410987f8e7dd949dd6a42c3f64383b SHA256 fa8206608ee35f8b6c91bbdb3c09d08357818fcce45983e69c33934863960eb5
+MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
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
+}