From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/
Date: Fri, 11 Nov 2016 19:39:07 +0000 (UTC) [thread overview]
Message-ID: <1478893137.d12b75fa62a5f5230c4624cf142b845ccedfa66d.wizardedit@gentoo> (raw)
commit: d12b75fa62a5f5230c4624cf142b845ccedfa66d
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 2 22:04:46 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 19:38:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12b75fa
games-engines/frotz: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.2
.../frotz/files/frotz-2.43-glibc2.10.patch | 4 +-
games-engines/frotz/files/frotz-2.43-ldflags.patch | 4 +-
games-engines/frotz/frotz-2.43-r1.ebuild | 53 ++++++++++++++++++++++
3 files changed, 57 insertions(+), 4 deletions(-)
diff --git a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
index 71760cc..3f2639e 100644
--- a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
+++ b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
@@ -1,5 +1,5 @@
---- src/dumb/dumb_input.c
-+++ src/dumb/dumb_input.c
+--- a/src/dumb/dumb_input.c
++++ b/src/dumb/dumb_input.c
@@ -79,7 +79,7 @@
/* Read one line, including the newline, into s. Safely avoids buffer
* overruns (but that's kind of pointless because there are several
diff --git a/games-engines/frotz/files/frotz-2.43-ldflags.patch b/games-engines/frotz/files/frotz-2.43-ldflags.patch
index 16a0df3..c8b4e35 100644
--- a/games-engines/frotz/files/frotz-2.43-ldflags.patch
+++ b/games-engines/frotz/files/frotz-2.43-ldflags.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2010-10-04 14:13:37.000000000 +0200
-+++ Makefile 2010-10-04 14:14:06.000000000 +0200
+--- a/Makefile 2010-10-04 14:13:37.000000000 +0200
++++ b/Makefile 2010-10-04 14:14:06.000000000 +0200
@@ -162,7 +162,7 @@
$(NAME): $(NAME)-curses
diff --git a/games-engines/frotz/frotz-2.43-r1.ebuild b/games-engines/frotz/frotz-2.43-r1.ebuild
new file mode 100644
index 00000000..c805a54
--- /dev/null
+++ b/games-engines/frotz/frotz-2.43-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Curses based interpreter for Z-code based text games"
+HOMEPAGE="http://frotz.sourceforge.net/"
+SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa oss"
+
+DEPEND="sys-libs/ncurses:0
+ alsa? ( oss? ( media-libs/alsa-oss ) )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-glibc2.10.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/^CC /d' \
+ Makefile \
+ || die
+}
+
+src_compile() {
+ local OPTS="CONFIG_DIR=/etc"
+ use oss && OPTS="${OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp"
+ emake ${OPTS} all
+}
+
+src_install () {
+ dobin {d,}frotz
+ doman doc/*.6
+ dodoc AUTHORS BUGS ChangeLog HOW_TO_PLAY README TODO \
+ doc/{frotz.conf-big,frotz.conf-small}
+}
+
+pkg_postinst() {
+ echo
+ elog "Global config file can be installed in /etc/frotz.conf"
+ elog "Sample config files are in /usr/share/doc/${PF}"
+ echo
+}
next reply other threads:[~2016-11-11 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 19:39 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-09-03 22:31 [gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/ James Le Cuirot
2019-10-26 13:29 James Le Cuirot
2020-06-02 0:15 Stefan Strogin
2024-05-21 22:00 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478893137.d12b75fa62a5f5230c4624cf142b845ccedfa66d.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox