summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-05-13 22:03:25 +0000
committerKeri Harris <keri@gentoo.org>2006-05-13 22:03:25 +0000
commitfcb86139184dc8a6cf6ca5bbd377e6e53c4bbe57 (patch)
tree13610fb6af7db334471a68ee0ed3bfa58e0720fd /dev-lang/mercury
parentVersion bump (diff)
downloadhistorical-fcb86139184dc8a6cf6ca5bbd377e6e53c4bbe57.tar.gz
historical-fcb86139184dc8a6cf6ca5bbd377e6e53c4bbe57.tar.bz2
historical-fcb86139184dc8a6cf6ca5bbd377e6e53c4bbe57.zip
New development snapshot.
Package-Manager: portage-2.1_pre10-r5
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_beta200605113
-rw-r--r--dev-lang/mercury/mercury-0.13.0_beta20060511.ebuild56
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog
index fdbe600f154d..f4e93af654c4 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.18 2006/05/13 10:29:07 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.19 2006/05/13 21:59:50 keri Exp $
+
+*mercury-0.13.0_beta20060511 (13 May 2006)
+
+ 13 May 2006; Keri Harris <keri@gentoo.org>
+ +mercury-0.13.0_beta20060511.ebuild:
+ New development snapshot.
13 May 2006; Keri Harris <keri@gentoo.org>
mercury-0.13.0_beta20060501.ebuild:
diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060511 b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060511
new file mode 100644
index 000000000000..ef3d6cbfda9c
--- /dev/null
+++ b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060511
@@ -0,0 +1,3 @@
+MD5 c92f7ce2ab728dec7e6bc882311b50d1 mercury-compiler-0.13.0-beta-2006-05-11-unstable.tar.gz 15844878
+RMD160 475b894d9c07c6e0913cb74c9e54d92ac3d170ff mercury-compiler-0.13.0-beta-2006-05-11-unstable.tar.gz 15844878
+SHA256 08f0783008f76c8a0cc9983d3b18537427f54ec6dc7c16619d7dbeb490fcaf1a mercury-compiler-0.13.0-beta-2006-05-11-unstable.tar.gz 15844878
diff --git a/dev-lang/mercury/mercury-0.13.0_beta20060511.ebuild b/dev-lang/mercury/mercury-0.13.0_beta20060511.ebuild
new file mode 100644
index 000000000000..26f8cbabd226
--- /dev/null
+++ b/dev-lang/mercury/mercury-0.13.0_beta20060511.ebuild
@@ -0,0 +1,56 @@
+# 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_beta20060511.ebuild,v 1.1 2006/05/13 21:59:50 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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+IUSE="minimal readline"
+
+DEPEND="readline? ( sys-libs/readline )"
+
+S="${WORKDIR}"/${MY_P}
+
+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
+}
+
+src_compile() {
+ econf \
+ --disable-dotnet-grades \
+ $(use_enable !minimal most-grades) \
+ $(use_with readline) \
+ || die "econf failed"
+ emake || die "emake 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
+}