summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-06-25 06:49:32 +0000
committerKeri Harris <keri@gentoo.org>2006-06-25 06:49:32 +0000
commit4107112d59c4d25341ef4feb8f1cc3ff4b2cb0d2 (patch)
treee28a3ad7bd531d07385756666b5df4af7372e5ff /dev-lang/mercury
parentppc stable, bug #135141 (diff)
downloadhistorical-4107112d59c4d25341ef4feb8f1cc3ff4b2cb0d2.tar.gz
historical-4107112d59c4d25341ef4feb8f1cc3ff4b2cb0d2.tar.bz2
historical-4107112d59c4d25341ef4feb8f1cc3ff4b2cb0d2.zip
New development snapshot.
Package-Manager: portage-2.1.1_pre1-r2
Diffstat (limited to 'dev-lang/mercury')
-rw-r--r--dev-lang/mercury/ChangeLog8
-rw-r--r--dev-lang/mercury/files/digest-mercury-0.13.0_beta200606236
-rw-r--r--dev-lang/mercury/mercury-0.13.0_beta20060623.ebuild76
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog
index d7d77300f438..989938e0f977 100644
--- a/dev-lang/mercury/ChangeLog
+++ b/dev-lang/mercury/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/mercury
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.31 2006/06/17 09:28:37 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.32 2006/06/25 06:49:32 keri Exp $
+
+*mercury-0.13.0_beta20060623 (25 Jun 2006)
+
+ 25 Jun 2006; Keri Harris <keri@gentoo.org>
+ -mercury-0.13.0_beta20060615.ebuild, +mercury-0.13.0_beta20060623.ebuild:
+ New development snapshot.
*mercury-0.13.0_beta20060615 (17 Jun 2006)
diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060623 b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060623
new file mode 100644
index 000000000000..46abee445e54
--- /dev/null
+++ b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060623
@@ -0,0 +1,6 @@
+MD5 6fa77eab658852ae6945474b60282344 mercury-compiler-0.13.0-beta-2006-06-23-unstable.tar.gz 15853511
+RMD160 6f69da56878cdc9b162377db275674d5f5467960 mercury-compiler-0.13.0-beta-2006-06-23-unstable.tar.gz 15853511
+SHA256 35113f1dbc2063ef8f5cd35399e49d340d4a772fb5c0be41ff0f03c1f754055e mercury-compiler-0.13.0-beta-2006-06-23-unstable.tar.gz 15853511
+MD5 4affd888d65031b6d3e7a2be36de6e38 mercury-tests-0.13.0-beta-2006-06-23-unstable.tar.gz 981287
+RMD160 9844709df8b763964de00c14158cd19c86835a73 mercury-tests-0.13.0-beta-2006-06-23-unstable.tar.gz 981287
+SHA256 a96dc80c1bfa26884d3abce581e021100e12141ae89e595879602e4d8b83f87a mercury-tests-0.13.0-beta-2006-06-23-unstable.tar.gz 981287
diff --git a/dev-lang/mercury/mercury-0.13.0_beta20060623.ebuild b/dev-lang/mercury/mercury-0.13.0_beta20060623.ebuild
new file mode 100644
index 000000000000..6119aa9a03d7
--- /dev/null
+++ b/dev-lang/mercury/mercury-0.13.0_beta20060623.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.0_beta20060623.ebuild,v 1.1 2006/06/25 06:49:32 keri Exp $
+
+inherit eutils versionator
+
+BETA_V=$(get_version_component_range 4 $PV)
+BETA_V_YYYY=${BETA_V:4:4}
+BETA_V_MM=${BETA_V:8:2}
+BETA_V_DD=${BETA_V:10:2}
+MY_PV=$(get_version_component_range 1-3 $PV)-beta-${BETA_V_YYYY}-${BETA_V_MM}-${BETA_V_DD}
+MY_P=${PN}-compiler-${MY_PV}
+
+DESCRIPTION="Mercury is a modern general-purpose logic/functional programming language"
+HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
+SRC_URI="ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/beta-releases/0.13.0-beta/${MY_P}-unstable.tar.gz
+ ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/beta-releases/0.13.0-beta/mercury-tests-${MY_PV}-unstable.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+IUSE="debug minimal readline threads"
+
+DEPEND="readline? ( sys-libs/readline )"
+
+S="${WORKDIR}"/${MY_P}
+TESTDIR="${WORKDIR}"/${PN}-tests-${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-portage.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-CFLAGS.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-docs.patch
+
+ cd "${TESTDIR}"
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-tests.patch
+ sed -i -e "s:MDB_DOC:${S}/doc/mdb_doc:" mdbrc
+}
+
+src_compile() {
+ econf \
+ --disable-dotnet-grades \
+ $(use_enable debug debug-grades) \
+ $(use_enable threads par-grades) \
+ $(use_enable !minimal most-grades) \
+ $(use_with readline) \
+ PACKAGE_VERSION=${PV} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_test() {
+ cd "${TESTDIR}"
+
+ PATH="${S}"/scripts:"${S}"/util:"${PATH}" \
+ WORKSPACE="${S}" \
+ MERCURY_COMPILER="${S}"/compiler/${PN}_compile \
+ MMAKE_DIR="${S}"/scripts \
+ MERCURY_DEBUGGER_INIT="${TESTDIR}"/mdbrc \
+ mmake || die "mmake test failed"
+}
+
+src_install() {
+ make \
+ MERCURY_COMPILER="${D}"/usr/bin/${PN}_compile \
+ INSTALL_PREFIX="${D}"/usr \
+ INSTALL_MAN_DIR="${D}"/usr/share/man \
+ INSTALL_INFO_DIR="${D}"/usr/share/info \
+ INSTALL_HTML_DIR="${D}"/usr/share/doc/${PF}/html \
+ install || die "make install failed"
+
+ dodoc BUGS HISTORY LIMITATIONS NEWS README README.Java README.Linux README.Linux-Alpha README.Linux-m68k README.Linux-PPC RELEASE_NOTES TODO VERSION WORK_IN_PROGRESS
+}