summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-03-01 14:21:34 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-03-01 14:21:34 +0000
commit309fc0dc0073ceb8f6c67767ed26b2936651dde5 (patch)
tree2f5f21c1d932ccec29995b0d12eb1ce5bd6a94d7 /dev-lang
parentBump to 0.6. Fixes #137569. Patches by Chris Mayo. (diff)
downloadhistorical-309fc0dc0073ceb8f6c67767ed26b2936651dde5.tar.gz
historical-309fc0dc0073ceb8f6c67767ed26b2936651dde5.tar.bz2
historical-309fc0dc0073ceb8f6c67767ed26b2936651dde5.zip
Version bump. Add support for bundled doc generation scripts.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/logtalk/ChangeLog7
-rw-r--r--dev-lang/logtalk/Manifest6
-rw-r--r--dev-lang/logtalk/logtalk-2.35.1.ebuild80
-rw-r--r--dev-lang/logtalk/metadata.xml2
4 files changed, 92 insertions, 3 deletions
diff --git a/dev-lang/logtalk/ChangeLog b/dev-lang/logtalk/ChangeLog
index c0c5a6336136..b708cef01d77 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.4 2009/01/17 22:33:41 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v 1.5 2009/03/01 14:21:34 miknix Exp $
+
+*logtalk-2.35.1 (01 Mar 2009)
+
+ 01 Mar 2009; <miknix@gentoo.org> metadata.xml, +logtalk-2.35.1.ebuild:
+ Version bump. Add support for bundled doc generation scripts.
17 Jan 2009; <keri@gentoo.org> logtalk-2.34.1.ebuild:
Use doenvd function rather than doins function for /etc/env.d/99logtalk file
diff --git a/dev-lang/logtalk/Manifest b/dev-lang/logtalk/Manifest
index a9b322e9ff22..dfcf2a430f59 100644
--- a/dev-lang/logtalk/Manifest
+++ b/dev-lang/logtalk/Manifest
@@ -1,4 +1,6 @@
DIST lgt2341.tar.bz2 487681 RMD160 39f44349f25a0be92c571fc053f5f72be500c658 SHA1 f9c77606526c0647332b80bcdf742d4cb5a89ba1 SHA256 b5cf88f1ba463ba0eb011697778830fea3dd1a2e8749907fb56260b4a4687498
+DIST lgt2351.tar.bz2 492503 RMD160 69c4655ec5423f4eb96920a1dcde98329b9b8036 SHA1 12cff6d6b20fe920988e3d9793512db67e474b63 SHA256 789ae2638c3b79c7574607857659582e012e8ef43376d1da06e51d8a29b9d394
EBUILD logtalk-2.34.1.ebuild 2535 RMD160 55660f90525f64ff53123d5f52c4125b9e3af016 SHA1 4ec98a2b08e005e84503c4287f617413dfc3f6f7 SHA256 ced0025bd82fb537134c2d4181308a6550fa75c56d40a647f7cab1f67cf18f2e
-MISC ChangeLog 721 RMD160 6882a6efbd0be0e0b36951feeeb52c828c5c9bbb SHA1 800972e37212c030cda9a4fe9ad186930dfab0b1 SHA256 c1d42db6dd314d98bfd727d0ebc25509bfa317185fc995802981a2a40ca39799
-MISC metadata.xml 567 RMD160 0fd00d7d84b9d71ed5f46150885f13a73269a772 SHA1 c33261f100fd323af72f17db9f40101c2d2e8da0 SHA256 974411cefa6b051c04b45f16f56b1ede93028db1c22dfd8c3500fa5d7be9b997
+EBUILD logtalk-2.35.1.ebuild 2877 RMD160 1cd43ce76c0c506af60bd8818382d0dc847650ef SHA1 7d2d76a6c4aead1d1bb29895d5335ffda6fa931d SHA256 4f33e3e9af3025817e3785d309b14e77c4521ff363fb3c57c0e0e34a7cec2099
+MISC ChangeLog 892 RMD160 cc02dc8184e5837facda0a649f115b79e3fa8a0f SHA1 35239967f4242e14103f858056d0887d631c617e SHA256 e20083681ba5a52b0703405944f2c27c730010ffeffee8a426768dfd2942fb51
+MISC metadata.xml 722 RMD160 cf6e2de0a3720ce6639aef0eeb92ffb94bda85b7 SHA1 c1b9e868a27798c819aa817f9bd0832093c30125 SHA256 edbdd93445d2b63211e071af48a8648b1c210037409237413b7e60d2533f1827
diff --git a/dev-lang/logtalk/logtalk-2.35.1.ebuild b/dev-lang/logtalk/logtalk-2.35.1.ebuild
new file mode 100644
index 000000000000..745e533efdb9
--- /dev/null
+++ b/dev-lang/logtalk/logtalk-2.35.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.35.1.ebuild,v 1.1 2009/03/01 14:21:34 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."
+}
diff --git a/dev-lang/logtalk/metadata.xml b/dev-lang/logtalk/metadata.xml
index 581c65102a1a..1758d41edb40 100644
--- a/dev-lang/logtalk/metadata.xml
+++ b/dev-lang/logtalk/metadata.xml
@@ -12,5 +12,7 @@
<flag name='swipl'>Support SWI-Prolog back-end compiler</flag>
<flag name='xsbpl'>Support XSB back-end compiler</flag>
<flag name='yappl'>Support YAP back-end compiler</flag>
+ <flag name='xslt'>Support for generating html documentation using xslt</flag>
+ <flag name='fop'>Support for generating pdf documentation using fop</flag>
</use>
</pkgmetadata>