summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-03-20 21:40:29 +0000
committerKeri Harris <keri@gentoo.org>2010-03-20 21:40:29 +0000
commitb7ff27d727877ee33d048088ecf3fd6ec741427f (patch)
tree7cfa00c868f4cc134b18f3b6d7678f4564874f60 /dev-lang
parentFix tiff check #308955 by Samuli Suominen and automagic SDL depends #297326 b... (diff)
downloadhistorical-b7ff27d727877ee33d048088ecf3fd6ec741427f.tar.gz
historical-b7ff27d727877ee33d048088ecf3fd6ec741427f.tar.bz2
historical-b7ff27d727877ee33d048088ecf3fd6ec741427f.zip
Version bump
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/yap/ChangeLog8
-rw-r--r--dev-lang/yap/Manifest5
-rw-r--r--dev-lang/yap/files/yap-6.0.3-yapsharedir.patch14
-rw-r--r--dev-lang/yap/yap-6.0.3.ebuild97
4 files changed, 122 insertions, 2 deletions
diff --git a/dev-lang/yap/ChangeLog b/dev-lang/yap/ChangeLog
index cdbca2f970a5..f33845846bf2 100644
--- a/dev-lang/yap/ChangeLog
+++ b/dev-lang/yap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/yap
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.33 2010/03/05 08:58:04 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.34 2010/03/20 21:40:28 keri Exp $
+
+*yap-6.0.3 (20 Mar 2010)
+
+ 20 Mar 2010; <keri@gentoo.org> +yap-6.0.3.ebuild,
+ +files/yap-6.0.3-yapsharedir.patch:
+ Version bump
*yap-6.0.2 (05 Mar 2010)
diff --git a/dev-lang/yap/Manifest b/dev-lang/yap/Manifest
index 5fbaa25c7c27..f1988db2a4dd 100644
--- a/dev-lang/yap/Manifest
+++ b/dev-lang/yap/Manifest
@@ -21,11 +21,14 @@ AUX yap-6.0.2-mpi-include.patch 301 RMD160 04c779a7cbc61d98d762cf63d4f3dd2bb64c3
AUX yap-6.0.2-multilib.patch 12454 RMD160 5191c4ec8e75bfc2ebf53e6848e1b78b16c65335 SHA1 2fa40faa799039432da03c85ce5342e4651362b4 SHA256 7ea723eedae1acb7ca4340cdceff82d1accd6b0d93a445327ea207da0de2e148
AUX yap-6.0.2-myddas-include.patch 583 RMD160 90f54ecc28e8dac64edd7544358f356abc9ef9a4 SHA1 e40fb124b45fd59c4c504f63158ce0ef4d60e604 SHA256 e3c0de4e7cbcca60b02d8955969e48ec40615afa5ac812863f367aebd02393d2
AUX yap-6.0.2-yapsharedir.patch 569 RMD160 547981acfd2793c2bd96f3551b373a372ced403c SHA1 61288eb0707a455b0429e7aa2dc76edaa1241bb1 SHA256 f02aa21276cb953f939dd020ab1656b05027af3334ac2352e8a05b38ac6e840d
+AUX yap-6.0.3-yapsharedir.patch 520 RMD160 65417f2cfc659192f051c31e9fe2b02f9ecb9061 SHA1 ed3be8a6f477be9d40b6a6bdad6ff5f7db1702a8 SHA256 be04c9ba4c3712035fc585834c43692dfb195f1b1a0ee89e1c8532308f8ab6b3
DIST Yap-5.1.3.tar.gz 3266063 RMD160 b2e1153c7a6853a4814a672992d2b8b3834796bc SHA1 76c84b32ad8fbe8324a1db370f8440be11398c34 SHA256 61a5827452f21a7077e2b51b530a7f1b91bfcef06b28d62df53c29d986032aa9
DIST yap-6.0.1.tar.gz 3816766 RMD160 cf113bbe1b8658530b464d40759b0a6320719142 SHA1 97eedc5ce82e87c48ae7c04d7c3364503528fa3d SHA256 91c95702ccb08ce13d9e34aa7d95eacafedb9c628482e91a4f003475036845b9
DIST yap-6.0.2.tar.gz 3818019 RMD160 31df9a3377f4c9aa43b930ad912b397bf67e0d6c SHA1 0f1f5470466f7e32e25019941e394efaee746814 SHA256 5e05d4b7b9bb5d10943b7df46a4da619855cfb9a5e2bf9c771902a87f1129c58
+DIST yap-6.0.3.tar.gz 3890926 RMD160 f24a386ff57589796c7d912f336ca79872967b03 SHA1 85b2be539657da3b5ea2f41ae9df80c7f9604a5e SHA256 f3445b9343ebfcc58175738d69e54029b13b89eef31ac94dc6a23e923e4394a5
EBUILD yap-5.1.3-r2.ebuild 2484 RMD160 bf366226c2bb9443d67a6a75e8103ff4677b2d1a SHA1 25f4113498ae52c7ba7bbbdceed58f4b0f73f5e3 SHA256 2fc47953ca86da7ae4a0459df2356be3a2eb45b9efcb59a6686fdfea68c388a3
EBUILD yap-6.0.1.ebuild 2437 RMD160 5ebc3452fb389cd963686ec8bf2183c3213ac7f5 SHA1 79f8a10f95a3253d48b67952faba87e00f9cc11e SHA256 66468e95ab2c7d6cacd97bc08a7a005eb4e75ff56227dac7c40138bb3012a12b
EBUILD yap-6.0.2.ebuild 2419 RMD160 9814f93f6acd6431642bb84387dd317400370100 SHA1 49b8dc7f65bc037968a36484fea96ba5426eeadf SHA256 d8a0e9959e6921c11dd5b8f505d2521384bafe461dcf6750ec58ca62289eab3d
-MISC ChangeLog 6478 RMD160 30e61eb158099e0f3555f03448d827bbd2ed1176 SHA1 353549cb4ecd4c2402a6faf5d7ca928cf76a1f46 SHA256 4920686acfbb40cebf9bfdc2ff890bc27f7434ca4704218110ba7f0349a8a38c
+EBUILD yap-6.0.3.ebuild 2197 RMD160 36add970c111f1a9ec5270ca42b10712cd3ae2d3 SHA1 30e9263fce3cef895d5cc5a3f5d1c62d58c146a6 SHA256 ef61bd80843a920c1fb97ade05c58c573c3b9689f5b75d02deb109507643bb7f
+MISC ChangeLog 6610 RMD160 6bc63bfd7f53a62a90af361bb11bcd5aa75f002b SHA1 d582299d31bae9f1b8670be053061c6c81e04799 SHA256 b840cd3d8e4d75c66309b8eff15f8a7fed0d2da57c66286d408b6b7c6387b3e8
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
diff --git a/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch b/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch
new file mode 100644
index 000000000000..d4fec59472d7
--- /dev/null
+++ b/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch
@@ -0,0 +1,14 @@
+--- yap-6.0.3.orig/pl/consult.yap 2010-03-16 03:45:21.000000000 +1300
++++ yap-6.0.3/pl/consult.yap 2010-03-21 10:26:22.000000000 +1300
+@@ -877,9 +877,9 @@
+ atom_concat([Path,File],PFile).
+
+ '$system_library_directories'(Dir) :-
+- getenv('YAPSHAREDIR', Dir).
++ getenv('YAPSHAREDIR', Dir), !.
+ '$system_library_directories'(Dir) :-
+- getenv('YAPCOMMONSDIR', Dir).
++ getenv('YAPCOMMONSDIR', Dir), !.
+ '$system_library_directories'(Dir) :-
+ get_value(system_library_directory,Dir).
+ '$system_library_directories'(Dir) :-
diff --git a/dev-lang/yap/yap-6.0.3.ebuild b/dev-lang/yap/yap-6.0.3.ebuild
new file mode 100644
index 000000000000..ae6c97ed77a4
--- /dev/null
+++ b/dev-lang/yap/yap-6.0.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.0.3.ebuild,v 1.1 2010/03/20 21:40:28 keri Exp $
+
+inherit eutils java-pkg-opt-2
+
+DESCRIPTION="YAP is a high-performance Prolog compiler."
+HOMEPAGE="http://www.ncc.up.pt/~vsc/Yap/"
+SRC_URI="http://www.ncc.up.pt/~vsc/Yap/yap-6.0.3.tar.gz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples gmp java mpi mysql odbc readline static tk threads"
+
+DEPEND="gmp? ( dev-libs/gmp )
+ java? ( >=virtual/jdk-1.4 )
+ mpi? ( virtual/mpi )
+ mysql? ( virtual/mysql )
+ odbc? ( dev-db/unixODBC )
+ readline? ( sys-libs/readline )
+ doc? ( app-text/texi2html )"
+
+RDEPEND="${DEPEND}
+ tk? ( dev-lang/tk )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-yapsharedir.patch
+}
+
+src_compile() {
+ local myddas_conf
+ if use mysql || use odbc; then
+ myddas_conf="--enable-myddas \
+ --enable-myddas-stats \
+ --enable-myddas-top-level"
+ else
+ myddas_conf="--disable-myddas"
+ fi
+
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --enable-cut-c \
+ $(use_enable !static dynamic-loading) \
+ $(use_enable threads) \
+ $(use_enable threads pthread-locking) \
+ $(use_enable debug debug-yap) \
+ $(use_enable debug low-level-tracer) \
+ $(use_with gmp) \
+ $(use_with readline) \
+ $(use_with mpi) \
+ $(use_with mpi mpe) \
+ $(use_with java jpl) \
+ ${myddas_conf} \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ if use doc ; then
+ emake html || die "emake html failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" -j1 install || die "make install failed."
+
+ if use tk ; then
+ exeinto /usr/bin
+ doexe misc/tkyap
+ fi
+
+ dodoc changes*.html README
+
+ if use doc ; then
+ dodoc yap.html
+ fi
+
+ if use examples ; then
+ docinto examples/chr
+ dodoc packages/chr/Examples/*.{chr,pl}
+ docinto examples/plunit
+ dodoc packages/plunit/examples/*.pl
+ if use java ; then
+ docinto examples/jpl/prolog
+ dodoc packages/jpl/examples/prolog/*.pl
+ docinto examples/jpl/java
+ dodoc packages/jpl/examples/java/*/*.java
+ fi
+ if use mpi ; then
+ docinto examples/mpi
+ dodoc library/mpi/examples/*.pl
+ fi
+ fi
+}