diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-20 00:10:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-20 00:10:57 +0100 |
commit | d6ca4e4f90cb75c323b5988eefa96a04c0d36908 (patch) | |
tree | 8197fc88451976470c871e991b75a9d40c240270 /dev-lang/interprolog | |
parent | e8df704cf9b5e9e517317b8912377c0a8ca0d11e (diff) |
gentoo auto-resync : 20:06:2024 - 00:10:56
Diffstat (limited to 'dev-lang/interprolog')
-rw-r--r-- | dev-lang/interprolog/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/interprolog/files/build.xml | 45 | ||||
-rw-r--r-- | dev-lang/interprolog/interprolog-2.1.2-r3.ebuild | 60 |
3 files changed, 61 insertions, 46 deletions
diff --git a/dev-lang/interprolog/Manifest b/dev-lang/interprolog/Manifest index 8af504fab307..14e3a8b87312 100644 --- a/dev-lang/interprolog/Manifest +++ b/dev-lang/interprolog/Manifest @@ -1,6 +1,6 @@ -AUX build.xml 1461 BLAKE2B 97f817f1c8a5594c5b9a0f449046c1c91d6789d27592f421fb0d92d0d21cb30f009d90c99b037900e109d791159ad49d78cd3f5bb99464d35cae0508128c648c SHA512 0e469d954d69db940fdf1893257f20d15d1009148d3979755edd448bc1cda9425df5169f6ddba3e37b8eaccd25f3fbb7bfeb3c58a572111be2474e1850a32cb6 AUX interprolog-2.1.2-java1.4.patch 1341 BLAKE2B b1c02e38f990d8f693a274cb258b18151e5b5d93a8670ae40d2d0b29b25c8ee86c749463b880166d759509331c9bd58d57286f9c62b36ba53673291129d27a09 SHA512 cfd4a637e4d86172547448801c92decfa3f10fa7d02e007c42d8415901d742ecbdf1fca1e4034c7069885a06824f1577bc64f2454a2c31877af68e74ad3aa0d2 AUX interprolog-2.1.2-java17.patch 793 BLAKE2B d1f501918b153ce840887c4b697783a2a5ddd4fece70148c88d761d04891aa5710c3a33c5c14eb22b787ddedb52e852991bac80f3dd9fbe1a3764521d5336cba SHA512 26dc6ebaf903374da09af41b452a7a47af5fbf17d763d837603d5bdd628408b3d7adfddbad375a22f37ffddf66626336c3eac82c36acc0eb2942f07836291d0c DIST interprolog212.zip 1066931 BLAKE2B ea2666ff756c30db35262137938c32ee98d8a145ce59ea3b8694328771b8925395f7643ecabf9e0c010515176fdbbedcd333a81003a09c0ae1d9c1a94215e095 SHA512 e3d8b216f7e76d5d95ad9d27a96720075575fd717c89ddf9403376a72e18d56fd68afa2b1e6e70da55b99cd84043a16695ff37a59ec3366115cd4c36ed1ff50c EBUILD interprolog-2.1.2-r2.ebuild 1122 BLAKE2B 2a5eed55438be7d9942782f4382420077e3f3276c557ecd33c9fc8ab2a20aa73811c68c21c1a3c31209a686f2da7af5dfb2dea423aba1fdc44b2ec48cd3fded2 SHA512 8f722f7031d8eb994dfdfc05309e14ac0e9c2b0a6610bf48d19b9c1d2dab2d80ced5a3d5a19928f4afedc0ab4bddaee27f92b1741d24e293d4057e3254443021 +EBUILD interprolog-2.1.2-r3.ebuild 1125 BLAKE2B 6f80065e7e1983a9c13b90b1650216d712ef028f85a6a700f5772a207f6418d991f6f17e8f4cf077fc52abcb5bf492a1e379013aaa633fa004f6e4f43f57c4bd SHA512 5f49176b5dd9149fcf591196faaa5e3e02627dfe54dd91588ee6e86502a9bf6e2b829a981aa0c412d9e029aed3f16d597802b20b396b215989dc821203af6ac7 MISC metadata.xml 237 BLAKE2B d4347f2b84f6246e0bf64c19548b9bf8ad5094bf392fabb2b5add3bdb2af1e866aa34f67d4dad5fd6595daa79233456e962684b4d062bdc7be1f4ee1ef92d3ee SHA512 525172b6046cff15248158e173c764b9294cf0a8220914ef6b46ca4f15fdb79caca8089cb04ac0b1ca56e2496dc84d1f933b2d56e806007883cbc914a1a4eca5 diff --git a/dev-lang/interprolog/files/build.xml b/dev-lang/interprolog/files/build.xml deleted file mode 100644 index a24536d8936d..000000000000 --- a/dev-lang/interprolog/files/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?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="${gentoo.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 classpath="${gentoo.classpath}" 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/interprolog-2.1.2-r3.ebuild b/dev-lang/interprolog/interprolog-2.1.2-r3.ebuild new file mode 100644 index 000000000000..f53ed5917e12 --- /dev/null +++ b/dev-lang/interprolog/interprolog-2.1.2-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc" + +inherit java-pkg-2 java-pkg-simple + +MY_P="${PN}$(ver_rs 1- '')" + +DESCRIPTION="InterProlog is a Java front-end and enhancement for Prolog" +HOMEPAGE="https://declarativa.com/InterProlog/" +SRC_URI="https://declarativa.com/InterProlog/${MY_P}.zip" +S="${WORKDIR}"/${MY_P} + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/unzip" + +DEPEND=" + dev-java/junit:0 + >=virtual/jdk-1.8:* + || ( + dev-lang/xsb + dev-lang/swi-prolog + dev-lang/yap )" + +RDEPEND=">=virtual/jre-1.8:*" + +HTML_DOCS=( INSTALL.htm faq.htm prologAPI.htm ) +PATCHES=( + "${FILESDIR}"/${P}-java1.4.patch + "${FILESDIR}"/${P}-java17.patch +) + +JAVA_CLASSPATH_EXTRA="junit" +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="com" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + java-pkg_clean + rm -r htmldocs || die + mkdir res || die + find com -type f ! -name '*.java' \ + | xargs cp --parents -t res || die +} + +src_install() { + java-pkg-simple_src_install + + if use doc ; then + dodoc -r images + dodoc PaperEPIA01.doc + fi +} |