summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-10-04 06:38:53 +0000
committerKeri Harris <keri@gentoo.org>2006-10-04 06:38:53 +0000
commit22dc61e7e7510734d90dfb1a5795ac8bbc9a6910 (patch)
tree045e1e1df33395510fb79fcc4ffd76e478812507 /dev-lang/tuprolog
parentversion bump (diff)
downloadgentoo-2-22dc61e7e7510734d90dfb1a5795ac8bbc9a6910.tar.gz
gentoo-2-22dc61e7e7510734d90dfb1a5795ac8bbc9a6910.tar.bz2
gentoo-2-22dc61e7e7510734d90dfb1a5795ac8bbc9a6910.zip
License change.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'dev-lang/tuprolog')
-rw-r--r--dev-lang/tuprolog/ChangeLog9
-rw-r--r--dev-lang/tuprolog/files/digest-tuprolog-1.3.0-r13
-rw-r--r--dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild48
3 files changed, 57 insertions, 3 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 20039b856731..5fd773a2a763 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for dev-lang/tuprolog
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.2 2006/10/03 16:31:30 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.3 2006/10/04 06:38:53 keri Exp $
- 03 Oct 2006; keri <keri@gentoo.org> tuprolog-1.3.0.ebuild:
- License update. Thanks to Giulio Piancastelli.
+*tuprolog-1.3.0-r1 (04 Oct 2006)
+
+ 04 Oct 2006; keri <keri@gentoo.org> -tuprolog-1.3.0.ebuild,
+ +tuprolog-1.3.0-r1.ebuild:
+ Revbump for license change. Thanks to Giulio Piancastelli.
*tuprolog-1.3.0 (10 Sep 2006)
diff --git a/dev-lang/tuprolog/files/digest-tuprolog-1.3.0-r1 b/dev-lang/tuprolog/files/digest-tuprolog-1.3.0-r1
new file mode 100644
index 000000000000..98ee13cc1c8a
--- /dev/null
+++ b/dev-lang/tuprolog/files/digest-tuprolog-1.3.0-r1
@@ -0,0 +1,3 @@
+MD5 b9b7bcf89ca69c7231fbf07e32718f16 2p-1.3.0.zip 2917856
+RMD160 17c28db76873c4855df06992ffcc41e08d2d08c1 2p-1.3.0.zip 2917856
+SHA256 c6fc6b1fadef7d22d24a7e454ebed4e67851e3960524a8730bbcbdea5216ceec 2p-1.3.0.zip 2917856
diff --git a/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild b/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..0194acf365d7
--- /dev/null
+++ b/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild,v 1.1 2006/10/04 06:38:53 keri Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P="2p-${PV}"
+MY_SRC_P="src-J2SE-${PV}"
+
+DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
+HOMEPAGE="http://www.alice.unibo.it:8080/tuProlog/"
+SRC_URI="http://www.alice.unibo.it/download/tuprolog/files/core/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.3
+ app-arch/unzip
+ dev-java/ant-core"
+RDEPEND=">=virtual/jdk-1.3"
+
+S="${WORKDIR}"/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/build.xml "${S}"
+
+ cd "${S}"/src
+ unpack ./${MY_SRC_P}.zip
+
+ epatch "${FILESDIR}"/${P}-javadocs.patch
+}
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r docs/*
+ dodoc doc/*.pdf
+ fi
+}