Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/frobtads/
Date: Fri, 01 Apr 2016 19:56:43
Message-Id: 1459540150.4db2df77ff56124a895d5c7d8a7ca080f7a5666e.mr_bones_@gentoo
1 commit: 4db2df77ff56124a895d5c7d8a7ca080f7a5666e
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 19:47:28 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 19:49:10 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db2df77
7
8 games-engines/frobtads: version bump
9
10 Package-Manager: portage-2.2.26
11
12 games-engines/frobtads/Manifest | 1 +
13 games-engines/frobtads/frobtads-1.2.3.ebuild | 49 ++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/games-engines/frobtads/Manifest b/games-engines/frobtads/Manifest
17 index ce82383..4ed780f 100644
18 --- a/games-engines/frobtads/Manifest
19 +++ b/games-engines/frobtads/Manifest
20 @@ -1 +1,2 @@
21 DIST frobtads-1.2.2.tar.gz 5213193 SHA256 f2802f6b8b2fb1e2a2c46cdec92b32e7135b6aceb3054a588eb9ebb9434a186e SHA512 14c0c8a624632b00a7615e643f592eac2d6a0a523f9e019527e9ae8f04402cc4ee1568417bacbfdfd31df6452536a65e012ba0f0d3cced8ba6901988e7a5bc42 WHIRLPOOL ffdd10df65bdd11512c115d8ef0a9a990fa31220628b437eb351eddd2a260fd51d838096cd9860c737861f941e18c148b85a15388c2544e047f6f2ef589ae9b3
22 +DIST frobtads-1.2.3.tar.gz 5227704 SHA256 88c6a987813d4be1420a1c697e99ecef4fa9dd9bc922be4acf5a3054967ee788 SHA512 4efb888860edda24bb5a5812967d0b863614558e9839cf0cfabc649ab0175719bf663de5e725034ba160c015d269dbe2df046cf47ad1019e668bf5b1fb564d7d WHIRLPOOL 47f23a3d8adbaea2c450c794923a23c516db7aecc1334aa2907dca77c2dabfd3a9707a9b7a3c1bd06cac3df648a33a9543ad1f3401eeb45d765ac845a76884bb
23
24 diff --git a/games-engines/frobtads/frobtads-1.2.3.ebuild b/games-engines/frobtads/frobtads-1.2.3.ebuild
25 new file mode 100644
26 index 0000000..207ad5a
27 --- /dev/null
28 +++ b/games-engines/frobtads/frobtads-1.2.3.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +inherit eutils flag-o-matic games
36 +
37 +DESCRIPTION="Curses-based interpreter and development tools for TADS 2 and TADS 3 text adventures"
38 +HOMEPAGE="http://www.tads.org/frobtads.htm"
39 +SRC_URI="http://www.tads.org/frobtads/${P}.tar.gz"
40 +
41 +LICENSE="TADS2 TADS3"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="debug tads2compiler tads3compiler"
45 +
46 +RESTRICT="!tads3compiler? ( test )"
47 +
48 +RDEPEND="net-misc/curl
49 + sys-libs/ncurses:0"
50 +DEPEND=${RDEPEND}
51 +
52 +DOCS=( doc/{AUTHORS,BUGS,ChangeLog.old,NEWS,README,SRC_GUIDELINES,THANKS} )
53 +
54 +src_configure() {
55 + append-cxxflags -fpermissive
56 + append-libs $(curl-config --libs)
57 + egamesconf \
58 + $(use_enable debug t3debug) \
59 + $(use_enable debug error-checking) \
60 + $(use_enable tads2compiler t2-compiler) \
61 + $(use_enable tads3compiler t3-compiler)
62 +}
63 +
64 +src_test() {
65 + emake -j1 sample
66 + ./frob -i plain -p samples/sample.t3 <<- END_FROB_TEST
67 + save
68 + testsave.sav
69 + restore
70 + testsave.sav
71 + END_FROB_TEST
72 + [[ $? -eq 0 ]] || die "Failed to run test game"
73 +}
74 +
75 +src_install() {
76 + default
77 + prepgamesdirs
78 +}