From: Michele Noberasco Date: Fri, 27 Apr 2007 15:39:55 +0000 (+0000) Subject: Adapt to java-pkg-2 eclass. Version bump. Previous version stable for x86. Closes... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3a1b41486677fe9cc4f23cb3585f03a8bca1eaf;p=gentoo.git Adapt to java-pkg-2 eclass. Version bump. Previous version stable for x86. Closes bug #175343. Package-Manager: portage-2.1.2.2 --- diff --git a/dev-util/jif/ChangeLog b/dev-util/jif/ChangeLog index e9fde3950720..7e9337aaf535 100644 --- a/dev-util/jif/ChangeLog +++ b/dev-util/jif/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/jif # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/ChangeLog,v 1.3 2007/02/22 02:14:22 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/ChangeLog,v 1.4 2007/04/27 15:39:55 s4t4n Exp $ + +*jif-3.1_rc1 (27 Apr 2007) + + 27 Apr 2007; Michele Noberasco jif-3.1_rc1.ebuild: + Version bump, adapted to java-pkg-2 eclass. Closes bug #175343. + jif-3_rc1.ebuild: + Stable for x86; adapted to java-pkg-2 eclass. Closes bug #175343. 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/dev-util/jif/Manifest b/dev-util/jif/Manifest index 6ae90340f16c..df2c235549cf 100644 --- a/dev-util/jif/Manifest +++ b/dev-util/jif/Manifest @@ -2,19 +2,27 @@ AUX jif 82 RMD160 06cfd6ea377c5d8ad524fd5ed8d66d581ac55acf SHA1 d347c14317c9161a MD5 5d6dc68efc0eef51e5cce060f50197f0 files/jif 82 RMD160 06cfd6ea377c5d8ad524fd5ed8d66d581ac55acf files/jif 82 SHA256 3135c9aefa2f451c6c69f0b4c82cc486dfc784f4316016028d342e46cbea6faf files/jif 82 +DIST JIF31_src_RC1.zip 261645 RMD160 7699c8dff52e1f46521f4842bdbb3aa38df62fad SHA1 164f2949bd611f20fd508770523db8253a0aa5f7 SHA256 7c4e2c500fc35dcef3e37af8268c2dd8b47599ef727b90cbd2f912106064e0ea DIST JIF3_src_RC1.zip 253462 RMD160 4620874955d64224db49fbd77149b0887725e9d9 SHA1 370c4109b0cebd360f6b9150b90083e3da8de2b9 SHA256 21d54f6133999e42a0264133de16e740c25c5e787e55d020663b80d641702bea -EBUILD jif-3_rc1.ebuild 2064 RMD160 ebe565887acd0556e5a9b9f5a497dc68dbd9f0f6 SHA1 6a732a1c6b012fdcb03805d19deb277ae4fe8303 SHA256 f9154e24e8a7017ae0c901eb22b0140b435b2eca13922d4f331138f242343d4a -MD5 e55227dfe1db9e9f8599ead80aec004d jif-3_rc1.ebuild 2064 -RMD160 ebe565887acd0556e5a9b9f5a497dc68dbd9f0f6 jif-3_rc1.ebuild 2064 -SHA256 f9154e24e8a7017ae0c901eb22b0140b435b2eca13922d4f331138f242343d4a jif-3_rc1.ebuild 2064 -MISC ChangeLog 500 RMD160 0cc768e1b5f36e4e3815f04937b8184492f2db07 SHA1 b71afd7c5c4ec84a695f38d9446ba17c29c5f608 SHA256 282439051b9cc3924201db5b388233f0847a9f40af55e141c04187ce87872ce6 -MD5 8ff4580b171372396217e62b88a1386a ChangeLog 500 -RMD160 0cc768e1b5f36e4e3815f04937b8184492f2db07 ChangeLog 500 -SHA256 282439051b9cc3924201db5b388233f0847a9f40af55e141c04187ce87872ce6 ChangeLog 500 +EBUILD jif-3.1_rc1.ebuild 2087 RMD160 09309da3e1066ac39d290a00d84ebd9f96363c27 SHA1 6763f851addd2ba9c172aafcd8b9cf3bc13322ea SHA256 09dd036d3b4ce67946fda83c14df0dcfb27f7f632ce98f344cc15c831da89ec6 +MD5 0bb5510639fa432b28ab4fe69ce94472 jif-3.1_rc1.ebuild 2087 +RMD160 09309da3e1066ac39d290a00d84ebd9f96363c27 jif-3.1_rc1.ebuild 2087 +SHA256 09dd036d3b4ce67946fda83c14df0dcfb27f7f632ce98f344cc15c831da89ec6 jif-3.1_rc1.ebuild 2087 +EBUILD jif-3_rc1.ebuild 2063 RMD160 0ace159354606d6704a570b6a55125d57fc71ea3 SHA1 5eb26d41cd5c192fa79ee20af4d7af6079efff24 SHA256 c4b867ee8ac70674a15ef599e6b861aba147b6e1b2b95029d5fb990a23083b5d +MD5 52d9f7c7e39df76414d87955e9378dc9 jif-3_rc1.ebuild 2063 +RMD160 0ace159354606d6704a570b6a55125d57fc71ea3 jif-3_rc1.ebuild 2063 +SHA256 c4b867ee8ac70674a15ef599e6b861aba147b6e1b2b95029d5fb990a23083b5d jif-3_rc1.ebuild 2063 +MISC ChangeLog 755 RMD160 9bdf6aa692dafc54f4ca6d0584ee27e856749905 SHA1 28a4e259d44155ecc9321083720642710ee4cf58 SHA256 6ecc596c5073f9f5f14c53ce39cbc849da80c253c4577c784ef1f7befae6847f +MD5 649afb52241b78e084d93b01099ca642 ChangeLog 755 +RMD160 9bdf6aa692dafc54f4ca6d0584ee27e856749905 ChangeLog 755 +SHA256 6ecc596c5073f9f5f14c53ce39cbc849da80c253c4577c784ef1f7befae6847f ChangeLog 755 MISC metadata.xml 545 RMD160 c673bb7e5edab68063179c63178399d25d221766 SHA1 527a5b6d6e130a7147b5bbaffe5962256fe35e89 SHA256 363e5569faf484c854f99204d61f735113c7e213600f2b5893b369c09a092c0a MD5 1b084c776bb10938d130df4266f0b3dd metadata.xml 545 RMD160 c673bb7e5edab68063179c63178399d25d221766 metadata.xml 545 SHA256 363e5569faf484c854f99204d61f735113c7e213600f2b5893b369c09a092c0a metadata.xml 545 +MD5 9f949e688e2926be1f300c55c7ebeb3c files/digest-jif-3.1_rc1 232 +RMD160 62295218e54092bdf47da27a0e7552105162fab4 files/digest-jif-3.1_rc1 232 +SHA256 02a8af0ba45d5147a0ccdd765f23018d44d3fae65df7600b87b8106b1bb0496a files/digest-jif-3.1_rc1 232 MD5 37e1f1749255a959b3e1e0c05950b883 files/digest-jif-3_rc1 229 RMD160 3a83ff91c576bac4a2d29e94a016a5196f69075a files/digest-jif-3_rc1 229 SHA256 ac17ea9902b2e9435cf140dba1bfb8b498b76ed0755bb672b022abb1241e7834 files/digest-jif-3_rc1 229 diff --git a/dev-util/jif/files/digest-jif-3.1_rc1 b/dev-util/jif/files/digest-jif-3.1_rc1 new file mode 100644 index 000000000000..d4ea86b49afe --- /dev/null +++ b/dev-util/jif/files/digest-jif-3.1_rc1 @@ -0,0 +1,3 @@ +MD5 1d34267cf7fe23a487567ba539045279 JIF31_src_RC1.zip 261645 +RMD160 7699c8dff52e1f46521f4842bdbb3aa38df62fad JIF31_src_RC1.zip 261645 +SHA256 7c4e2c500fc35dcef3e37af8268c2dd8b47599ef727b90cbd2f912106064e0ea JIF31_src_RC1.zip 261645 diff --git a/dev-util/jif/jif-3.1_rc1.ebuild b/dev-util/jif/jif-3.1_rc1.ebuild new file mode 100644 index 000000000000..e6ab55154c91 --- /dev/null +++ b/dev-util/jif/jif-3.1_rc1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/jif-3.1_rc1.ebuild,v 1.1 2007/04/27 15:39:55 s4t4n Exp $ + +inherit java-pkg-2 + +MY_PN=${PN/jif/JIF} +MY_PV=${PV/rc/RC} +MY_PV=${MY_PV/./} +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/downloads/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=virtual/jdk-1.4 + >=sys-apps/sed-4.1.4 + app-arch/unzip" + +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/games/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/jif-3_rc1.ebuild b/dev-util/jif/jif-3_rc1.ebuild index 6d9bc01c496e..55743ff08fc4 100644 --- a/dev-util/jif/jif-3_rc1.ebuild +++ b/dev-util/jif/jif-3_rc1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 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.2 2006/03/19 23:55:39 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/jif/jif-3_rc1.ebuild,v 1.3 2007/04/27 15:39:55 s4t4n Exp $ -inherit java-pkg +inherit java-pkg-2 MY_PN=${PN/jif/JIF} MY_PV=${PV/rc/RC} @@ -18,7 +18,7 @@ SRC_URI="http://www.slade.altervista.org/JIF/download/${MY_P}.zip" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" DEPEND=">=virtual/jdk-1.4 >=sys-apps/sed-4.1.4