From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7831E138330 for ; Fri, 16 Sep 2016 19:38:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59D3CE099D; Fri, 16 Sep 2016 19:38:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F543E099D for ; Fri, 16 Sep 2016 19:38:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5334A3408DD for ; Fri, 16 Sep 2016 19:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE2072481 for ; Fri, 16 Sep 2016 19:38:14 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1474054678.123ec368a1004f2cd4cb4b52d53c6942a95322ab.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/micropolis/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/micropolis/micropolis-1.0-r1.ebuild X-VCS-Directories: games-simulation/micropolis/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 123ec368a1004f2cd4cb4b52d53c6942a95322ab X-VCS-Branch: master Date: Fri, 16 Sep 2016 19:38:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a3f9de4b-e30e-47ea-9c52-698a2e0ec45e X-Archives-Hash: a4fd20c69e91b64c8c552e032d27f398 commit: 123ec368a1004f2cd4cb4b52d53c6942a95322ab Author: Austin English gentoo org> AuthorDate: Fri Sep 16 17:51:55 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Sep 16 19:37:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123ec368 games-simulation/micropolis: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../micropolis/micropolis-1.0-r1.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/games-simulation/micropolis/micropolis-1.0-r1.ebuild b/games-simulation/micropolis/micropolis-1.0-r1.ebuild new file mode 100644 index 00000000..4d9db49 --- /dev/null +++ b/games-simulation/micropolis/micropolis-1.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="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=" + media-libs/libsdl + media-libs/sdl-mixer + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND} + sys-devel/bison" + +S=${WORKDIR}/${PN}-activity/ + +PATCHES=( + "${DISTDIR}"/${PN}_git.patch +) + +src_unpack() { + unpack ${PN}-activity-source.tgz +} + +src_prepare() { + default + + sed -i -e "s:-O3:${CFLAGS}:" \ + src/tclx/config.mk src/{sim,tcl,tk}/makefile || die + sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \ + src/tclx/config.mk || die +} + +src_compile() { + emake -C src LDFLAGS="${LDFLAGS}" +} + +src_install() { + local dir=/usr/share/${PN} + + exeinto "${dir}/res" + doexe src/sim/sim + insinto "${dir}" + doins -r activity cities images manual res + + make_wrapper micropolis res/sim "${dir}" + doicon Micropolis.png + make_desktop_entry micropolis "Micropolis" Micropolis +}