From ea521289f3cb0ac9684eb7c7f3dcd70cb07eae1d Mon Sep 17 00:00:00 2001 From: Nikos Chantziaras Date: Sun, 24 Apr 2011 04:34:30 +0300 Subject: [PATCH] frobtads: update live ebuild, import metadata.xml --- games-engines/frobtads/Manifest | 3 ++- games-engines/frobtads/frobtads-9999.ebuild | 21 ++++++++------------- games-engines/frobtads/metadata.xml | 9 +++++++++ 3 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 games-engines/frobtads/metadata.xml diff --git a/games-engines/frobtads/Manifest b/games-engines/frobtads/Manifest index 4d27e97..b1b09fa 100644 --- a/games-engines/frobtads/Manifest +++ b/games-engines/frobtads/Manifest @@ -2,4 +2,5 @@ DIST frobtads-1.0.tar.gz 1513973 RMD160 72cf59be7bf780a89dcb56c7f6f3f1aa880b132e DIST frobtads-t2compiler-1.0.tar.gz 131319 RMD160 78a352f79dd4a721e8ed41f112e831fc8f8d5e07 SHA1 b299d0133bda7d0591b39efb131a3af140eb57d7 SHA256 3f67e45f86905f53f9947b0512de53729dd219d1df8743d6c3e5d4404a0b0af6 DIST frobtads-t3compiler-1.0.tar.gz 2206632 RMD160 b5bfaf2c116afc1e8e4cf7eaf5cfc411938b3e1b SHA1 76520c66aa19ffea7557a4f8e8187bdb5b0b0ef9 SHA256 049691706e9ed8b2e81914dfc831003eb476483c462939da802a2769725ea16a EBUILD frobtads-1.0.ebuild 1614 RMD160 b5c769c2756bc4c26bddf58f1857d0b75081ae5c SHA1 1ba2930ffb670d3f675bb6b21715749b6dfa60d0 SHA256 ae5cade7d351ce1331795d10b5bdb65316addbf073ea8d8096c29e46ceaf02d9 -EBUILD frobtads-9999.ebuild 1952 RMD160 6a4858d29339891bbbe5f031147e597c4689df29 SHA1 682f0977b28e828648be49a843987e5b2d4d001c SHA256 34e8889209daeab677fdf2f5fbc286a7e9e928f0f4f717e63702c35df8c2868a +EBUILD frobtads-9999.ebuild 1812 RMD160 5a8eec67fd1fd5d8ee6bdb2c1e476eb96a648b52 SHA1 a89385bc6eea899f958a38c3088a1c5a1e4dee81 SHA256 9a5209ad8ade4584439f7faf6a37bb64834f58031e97bdeb53e443622a5a1905 +MISC metadata.xml 295 RMD160 f8cea63af81cfcbf3f60ba5f52d5283aaf2a377c SHA1 41a9092bbaa5046bb983438be5aa920c85e646f6 SHA256 37acff33478d448e8fe70199d854a4b9469f884afd131c336213f679d8787e05 diff --git a/games-engines/frobtads/frobtads-9999.ebuild b/games-engines/frobtads/frobtads-9999.ebuild index a55789c..3215ae1 100644 --- a/games-engines/frobtads/frobtads-9999.ebuild +++ b/games-engines/frobtads/frobtads-9999.ebuild @@ -18,30 +18,21 @@ if [ "$PV" != "9999" ]; then tads2compiler? ( http://www.tads.org/frobtads/${PN}-t2compiler-${PV}.tar.gz ) tads3compiler? ( http://www.tads.org/frobtads/${PN}-t3compiler-${PV}.tar.gz )" KEYWORDS="~amd64 ~x86" - IUSE="debug tads2compiler tads3compiler" - RESTRICT="!tads3compiler? ( test )" else SRC_URI="" EGIT_REPO_URI="git://git.assembla.com/frobtads.git" KEYWORDS="" - IUSE="debug" fi LICENSE="TADS2 TADS3" SLOT="0" +RESTRICT="!tads3compiler? ( test )" +IUSE="debug +tads2compiler +tads3compiler" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" src_unpack() { - if [ "${PV}" != "9999" ]; then - unpack ${A} - if use tads2compiler; then - mv t2compiler/* "${S}"/t2compiler || die "mv t2compiler failed" - fi - if use tads3compiler; then - mv t3compiler/* "${S}"/t3compiler || die "mv t3compiler failed" - fi - else + if [ "${PV}" == "9999" ]; then git_src_unpack cd "${S}" einfo "Regenerating autotools files..." @@ -51,7 +42,11 @@ src_unpack() { src_configure() { append-cxxflags -fno-strict-aliasing - egamesconf $(use_enable debug t3debug) || die "egamesconf failed" + egamesconf \ + $(use_enable debug t3debug) \ + $(use_enable tads2compiler t2-compiler) \ + $(use_enable tads3compiler t3-compiler) \ + || die "egamesconf failed" } src_test() { diff --git a/games-engines/frobtads/metadata.xml b/games-engines/frobtads/metadata.xml new file mode 100644 index 0000000..3a1d0ec --- /dev/null +++ b/games-engines/frobtads/metadata.xml @@ -0,0 +1,9 @@ + + + + games + + Build TADS2 compiler + Build TADS3 compiler + + -- 2.11.4.GIT