summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-06-03 21:22:01 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-06-03 21:22:01 +0000
commitbb958a136ec14e6a45904b9001573c964e8ad103 (patch)
treeb5ee0911ca9e2c3c2dfdaa873584370933ad91b5 /dev-lang
parentCompilefix for USE="slabs-reassign" and picky GCC versions. (diff)
downloadgentoo-2-bb958a136ec14e6a45904b9001573c964e8ad103.tar.gz
gentoo-2-bb958a136ec14e6a45904b9001573c964e8ad103.tar.bz2
gentoo-2-bb958a136ec14e6a45904b9001573c964e8ad103.zip
Version bump.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/logtalk/ChangeLog7
-rw-r--r--dev-lang/logtalk/logtalk-2.37.1.ebuild80
2 files changed, 86 insertions, 1 deletions
diff --git a/dev-lang/logtalk/ChangeLog b/dev-lang/logtalk/ChangeLog
index b708cef01d77..de1604b56365 100644
--- a/dev-lang/logtalk/ChangeLog
+++ b/dev-lang/logtalk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/logtalk
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v 1.5 2009/03/01 14:21:34 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v 1.6 2009/06/03 21:22:01 miknix Exp $
+
+*logtalk-2.37.1 (03 Jun 2009)
+
+ 03 Jun 2009; Angelo Arrifano <miknix@gentoo.org> +logtalk-2.37.1.ebuild:
+ Version bump.
*logtalk-2.35.1 (01 Mar 2009)
diff --git a/dev-lang/logtalk/logtalk-2.37.1.ebuild b/dev-lang/logtalk/logtalk-2.37.1.ebuild
new file mode 100644
index 000000000000..596893c451a2
--- /dev/null
+++ b/dev-lang/logtalk/logtalk-2.37.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/logtalk-2.37.1.ebuild,v 1.1 2009/06/03 21:22:01 miknix Exp $
+
+inherit eutils versionator
+
+DESCRIPTION="Open source object-oriented logic programming language."
+HOMEPAGE="http://logtalk.org"
+MY_PV="lgt$(delete_all_version_separators)"
+SRC_URI="http://logtalk.org/files/${MY_PV}.tar.bz2"
+LICENSE="Artistic-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gnupl qupl swipl xsbpl yappl xslt fop"
+
+DEPEND=""
+RDEPEND="
+ gnupl? ( dev-lang/gprolog )
+ qupl? ( !amd64? ( dev-lang/qu-prolog ) )
+ swipl? ( dev-lang/swi-prolog )
+ xsbpl? ( x86? ( dev-lang/xsb ) )
+ yappl? ( dev-lang/yap )
+ xslt? ( dev-libs/libxslt )
+ fop? ( dev-java/fop )
+ ${DEPEND}"
+
+S="${WORKDIR}/${MY_PV}"
+
+src_install() {
+ # Change default user dir to ~/.logtalk
+ sed -i -e 's;$HOME/logtalk;$HOME/.logtalk;' \
+ integration/*.sh xml/*.sh \
+ || die "Cannot sed integration scripts."
+
+ # Look at scripts/install.sh
+ # for upstream installation process.
+ mv scripts/cplgtdirs.sh integration/
+ mkdir -p "${D}/usr/share/${P}"
+ cp -r compiler configs contributions VERSION.txt \
+ integration library wenv xml libpaths \
+ examples "${D}/usr/share/${P}" \
+ || die "Failed to copy files"
+
+ dodoc BIBLIOGRAPHY.bib CUSTOMIZE.txt INSTALL.txt \
+ LICENSE.txt QUICK_START.txt README.txt \
+ VERSION.txt RELEASE_NOTES.txt UPGRADING.txt
+ dohtml -r manuals/*
+
+ dosym /usr/share/${P}/integration/cplgtdirs.sh /usr/bin/cplgtdirs
+ use gnupl && dosym /usr/share/${P}/integration/gplgt.sh /usr/bin/gplgt
+ use qupl && ! use amd64 && dosym /usr/share/${P}/integration/qplgt.sh /usr/bin/qplgt
+ use swipl && dosym /usr/share/${P}/integration/swilgt.sh /usr/bin/swilgt
+ use xsbpl && use x86 && dosym /usr/share/${P}/integration/xsblgt.sh /usr/bin/xsblgt
+ use yappl && dosym /usr/share/${P}/integration/yaplgt.sh /usr/bin/yaplgt
+
+ dosym /usr/share/${P}/xml/lgt2xml.sh /usr/bin/lgt2xml.sh
+ use xslt && dosym /usr/share/${P}/xml/lgt2html.sh /usr/bin/lgt2html.sh
+ use xslt && dosym /usr/share/${P}/xml/lgt2txt.sh /usr/bin/lgt2txt.sh
+ use fop && dosym /usr/share/${P}/xml/lgt2pdf.sh /usr/bin/lgt2pdf.sh
+
+ echo "LOGTALKHOME=/usr/share/${P}" > 99logtalk
+ doenvd 99logtalk
+}
+
+pkg_postinst() {
+ ewarn "To start logtalk, use one of the following:"
+ use gnupl && ewarn "GNU Prolog: /usr/bin/gplgt"
+ use qupl && ! use amd64 && ewarn "Qu Prolog: /usr/bin/qplgt"
+ use swipl && ewarn "SWI Prolog: /usr/bin/swilgt"
+ use xsbpl && use x86 && ewarn "XSB: /usr/bin/xsblgt"
+ use yappl && ewarn "YAP: /usr/bin/yaplgt"
+ ewarn ""
+
+ ewarn "The environment has been set up to make the above"
+ ewarn "integration scripts find files automatically for logtalk."
+ ewarn "Please run 'etc-update && source /etc/profile' to update"
+ ewarn "the environment now, otherwise it will be updated at next"
+ ewarn "login."
+}