1 |
miknix 11/01/27 23:40:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: logtalk-2.42.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
This version has improvements mostly in the compilers. |
9 |
|
10 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.9 dev-lang/logtalk/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/logtalk/ChangeLog?rev=1.9&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/logtalk/ChangeLog?rev=1.9&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/logtalk/ChangeLog?r1=1.8&r2=1.9 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v |
22 |
retrieving revision 1.8 |
23 |
retrieving revision 1.9 |
24 |
diff -u -r1.8 -r1.9 |
25 |
--- ChangeLog 3 Oct 2010 21:43:29 -0000 1.8 |
26 |
+++ ChangeLog 27 Jan 2011 23:40:36 -0000 1.9 |
27 |
@@ -1,6 +1,11 @@ |
28 |
# ChangeLog for dev-lang/logtalk |
29 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v 1.8 2010/10/03 21:43:29 miknix Exp $ |
31 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/ChangeLog,v 1.9 2011/01/27 23:40:36 miknix Exp $ |
33 |
+ |
34 |
+*logtalk-2.42.2 (27 Jan 2011) |
35 |
+ |
36 |
+ 27 Jan 2011; Angelo Arrifano <miknix@g.o> +logtalk-2.42.2.ebuild: |
37 |
+ Version bump. |
38 |
|
39 |
*logtalk-2.41.0 (03 Oct 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-lang/logtalk/logtalk-2.42.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/logtalk/logtalk-2.42.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/logtalk/logtalk-2.42.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: logtalk-2.42.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/logtalk/logtalk-2.42.2.ebuild,v 1.1 2011/01/27 23:40:36 miknix Exp $ |
54 |
|
55 |
inherit eutils versionator fdo-mime |
56 |
|
57 |
DESCRIPTION="Open source object-oriented logic programming language." |
58 |
HOMEPAGE="http://logtalk.org" |
59 |
MY_PV="lgt$(delete_all_version_separators)" |
60 |
SRC_URI="http://logtalk.org/files/${MY_PV}.tar.bz2" |
61 |
LICENSE="Artistic-2" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="gnupl qupl swipl xsbpl yappl xslt fop" |
66 |
|
67 |
DEPEND="" |
68 |
RDEPEND=" |
69 |
gnupl? ( dev-lang/gprolog ) |
70 |
qupl? ( !amd64? ( dev-lang/qu-prolog ) ) |
71 |
swipl? ( dev-lang/swi-prolog ) |
72 |
xsbpl? ( x86? ( dev-lang/xsb ) ) |
73 |
yappl? ( dev-lang/yap ) |
74 |
xslt? ( dev-libs/libxslt ) |
75 |
fop? ( dev-java/fop ) |
76 |
${DEPEND}" |
77 |
|
78 |
S="${WORKDIR}/${MY_PV}" |
79 |
|
80 |
src_install() { |
81 |
# Look at scripts/install.sh for upstream installation process. |
82 |
# Install logtalk base |
83 |
mv scripts/logtalk_user_setup.sh integration/ |
84 |
mkdir -p "${D}/usr/share/${P}" |
85 |
cp -r compiler configs contributions VERSION.txt \ |
86 |
integration library wenv xml libpaths \ |
87 |
examples settings.lgt "${D}/usr/share/${P}" \ |
88 |
|| die "Failed to install files" |
89 |
|
90 |
# Install mime file, the database will be updated later |
91 |
insinto /usr/share/mime/packages |
92 |
doins scripts/freedesktop/logtalk.xml |
93 |
|
94 |
# Install documentation |
95 |
dodoc BIBLIOGRAPHY.bib CUSTOMIZE.txt INSTALL.txt \ |
96 |
LICENSE.txt QUICK_START.txt README.txt \ |
97 |
RELEASE_NOTES.txt UPGRADING.txt VERSION.txt |
98 |
dohtml -r manuals/* || die "Failed to install html manual" |
99 |
|
100 |
rm -f man/man1/logtalk_backend_select.1 |
101 |
rm -f man/man1/logtalk_version_select.1 |
102 |
doman man/man1/*.1 || die "Failed to install man pages" |
103 |
|
104 |
# Integration symlinks |
105 |
dosym /usr/share/${P}/integration/logtalk_user_setup.sh \ |
106 |
/usr/bin/logtalk_user_setup |
107 |
use gnupl && dosym /usr/share/${P}/integration/gplgt.sh \ |
108 |
/usr/bin/gplgt |
109 |
use qupl && ! use amd64 && dosym /usr/share/${P}/integration/qplgt.sh \ |
110 |
/usr/bin/qplgt |
111 |
use swipl && dosym /usr/share/${P}/integration/swilgt.sh \ |
112 |
/usr/bin/swilgt |
113 |
use xsbpl && use x86 && dosym /usr/share/${P}/integration/xsblgt.sh \ |
114 |
/usr/bin/xsblgt |
115 |
use yappl && dosym /usr/share/${P}/integration/yaplgt.sh \ |
116 |
/usr/bin/yaplgt |
117 |
|
118 |
dosym /usr/share/${P}/xml/lgt2xml.sh /usr/bin/lgt2xml |
119 |
use xslt && dosym /usr/share/${P}/xml/lgt2html.sh /usr/bin/lgt2html |
120 |
use xslt && dosym /usr/share/${P}/xml/lgt2txt.sh /usr/bin/lgt2txt |
121 |
use fop && dosym /usr/share/${P}/xml/lgt2pdf.sh /usr/bin/lgt2pdf |
122 |
|
123 |
# Install environment files |
124 |
echo "LOGTALKHOME=/usr/share/${P}" > 99logtalk |
125 |
doenvd 99logtalk |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
fdo-mime_desktop_database_update |
130 |
|
131 |
ewarn "Before running logtalk, users should execute" |
132 |
ewarn "logtalk_user_setup *once*." |
133 |
ewarn "To start logtalk use one of the following:" |
134 |
use gnupl && ewarn "GNU Prolog: /usr/bin/gplgt" |
135 |
use qupl && ! use amd64 && ewarn "Qu Prolog: /usr/bin/qplgt" |
136 |
use swipl && ewarn "SWI Prolog: /usr/bin/swilgt" |
137 |
use xsbpl && use x86 && ewarn "XSB: /usr/bin/xsblgt" |
138 |
use yappl && ewarn "YAP: /usr/bin/yaplgt" |
139 |
ewarn "" |
140 |
|
141 |
ewarn "The environment has been set up to make the above" |
142 |
ewarn "integration scripts find files automatically for logtalk." |
143 |
ewarn "Please run 'etc-update && source /etc/profile' to update" |
144 |
ewarn "the environment now, otherwise it will be updated at next" |
145 |
ewarn "login." |
146 |
} |
147 |
|
148 |
pkg_postrm() { |
149 |
fdo-mime_desktop_database_update |
150 |
} |