summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-08-12 03:20:02 +0000
committerKeri Harris <keri@gentoo.org>2006-08-12 03:20:02 +0000
commit13025184b687125752c855caf098fd1c477c3fbe (patch)
tree508239f9e934059348afdfd2c5203065d5414184 /dev-lang/mercury
parentMarked stable on mips. (diff)
downloadgentoo-2-13025184b687125752c855caf098fd1c477c3fbe.tar.gz
gentoo-2-13025184b687125752c855caf098fd1c477c3fbe.tar.bz2
gentoo-2-13025184b687125752c855caf098fd1c477c3fbe.zip
New development snapshot.
(Portage version: 2.1.1_pre4-r4)
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_beta200608116
-rw-r--r--dev-lang/mercury/mercury-0.13.0_beta20060811.ebuild76
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog
index 35824820891f..4fedcd38ea84 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.33 2006/08/12 01:42:13 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.34 2006/08/12 03:20:02 keri Exp $
+
+*mercury-0.13.0_beta20060811 (12 Aug 2006)
+
+ 12 Aug 2006; Keri Harris <keri@gentoo.org>
+ +mercury-0.13.0_beta20060811.ebuild:
+ New development snapshot.
*mercury-0.12.2-r3 (12 Aug 2006)
diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060811 b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060811
new file mode 100644
index 000000000000..27bf71903147
--- /dev/null
+++ b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060811
@@ -0,0 +1,6 @@
+MD5 ec285f93495474f1dc5af2efcb96254d mercury-compiler-0.13.0-beta-2006-08-11-unstable.tar.gz 15857777
+RMD160 60bc5f769bcbc5f91ac5566bc1efbf1be8c33b71 mercury-compiler-0.13.0-beta-2006-08-11-unstable.tar.gz 15857777
+SHA256 5cecf1bed12afd0a68962e10f545cd6c388c79fa25d39cf5cefbf51ff273662a mercury-compiler-0.13.0-beta-2006-08-11-unstable.tar.gz 15857777
+MD5 67a51ea3face53a777c61bc899e8f140 mercury-tests-0.13.0-beta-2006-08-11-unstable.tar.gz 981994
+RMD160 eefcd9b5da93bbc50ce06163ca64ad5557f29b0f mercury-tests-0.13.0-beta-2006-08-11-unstable.tar.gz 981994
+SHA256 79a5fc022d24c05a91bcc077b18505a74d167db585de66e4ba4178781de03db3 mercury-tests-0.13.0-beta-2006-08-11-unstable.tar.gz 981994
diff --git a/dev-lang/mercury/mercury-0.13.0_beta20060811.ebuild b/dev-lang/mercury/mercury-0.13.0_beta20060811.ebuild
new file mode 100644
index 000000000000..62cc1ae0b503
--- /dev/null
+++ b/dev-lang/mercury/mercury-0.13.0_beta20060811.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_beta20060811.ebuild,v 1.1 2006/08/12 03:20:02 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
+}