summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-04-01 15:47:28 -0400
committerMichael Sterrett <mr_bones_@gentoo.org>2016-04-01 15:49:10 -0400
commit4db2df77ff56124a895d5c7d8a7ca080f7a5666e (patch)
treeb8e550a9678e703adb966e6e4b084ab082c591de /games-engines/frobtads/frobtads-1.2.3.ebuild
parentdev-python/cffi: arm stable, bug #577824 (diff)
downloadgentoo-4db2df77ff56124a895d5c7d8a7ca080f7a5666e.tar.gz
gentoo-4db2df77ff56124a895d5c7d8a7ca080f7a5666e.tar.bz2
gentoo-4db2df77ff56124a895d5c7d8a7ca080f7a5666e.zip
games-engines/frobtads: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-engines/frobtads/frobtads-1.2.3.ebuild')
-rw-r--r--games-engines/frobtads/frobtads-1.2.3.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/games-engines/frobtads/frobtads-1.2.3.ebuild b/games-engines/frobtads/frobtads-1.2.3.ebuild
new file mode 100644
index 000000000000..207ad5aed071
--- /dev/null
+++ b/games-engines/frobtads/frobtads-1.2.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic games
+
+DESCRIPTION="Curses-based interpreter and development tools for TADS 2 and TADS 3 text adventures"
+HOMEPAGE="http://www.tads.org/frobtads.htm"
+SRC_URI="http://www.tads.org/frobtads/${P}.tar.gz"
+
+LICENSE="TADS2 TADS3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug tads2compiler tads3compiler"
+
+RESTRICT="!tads3compiler? ( test )"
+
+RDEPEND="net-misc/curl
+ sys-libs/ncurses:0"
+DEPEND=${RDEPEND}
+
+DOCS=( doc/{AUTHORS,BUGS,ChangeLog.old,NEWS,README,SRC_GUIDELINES,THANKS} )
+
+src_configure() {
+ append-cxxflags -fpermissive
+ append-libs $(curl-config --libs)
+ egamesconf \
+ $(use_enable debug t3debug) \
+ $(use_enable debug error-checking) \
+ $(use_enable tads2compiler t2-compiler) \
+ $(use_enable tads3compiler t3-compiler)
+}
+
+src_test() {
+ emake -j1 sample
+ ./frob -i plain -p samples/sample.t3 <<- END_FROB_TEST
+ save
+ testsave.sav
+ restore
+ testsave.sav
+ END_FROB_TEST
+ [[ $? -eq 0 ]] || die "Failed to run test game"
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}