From: | "Keri Harris (keri)" <keri@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/mozart: ChangeLog mozart-1.3.2-r1.ebuild |
Date: | Fri, 22 Feb 2008 23:59:22 |
Message-Id: | E1JShnS-0000ck-P8@stork.gentoo.org |
1 | keri 08/02/22 23:59:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mozart-1.3.2-r1.ebuild |
5 | Log: |
6 | Install binaries into Mozart bin dir. Closes #210987. |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.14 dev-lang/mozart/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/ChangeLog?rev=1.14&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/ChangeLog?rev=1.14&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/ChangeLog?r1=1.13&r2=1.14 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v |
19 | retrieving revision 1.13 |
20 | retrieving revision 1.14 |
21 | diff -u -r1.13 -r1.14 |
22 | --- ChangeLog 16 Nov 2007 19:49:22 -0000 1.13 |
23 | +++ ChangeLog 22 Feb 2008 23:59:18 -0000 1.14 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-lang/mozart |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v 1.13 2007/11/16 19:49:22 nixnut Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v 1.14 2008/02/22 23:59:18 keri Exp $ |
30 | + |
31 | +*mozart-1.3.2-r1 (22 Feb 2008) |
32 | + |
33 | + 22 Feb 2008; keri <keri@g.o> +mozart-1.3.2-r1.ebuild: |
34 | + Install binaries into Mozart bin dir. Closes #210987 reported by Andrés |
35 | + Becerra Sandoval. |
36 | |
37 | 16 Nov 2007; nixnut <nixnut@g.o> mozart-1.3.2.ebuild: |
38 | Stable on ppc wrt bug 199091 |
39 | |
40 | |
41 | |
42 | 1.1 dev-lang/mozart/mozart-1.3.2-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/mozart-1.3.2-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/mozart-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: mozart-1.3.2-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/mozart-1.3.2-r1.ebuild,v 1.1 2008/02/22 23:59:18 keri Exp $ |
52 | |
53 | inherit elisp-common eutils |
54 | |
55 | MY_P="mozart-${PV}.20060615" |
56 | |
57 | DESCRIPTION="The Mozart Programming System is an advanced development platform for intelligent, distributed applications" |
58 | HOMEPAGE="http://www.mozart-oz.org/" |
59 | SRC_URI="http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-src.tar.gz |
60 | doc? ( http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-doc.tar.gz )" |
61 | LICENSE="Mozart" |
62 | |
63 | SLOT="0" |
64 | KEYWORDS="~ppc ~sparc ~x86" |
65 | IUSE="doc emacs gdbm static tcl threads tk" |
66 | |
67 | DEPEND="dev-lang/perl |
68 | dev-libs/gmp |
69 | sys-devel/bison |
70 | sys-devel/flex |
71 | sys-libs/zlib |
72 | emacs? ( virtual/emacs ) |
73 | gdbm? ( sys-libs/gdbm ) |
74 | tcl? ( tk? ( |
75 | dev-lang/tk |
76 | dev-lang/tcl ) )" |
77 | RDEPEND="${DEPEND}" |
78 | |
79 | SITEFILE=50${PN}-gentoo.el |
80 | |
81 | S="${WORKDIR}"/${MY_P} |
82 | |
83 | src_unpack() { |
84 | unpack ${A} |
85 | cd "${S}" |
86 | epatch "${FILESDIR}"/${P}-portage.patch |
87 | epatch "${FILESDIR}"/${P}-contrib.patch |
88 | epatch "${FILESDIR}"/${P}-emubin.patch |
89 | epatch "${FILESDIR}"/${P}-gcc4.patch |
90 | epatch "${FILESDIR}"/${P}-nostrip.patch |
91 | epatch "${FILESDIR}"/${P}-ozplatform.patch |
92 | epatch "${FILESDIR}"/${P}-ri-fpe.patch |
93 | } |
94 | |
95 | src_compile() { |
96 | local myconf="\ |
97 | --without-global-oz \ |
98 | --enable-opt=none" |
99 | |
100 | if use tcl && use tk ; then |
101 | myconf="${myconf} --enable-wish" |
102 | else |
103 | myconf="${myconf} --disable-wish" |
104 | fi |
105 | |
106 | econf \ |
107 | ${myconf} \ |
108 | --enable-contrib \ |
109 | --enable-contrib-regex \ |
110 | --enable-contrib-os \ |
111 | --enable-contrib-micq \ |
112 | --enable-contrib-ri \ |
113 | --enable-contrib-davinci \ |
114 | --enable-contrib-reflect \ |
115 | --enable-contrib-investigator \ |
116 | --enable-contrib-fcp \ |
117 | --enable-contrib-compat \ |
118 | --enable-contrib-directory \ |
119 | --disable-contrib-psql \ |
120 | --disable-contrib-lp \ |
121 | --disable-doc \ |
122 | $(use_enable doc contrib-doc) \ |
123 | $(use_enable gdbm contrib-gdbm) \ |
124 | $(use_enable emacs compile-elisp) \ |
125 | $(use_enable static link-static) \ |
126 | $(use_enable threads threaded) \ |
127 | || die "econf failed" |
128 | |
129 | emake -j1 bootstrap || die "emake bootstrap failed" |
130 | } |
131 | |
132 | src_test() { |
133 | cd "${S}"/share/test |
134 | emake -j1 boot-oztest || die "emake boot-oztest failed" |
135 | emake -j1 boot-check || die "emake boot-check failed" |
136 | } |
137 | |
138 | src_install() { |
139 | emake -j1 \ |
140 | PREFIX="${D}"/usr/lib/mozart \ |
141 | ELISPDIR="${D}${SITELISP}/${PN}" \ |
142 | install || die "emake install failed" |
143 | |
144 | dosym /usr/lib/mozart/bin/convertTextPickle /usr/bin/convertTextPickle |
145 | dosym /usr/lib/mozart/bin/oldpickle2text /usr/bin/oldpickle2text |
146 | dosym /usr/lib/mozart/bin/oz /usr/bin/oz |
147 | dosym /usr/lib/mozart/bin/ozc /usr/bin/ozc |
148 | dosym /usr/lib/mozart/bin/ozd /usr/bin/ozd |
149 | dosym /usr/lib/mozart/bin/ozengine /usr/bin/ozengine |
150 | dosym /usr/lib/mozart/bin/ozl /usr/bin/ozl |
151 | dosym /usr/lib/mozart/bin/oztool /usr/bin/oztool |
152 | dosym /usr/lib/mozart/bin/pickle2text /usr/bin/pickle2text |
153 | dosym /usr/lib/mozart/bin/text2pickle /usr/bin/text2pickle |
154 | |
155 | if use emacs; then |
156 | elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
157 | || die "elisp-site-file-install failed" |
158 | fi |
159 | |
160 | if use doc ; then |
161 | dohtml -r "${WORKDIR}"/mozart/doc/* |
162 | fi |
163 | |
164 | dodoc README |
165 | } |
166 | |
167 | pkg_postinst() { |
168 | use emacs && elisp-site-regen |
169 | } |
170 | |
171 | pkg_postrm() { |
172 | use emacs && elisp-site-regen |
173 | } |
174 | |
175 | |
176 | |
177 | -- |
178 | gentoo-commits@l.g.o mailing list |