diff options
author | Keri Harris <keri@gentoo.org> | 2007-02-02 19:12:31 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2007-02-02 19:12:31 +0000 |
commit | 3972a06aeb1a7583103a28daf89c8db15d201c8b (patch) | |
tree | 96cfdc237545edf4a771e1209512d749317e1853 /dev-lang/interprolog | |
parent | Fix Paludis installs. (diff) | |
download | gentoo-2-3972a06aeb1a7583103a28daf89c8db15d201c8b.tar.gz gentoo-2-3972a06aeb1a7583103a28daf89c8db15d201c8b.tar.bz2 gentoo-2-3972a06aeb1a7583103a28daf89c8db15d201c8b.zip |
New ebuild for InterProlog.
(Portage version: 2.1.2-r6)
Diffstat (limited to 'dev-lang/interprolog')
-rw-r--r-- | dev-lang/interprolog/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/interprolog/Manifest | 24 | ||||
-rw-r--r-- | dev-lang/interprolog/files/build.xml | 45 | ||||
-rw-r--r-- | dev-lang/interprolog/files/digest-interprolog-2.1.2 | 3 | ||||
-rw-r--r-- | dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch | 24 | ||||
-rw-r--r-- | dev-lang/interprolog/interprolog-2.1.2.ebuild | 56 | ||||
-rw-r--r-- | dev-lang/interprolog/metadata.xml | 5 |
7 files changed, 168 insertions, 0 deletions
diff --git a/dev-lang/interprolog/ChangeLog b/dev-lang/interprolog/ChangeLog new file mode 100644 index 000000000000..dad168f01a4a --- /dev/null +++ b/dev-lang/interprolog/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-lang/interprolog +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/interprolog/ChangeLog,v 1.1 2007/02/02 19:12:31 keri Exp $ + +*interprolog-2.1.2 (02 Feb 2007) + + 02 Feb 2007; keri <keri@gentoo.org> + +files/interprolog-2.1.2-java1.4.patch, +files/build.xml, +metadata.xml, + +interprolog-2.1.2.ebuild: + New ebuild for InterProlog. + diff --git a/dev-lang/interprolog/Manifest b/dev-lang/interprolog/Manifest new file mode 100644 index 000000000000..341f371b962a --- /dev/null +++ b/dev-lang/interprolog/Manifest @@ -0,0 +1,24 @@ +AUX build.xml 1422 RMD160 0796fdc4c8ffb7f12df9e6d2f131c3416c1861ee SHA1 8a37999682e85d07a6fe544ff9f899c9aea7ae99 SHA256 fcf497a26f5f3ea7f2428af1ff313fa58f6084b0a425e2fe06892f31b35e3097 +MD5 e37791d8e48fab224f575be819ef8228 files/build.xml 1422 +RMD160 0796fdc4c8ffb7f12df9e6d2f131c3416c1861ee files/build.xml 1422 +SHA256 fcf497a26f5f3ea7f2428af1ff313fa58f6084b0a425e2fe06892f31b35e3097 files/build.xml 1422 +AUX interprolog-2.1.2-java1.4.patch 1341 RMD160 623c78417eb28f995c45eb1e75f0fc68ca73fa83 SHA1 ad08b5221711cdc04fb899a96a85c5dda9b31963 SHA256 64e0097816a2a288db96ce0ffd62735ce9425362627dee3bea5ab921193e702d +MD5 4265f463c75cf6a9d034467ea4fe2dd9 files/interprolog-2.1.2-java1.4.patch 1341 +RMD160 623c78417eb28f995c45eb1e75f0fc68ca73fa83 files/interprolog-2.1.2-java1.4.patch 1341 +SHA256 64e0097816a2a288db96ce0ffd62735ce9425362627dee3bea5ab921193e702d files/interprolog-2.1.2-java1.4.patch 1341 +DIST interprolog212.zip 1066931 RMD160 49ce52cac6e44a7145b081b4826e8bc6f9ee4b37 SHA1 75b776262e0250eda9c508c1423a4c4a676026a3 SHA256 cf5b463576a51624703300a3966f1d3619d1ccd1011b59950b7b37365de8f182 +EBUILD interprolog-2.1.2.ebuild 1080 RMD160 f21327e3f497352949b29924fa1b079f906730e1 SHA1 81095fdafa525936684b2d51a6b9e14a891f46d3 SHA256 53e0d0eeaf04631812bb703d4282bf3e4a119f4cc5f7dbba374e494556dbfe47 +MD5 1342f821c290c7577752a56d5284fdd4 interprolog-2.1.2.ebuild 1080 +RMD160 f21327e3f497352949b29924fa1b079f906730e1 interprolog-2.1.2.ebuild 1080 +SHA256 53e0d0eeaf04631812bb703d4282bf3e4a119f4cc5f7dbba374e494556dbfe47 interprolog-2.1.2.ebuild 1080 +MISC ChangeLog 328 RMD160 c6022598ddddff35972800e0047d7e94d5c3df3e SHA1 23b979a8046c5f8812e9262a31978ebd275155bc SHA256 20ef393103d4cd39840154f2d8bf5f7f2d231fa34089f6dbdf18c87ac415df90 +MD5 10865bf65820ebca950ca82cb4410102 ChangeLog 328 +RMD160 c6022598ddddff35972800e0047d7e94d5c3df3e ChangeLog 328 +SHA256 20ef393103d4cd39840154f2d8bf5f7f2d231fa34089f6dbdf18c87ac415df90 ChangeLog 328 +MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba +MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 +RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 +SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba metadata.xml 159 +MD5 55430021b37dc1cc7c878171086038d8 files/digest-interprolog-2.1.2 238 +RMD160 0a95aaa5e616971de3ac65c966163bb67aab3255 files/digest-interprolog-2.1.2 238 +SHA256 ae879d5e6bf1acd1b362b9e1ec14d98361d7c0db8f82d2443c965fcd31165a33 files/digest-interprolog-2.1.2 238 diff --git a/dev-lang/interprolog/files/build.xml b/dev-lang/interprolog/files/build.xml new file mode 100644 index 000000000000..9cfe5d73a77f --- /dev/null +++ b/dev-lang/interprolog/files/build.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" ?><project default="jar" name="interprolog"> + + <!-- some properties --> + <property name="src.dir" value="src"/> + <property name="build.dir" value="build"/> + <property name="docs.dir" value="docs"/> + <property name="dist.dir" value="dist"/> + <property name="jarfile" value="${ant.project.name}.jar"/> + <property file="build.properties"/> + + <!-- init --> + <target name="init"> + <tstamp/> + <mkdir dir="${dist.dir}"/> + <mkdir dir="${build.dir}"/> + <mkdir dir="${docs.dir}"/> + </target> + + <!-- compile everything --> + <target depends="init" name="compile"> + <javac classpath="${classpath}" deprecation="on" destdir="${build.dir}" encoding="ISO-8859-1" source="1.4" srcdir="${src.dir}" target="1.4"/> + <copy todir="${build.dir}"> + <fileset dir="${src.dir}"> + <exclude name="**/*.java"/> + </fileset> + </copy> + </target> + + <!-- build the jar file --> + <target depends="compile" name="jar"> + <jar basedir="${build.dir}" jarfile="${dist.dir}/${jarfile}"/> + </target> + + <!-- generate javadocs --> + <target depends="init" name="javadoc"> + <javadoc author="true" destdir="${docs.dir}" encoding="ISO-8859-1" packagenames="com.*" source="1.4" sourcepath="${src.dir}" use="true" version="true" windowtitle="${ant.project.name} API"/> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + <delete dir="${docs.dir}"/> + </target> +</project> diff --git a/dev-lang/interprolog/files/digest-interprolog-2.1.2 b/dev-lang/interprolog/files/digest-interprolog-2.1.2 new file mode 100644 index 000000000000..ddc41c666d42 --- /dev/null +++ b/dev-lang/interprolog/files/digest-interprolog-2.1.2 @@ -0,0 +1,3 @@ +MD5 5c9ccb5dcce2266f13796d45844a960f interprolog212.zip 1066931 +RMD160 49ce52cac6e44a7145b081b4826e8bc6f9ee4b37 interprolog212.zip 1066931 +SHA256 cf5b463576a51624703300a3966f1d3619d1ccd1011b59950b7b37365de8f182 interprolog212.zip 1066931 diff --git a/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch b/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch new file mode 100644 index 000000000000..614b2f2a1ed0 --- /dev/null +++ b/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch @@ -0,0 +1,24 @@ +diff -ur interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java +--- interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java 2005-10-20 15:14:12.000000000 +1300 ++++ interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java 2007-02-02 21:56:22.000000000 +1300 +@@ -34,7 +34,7 @@ + JTable board = new SudokuBoard(model);
+
+ getContentPane().add(BorderLayout.CENTER,board);
+- pack(); show();
++ pack(); setVisible(true);
+ }
+
+ /** An ObjectExamplePair illustrating how to pass around a matrix of basic type values */
+diff -ur interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java +--- interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java 2005-09-15 17:57:44.000000000 +1200 ++++ interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java 2007-02-02 21:57:42.000000000 +1300 +@@ -344,7 +344,7 @@ + void load_dynFile(){
+ String nome,directorio; File filetoreconsult=null;
+ FileDialog d = new FileDialog(this,"load_dyn file...");
+- d.show();
++ d.setVisible(true);
+ nome = d.getFile(); directorio = d.getDirectory();
+ if (nome!=null) {
+ filetoreconsult = new File(directorio,nome);
diff --git a/dev-lang/interprolog/interprolog-2.1.2.ebuild b/dev-lang/interprolog/interprolog-2.1.2.ebuild new file mode 100644 index 000000000000..f2f9e6fbcb98 --- /dev/null +++ b/dev-lang/interprolog/interprolog-2.1.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/interprolog/interprolog-2.1.2.ebuild,v 1.1 2007/02/02 19:12:31 keri Exp $ + +inherit eutils java-pkg-2 java-ant-2 versionator + +MY_PV="$(delete_all_version_separators)" +MY_P="${PN}${MY_PV}" + +DESCRIPTION="InterProlog is a Java front-end and enhancement for Prolog" +HOMEPAGE="http://www.declarativa.com/interprolog/" +SRC_URI="http://www.declarativa.com/interprolog/interprolog212.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/junit" + +RDEPEND=">=virtual/jdk-1.4 + || ( + dev-lang/xsb + dev-lang/swi-prolog + dev-lang/yap )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-java1.4.patch + + cp "${FILESDIR}"/build.xml "${S}" + mkdir "${S}"/src + mv "${S}"/com "${S}"/src + rm interprolog.jar junit.jar +} + +src_compile() { + eant jar $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use doc ; then + java-pkg_dohtml -r docs/* + dohtml INSTALL.htm faq.htm prologAPI.htm + dohtml -r images + dodoc PaperEPIA01.doc + fi +} diff --git a/dev-lang/interprolog/metadata.xml b/dev-lang/interprolog/metadata.xml new file mode 100644 index 000000000000..1990bb86aace --- /dev/null +++ b/dev-lang/interprolog/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>prolog</herd> +</pkgmetadata> |