summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/jif/ChangeLog8
-rw-r--r--dev-util/jif/Manifest5
-rw-r--r--dev-util/jif/files/digest-jif-3_rc11
-rwxr-xr-xdev-util/jif/files/jif9
-rw-r--r--dev-util/jif/jif-3_rc1.ebuild60
-rw-r--r--dev-util/jif/metadata.xml15
6 files changed, 98 insertions, 0 deletions
diff --git a/dev-util/jif/ChangeLog b/dev-util/jif/ChangeLog
new file mode 100644
index 000000000000..e9d485d1d50c
--- /dev/null
+++ b/dev-util/jif/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-util/jif
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/ChangeLog,v 1.1 2006/01/26 14:39:17 s4t4n Exp $
+
+*jif-3_rc1 (26 Jan 2006)
+
+ 26 Jan 2006; Michele Noberasco <s4t4n@gentoo.org> jif-3_rc1.ebuild:
+ Initial import.
diff --git a/dev-util/jif/Manifest b/dev-util/jif/Manifest
new file mode 100644
index 000000000000..f41afe65d56e
--- /dev/null
+++ b/dev-util/jif/Manifest
@@ -0,0 +1,5 @@
+MD5 530acaea13be9ddf7ae92a655897d731 ChangeLog 227
+MD5 d4165d3b9c0ca4fda3e527ab18db4a97 files/digest-jif-3_rc1 61
+MD5 5d6dc68efc0eef51e5cce060f50197f0 files/jif 82
+MD5 7f2cc4583a41a2e48a12945b5321ce8f jif-3_rc1.ebuild 1956
+MD5 1b084c776bb10938d130df4266f0b3dd metadata.xml 545
diff --git a/dev-util/jif/files/digest-jif-3_rc1 b/dev-util/jif/files/digest-jif-3_rc1
new file mode 100644
index 000000000000..43f7ca0b8180
--- /dev/null
+++ b/dev-util/jif/files/digest-jif-3_rc1
@@ -0,0 +1 @@
+MD5 0804e8e053e6f68bf9794a4bbae70514 JIF3_src_RC1.zip 253462
diff --git a/dev-util/jif/files/jif b/dev-util/jif/files/jif
new file mode 100755
index 000000000000..6d6b06ef9205
--- /dev/null
+++ b/dev-util/jif/files/jif
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+wd=`pwd`
+
+cd ${HOME}
+
+java -jar /usr/share/jif/lib/Jif.jar &
+
+cd ${wd}
diff --git a/dev-util/jif/jif-3_rc1.ebuild b/dev-util/jif/jif-3_rc1.ebuild
new file mode 100644
index 000000000000..c6a744be5c4e
--- /dev/null
+++ b/dev-util/jif/jif-3_rc1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/jif-3_rc1.ebuild,v 1.1 2006/01/26 14:39:17 s4t4n Exp $
+
+inherit java-pkg
+
+MY_PN=${PN/jif/JIF}
+MY_PV=${PV/rc/RC}
+MY_PV_MAJOR=${MY_PV/_*/}
+MY_PV_MINOR=${MY_PV/*_/}
+MY_P=${MY_PN}${MY_PV_MAJOR}_src_${MY_PV_MINOR}
+
+IUSE=""
+
+DESCRIPTION="JIF is an IDE for the creation of text adventures based on Graham Nelson's Inform standard."
+HOMEPAGE="http://www.slade.altervista.org/JIF/"
+SRC_URI="http://www.slade.altervista.org/JIF/download/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=virtual/jdk-1.4
+ >=sys-apps/sed-4.1.4"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-lang/inform-6.21.4
+ >=games-engines/gargoyle-20051002"
+
+S=${WORKDIR}/src
+
+src_compile()
+{
+ # Compile classes just as it is done upstream
+ javac -source 1.4 -O -classpath . *.java
+
+ # Adapt default Jif.cfg file to Gentoo
+ sed -i -e "s:\[EXECUTE\]e\,explorer.exe:#\[EXECUTE\]e\,explorer.exe:" Jif.cfg
+ sed -i -e "s:\[EXECUTE\]d\,hh.exe\ C\:\\\Jif\\\doc\\\prova.chm:#\[EXECUTE\]d\,hh.exe\ C\:\\\Jif\\\doc\\\prova.chm:" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Lib\\\Base:/usr/share/inform/6.21/module:" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Lib\\\Contrib::" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Games::" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Bin\\\interpreter\\\Frotz\\\Frotz.exe:/usr/bin/frotz:" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Bin\\\interpreter\\\Gargoyle\\\Gargoyle.exe:/usr/bin/gargoyle:" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Bin\\\compiler\\\inform.exe:/usr/bin/inform:" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Bin\\\tools\\\Blorb\\\bres.exe::" Jif.cfg
+ sed -i -e "s:C\:\\\Inform\\\Bin\\\tools\\\Blorb\\\blc.exe::" Jif.cfg
+ sed -i -e "s:Italian,on:Italian,off:" Jif.cfg
+ sed -i -e "s:English,off:English,on:" Jif.cfg
+
+ # Pack them as upstream
+ jar cvfm Jif.jar MANIFEST.MF *.class *.properties images/*.png readme.txt Jif.cfg
+}
+
+src_install()
+{
+ java-pkg_dojar Jif.jar
+ dobin ${FILESDIR}/jif
+ dodoc CHANGELOG.txt readme.txt
+}
diff --git a/dev-util/jif/metadata.xml b/dev-util/jif/metadata.xml
new file mode 100644
index 000000000000..6b5bc167b0ff
--- /dev/null
+++ b/dev-util/jif/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>s4t4n@gentoo.org</email>
+ <name>Michele Noberasco</name>
+</maintainer>
+<longdescription>
+JIF is an Integrated Development Environment (IDE), written entirely in Java,
+for the creation of text adventures based on Graham Nelson's Inform standard.
+With JIF it's possible to edit, compile and run a text adventure in the z-code
+and glulx formats.
+</longdescription>
+</pkgmetadata>