summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2008-02-22 23:59:18 +0000
committerKeri Harris <keri@gentoo.org>2008-02-22 23:59:18 +0000
commitf3e31e748f16c0cc5292eb2607ea7ec20ae2b61f (patch)
treeccf03e4bea2a115b89cd057b2f13576eb4735b24 /dev-lang/mozart
parentNo need for qmail at buildtime. Bug #199534 (diff)
downloadhistorical-f3e31e748f16c0cc5292eb2607ea7ec20ae2b61f.tar.gz
historical-f3e31e748f16c0cc5292eb2607ea7ec20ae2b61f.tar.bz2
historical-f3e31e748f16c0cc5292eb2607ea7ec20ae2b61f.zip
Install binaries into Mozart bin dir. Closes #210987.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-lang/mozart')
-rw-r--r--dev-lang/mozart/ChangeLog10
-rw-r--r--dev-lang/mozart/Manifest3
-rw-r--r--dev-lang/mozart/mozart-1.3.2-r1.ebuild125
3 files changed, 135 insertions, 3 deletions
diff --git a/dev-lang/mozart/ChangeLog b/dev-lang/mozart/ChangeLog
index 3505497fca1f..26fbbae964fd 100644
--- a/dev-lang/mozart/ChangeLog
+++ b/dev-lang/mozart/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/mozart
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v 1.13 2007/11/16 19:49:22 nixnut Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v 1.14 2008/02/22 23:59:18 keri Exp $
+
+*mozart-1.3.2-r1 (22 Feb 2008)
+
+ 22 Feb 2008; keri <keri@gentoo.org> +mozart-1.3.2-r1.ebuild:
+ Install binaries into Mozart bin dir. Closes #210987 reported by Andrés
+ Becerra Sandoval.
16 Nov 2007; nixnut <nixnut@gentoo.org> mozart-1.3.2.ebuild:
Stable on ppc wrt bug 199091
diff --git a/dev-lang/mozart/Manifest b/dev-lang/mozart/Manifest
index a1bf2617386a..9108800c1d7e 100644
--- a/dev-lang/mozart/Manifest
+++ b/dev-lang/mozart/Manifest
@@ -8,6 +8,7 @@ AUX mozart-1.3.2-portage.patch 9327 RMD160 767b30daefb5915fed5d3d8c85f6734011578
AUX mozart-1.3.2-ri-fpe.patch 1158 RMD160 d8741090acc8fe4bf67c55f873ad141bda01796b SHA1 6ccc5ea52f8cabde2d92a9e01977c37d1d6dd8a0 SHA256 544b2bdc701a80f69541417aeb05885155edc7111f2fd17581c1a0801eaee211
DIST mozart-1.3.2.20060615-doc.tar.gz 3890265 RMD160 450721bb64cbcc5cefddbaf9c3b0cdfe6261ae5f SHA1 28dfd9f92ba6ee698acb7363146b4a1c0ab4199f SHA256 b169418dd02fb6024d897778908928a6aa800e8ea96b6c76515b064bfac3b84e
DIST mozart-1.3.2.20060615-src.tar.gz 10798680 RMD160 22dd1f639b6ea525744564b37be009bd599d60ad SHA1 aa980f4de7dcb2b4c2db511a464a5b6497b98109 SHA256 a09acd3365911348fd7b351d73ae1b2ad76ae96ffd335ee08746f5dcca3a55bf
+EBUILD mozart-1.3.2-r1.ebuild 3324 RMD160 f8d276ce3de34627d9258912064b089f2f53c8be SHA1 17ec4eba4f88c2449cc56b273b13ad6445953534 SHA256 7cf9bbd71004914547dc20b1f4359f3b9690d022547082f9bc23b01cb11b0b13
EBUILD mozart-1.3.2.ebuild 2810 RMD160 b360b6c3bbb55165b1789a3f099a2fd48c2fce54 SHA1 5fe35ca24237c73d10d2b96064c1f42f92c1702e SHA256 186a8f1291eca6e056fae8262b2a449cd16d437e081744f7d491d606bb01b4e8
-MISC ChangeLog 2000 RMD160 07f87514eb8c22044c795b36d0cd892777d4d5a3 SHA1 72e4e71b88f8de713f7d0d6a9d5f4cb5d14f08e1 SHA256 98a7b3573b9243938e8dba24fe8d13a1dbe6e7b2b7199e4a1bfb9e26cac6a7ed
+MISC ChangeLog 2189 RMD160 305c23e5295935428e822d6e0f335cef2a6037cb SHA1 4d1a4d3bace657af6ae5a6873a0ef5b55eb3d9e0 SHA256 5691549288004bcb6717356ff307bd0549fe98adcbf9a581ed5d51db63fadced
MISC metadata.xml 247 RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 SHA1 7b705a8a3368abab6ad31ea2fcb5e5db865d92b1 SHA256 2768d0688d443184194068497dcafb2e5d67521980cb46b7e8efc07d3900bcaa
diff --git a/dev-lang/mozart/mozart-1.3.2-r1.ebuild b/dev-lang/mozart/mozart-1.3.2-r1.ebuild
new file mode 100644
index 000000000000..9db00d9113a9
--- /dev/null
+++ b/dev-lang/mozart/mozart-1.3.2-r1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+inherit elisp-common eutils
+
+MY_P="mozart-${PV}.20060615"
+
+DESCRIPTION="The Mozart Programming System is an advanced development platform for intelligent, distributed applications"
+HOMEPAGE="http://www.mozart-oz.org/"
+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
+ 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 )"
+LICENSE="Mozart"
+
+SLOT="0"
+KEYWORDS="~ppc ~sparc ~x86"
+IUSE="doc emacs gdbm static tcl threads tk"
+
+DEPEND="dev-lang/perl
+ dev-libs/gmp
+ sys-devel/bison
+ sys-devel/flex
+ sys-libs/zlib
+ emacs? ( virtual/emacs )
+ gdbm? ( sys-libs/gdbm )
+ tcl? ( tk? (
+ dev-lang/tk
+ dev-lang/tcl ) )"
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-portage.patch
+ epatch "${FILESDIR}"/${P}-contrib.patch
+ epatch "${FILESDIR}"/${P}-emubin.patch
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+ epatch "${FILESDIR}"/${P}-nostrip.patch
+ epatch "${FILESDIR}"/${P}-ozplatform.patch
+ epatch "${FILESDIR}"/${P}-ri-fpe.patch
+}
+
+src_compile() {
+ local myconf="\
+ --without-global-oz \
+ --enable-opt=none"
+
+ if use tcl && use tk ; then
+ myconf="${myconf} --enable-wish"
+ else
+ myconf="${myconf} --disable-wish"
+ fi
+
+ econf \
+ ${myconf} \
+ --enable-contrib \
+ --enable-contrib-regex \
+ --enable-contrib-os \
+ --enable-contrib-micq \
+ --enable-contrib-ri \
+ --enable-contrib-davinci \
+ --enable-contrib-reflect \
+ --enable-contrib-investigator \
+ --enable-contrib-fcp \
+ --enable-contrib-compat \
+ --enable-contrib-directory \
+ --disable-contrib-psql \
+ --disable-contrib-lp \
+ --disable-doc \
+ $(use_enable doc contrib-doc) \
+ $(use_enable gdbm contrib-gdbm) \
+ $(use_enable emacs compile-elisp) \
+ $(use_enable static link-static) \
+ $(use_enable threads threaded) \
+ || die "econf failed"
+
+ emake -j1 bootstrap || die "emake bootstrap failed"
+}
+
+src_test() {
+ cd "${S}"/share/test
+ emake -j1 boot-oztest || die "emake boot-oztest failed"
+ emake -j1 boot-check || die "emake boot-check failed"
+}
+
+src_install() {
+ emake -j1 \
+ PREFIX="${D}"/usr/lib/mozart \
+ ELISPDIR="${D}${SITELISP}/${PN}" \
+ install || die "emake install failed"
+
+ dosym /usr/lib/mozart/bin/convertTextPickle /usr/bin/convertTextPickle
+ dosym /usr/lib/mozart/bin/oldpickle2text /usr/bin/oldpickle2text
+ dosym /usr/lib/mozart/bin/oz /usr/bin/oz
+ dosym /usr/lib/mozart/bin/ozc /usr/bin/ozc
+ dosym /usr/lib/mozart/bin/ozd /usr/bin/ozd
+ dosym /usr/lib/mozart/bin/ozengine /usr/bin/ozengine
+ dosym /usr/lib/mozart/bin/ozl /usr/bin/ozl
+ dosym /usr/lib/mozart/bin/oztool /usr/bin/oztool
+ dosym /usr/lib/mozart/bin/pickle2text /usr/bin/pickle2text
+ dosym /usr/lib/mozart/bin/text2pickle /usr/bin/text2pickle
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+
+ if use doc ; then
+ dohtml -r "${WORKDIR}"/mozart/doc/*
+ fi
+
+ dodoc README
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}