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
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')
-rw-r--r--dev-lang/mercury-extras/ChangeLog8
-rw-r--r--dev-lang/mercury-extras/files/digest-mercury-extras-0.13.0_beta200605113
-rw-r--r--dev-lang/mercury-extras/mercury-extras-0.13.0_beta20060511.ebuild117
-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
6 files changed, 193 insertions, 2 deletions
diff --git a/dev-lang/mercury-extras/ChangeLog b/dev-lang/mercury-extras/ChangeLog
index ce90fb022110..3aafd26dc254 100644
--- a/dev-lang/mercury-extras/ChangeLog
+++ b/dev-lang/mercury-extras/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/mercury-extras
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/ChangeLog,v 1.19 2006/05/13 10:30:52 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/ChangeLog,v 1.20 2006/05/13 22:03:25 keri Exp $
+
+*mercury-extras-0.13.0_beta20060511 (13 May 2006)
+
+ 13 May 2006; Keri Harris <keri@gentoo.org>
+ +mercury-extras-0.13.0_beta20060511.ebuild:
+ New development snapshot.
13 May 2006; Keri Harris <keri@gentoo.org>
mercury-extras-0.13.0_beta20060501.ebuild:
diff --git a/dev-lang/mercury-extras/files/digest-mercury-extras-0.13.0_beta20060511 b/dev-lang/mercury-extras/files/digest-mercury-extras-0.13.0_beta20060511
new file mode 100644
index 000000000000..4c030c12f951
--- /dev/null
+++ b/dev-lang/mercury-extras/files/digest-mercury-extras-0.13.0_beta20060511
@@ -0,0 +1,3 @@
+MD5 577c7e179c885449d919f8b765ecd552 mercury-extras-0.13.0-beta-2006-05-11-unstable.tar.gz 873613
+RMD160 3da5f396c814f2eaa089cce5798a4b6e655a8d58 mercury-extras-0.13.0-beta-2006-05-11-unstable.tar.gz 873613
+SHA256 2b386f150eb2d1d8684ff8c3ef880309d2a92f255ba9d5ac731670aac6080e3b mercury-extras-0.13.0-beta-2006-05-11-unstable.tar.gz 873613
diff --git a/dev-lang/mercury-extras/mercury-extras-0.13.0_beta20060511.ebuild b/dev-lang/mercury-extras/mercury-extras-0.13.0_beta20060511.ebuild
new file mode 100644
index 000000000000..d8ba33c5ccfc
--- /dev/null
+++ b/dev-lang/mercury-extras/mercury-extras-0.13.0_beta20060511.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-0.13.0_beta20060511.ebuild,v 1.1 2006/05/13 22:03:25 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}-${MY_PV}
+
+DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
+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="doc glut iodbc odbc opengl tcltk"
+
+DEPEND="~dev-lang/mercury-${PV}
+ !<dev-lang/mercury-extras-0.13.0_beta
+ sys-libs/ncurses
+ glut? ( virtual/glut )
+ odbc? ( dev-db/unixODBC )
+ iodbc? ( !odbc? ( dev-db/libiodbc ) )
+ opengl? ( virtual/opengl )
+ tcktk? ( =dev-lang/tk-8.4*
+ x11-libs/libX11
+ x11-libs/libXmu )"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-concurrency-r1.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-dynamic_linking.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-lex.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-mercury_glut.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-mercury_tcltk.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-mercury_opengl.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-odbc-r1.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-posix.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-references.patch
+ epatch "${FILESDIR}"/${P/${BETA_V}/beta}-trailed_update-r1.patch
+
+ sed -i -e "s:curs:concurrency curs:" \
+ -e "s:posix:posix quickcheck:" \
+ -e "s:windows_installer_generator ::" \
+ -e "s:xml:trailed_update xml:" Mmakefile
+
+ use glut && sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile
+ use tcltk && sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile
+ use opengl && sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile
+
+ if use odbc ; then
+ sed -i -e "s:moose:moose odbc:" Mmakefile
+ elif use iodbc ; then
+ sed -i -e "s:moose:moose odbc:" Mmakefile
+ sed -i -e "s:MODBC_DRIVER=MODBC_UNIX:MODBC_DRIVER=MODBC_IODBC:" odbc/Mmakefile
+ fi
+}
+
+src_compile() {
+ mmake depend || die "mmake depend failed"
+ mmake || die "mmake failed"
+
+ if use opengl && use tcltk ; then
+ cd "${S}"/graphics/mercury_opengl
+ cp ../mercury_tcltk/mtcltk.m ./
+ mmake -f Mmakefile.mtogl depend || die "mmake depend mtogl failed"
+ mmake -f Mmakefile.mtogl || die "mmake mtogl failed"
+ fi
+}
+
+src_install() {
+ cd "${S}"
+ mmake INSTALL_PREFIX="${D}"/usr install || die "mmake install failed"
+
+ if use opengl && use tcltk ; then
+ cd "${S}"/graphics/mercury_opengl
+ mv Mmakefile Mmakefile.opengl
+ mv Mmakefile.mtogl Mmakefile
+ mmake INSTALL_PREFIX="${D}"/usr \
+ install || die "mmake install mtogl failed"
+ fi
+
+ cd "${S}"
+ if use doc ; then
+ docinto samples/complex_numbers
+ dodoc complex_numbers/samples/*.m
+
+ docinto samples/curs
+ dodoc curs/samples/*.m
+
+ docinto samples/curses
+ dodoc curses/sample/*.m
+
+ docinto samples/dynamic_linking
+ dodoc dynamic_linking/hello.m
+
+ docinto samples/lex
+ dodoc lex/samples/*.m
+
+ docinto samples/moose
+ dodoc moose/samples/*.m moose/samples/*.moo
+
+ docinto samples/references
+ dodoc references/samples/*.m
+ fi
+
+ dodoc README
+}
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
+}