summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-07-27 00:16:08 +0000
committerMichael Weber <xmw@gentoo.org>2011-07-27 00:16:08 +0000
commit7b25180dc5278ebb0768a597c15406a0fd6a205f (patch)
treed6889b00941090fa24e64c83bfd8267720379292 /dev-lang/mmix
parentAdded ~mips. Works on Yeeloong. (diff)
downloadgentoo-2-7b25180dc5278ebb0768a597c15406a0fd6a205f.tar.gz
gentoo-2-7b25180dc5278ebb0768a597c15406a0fd6a205f.tar.bz2
gentoo-2-7b25180dc5278ebb0768a597c15406a0fd6a205f.zip
Version bump
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mmix')
-rw-r--r--dev-lang/mmix/ChangeLog8
-rw-r--r--dev-lang/mmix/files/mmix-20110420-makefile.patch4
-rw-r--r--dev-lang/mmix/mmix-20110605.ebuild44
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-lang/mmix/ChangeLog b/dev-lang/mmix/ChangeLog
index c94ec2f21f63..d2848c5a1046 100644
--- a/dev-lang/mmix/ChangeLog
+++ b/dev-lang/mmix/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/mmix
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/ChangeLog,v 1.18 2011/05/10 10:20:54 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/ChangeLog,v 1.19 2011/07/27 00:16:08 xmw Exp $
+
+*mmix-20110605 (27 Jul 2011)
+
+ 27 Jul 2011; Michael Weber <xmw@gentoo.org>
+ files/mmix-20110420-makefile.patch, +mmix-20110605.ebuild:
+ Version bump
*mmix-20110420 (10 May 2011)
diff --git a/dev-lang/mmix/files/mmix-20110420-makefile.patch b/dev-lang/mmix/files/mmix-20110420-makefile.patch
index f531cfa33610..dab062b050f0 100644
--- a/dev-lang/mmix/files/mmix-20110420-makefile.patch
+++ b/dev-lang/mmix/files/mmix-20110420-makefile.patch
@@ -1,5 +1,5 @@
---- /var/tmp/portage/dev-lang/mmix-20110420/work/Makefile 2011-03-30 01:47:08.000000000 +0200
-+++ /tmp/Makefile 2011-05-10 12:16:32.752503223 +0200
+--- Makefile
++++ Makefile
@@ -27,23 +27,23 @@
if test -r $*.ch; then cweave $*.w $*.ch; else cweave $*.w; fi
diff --git a/dev-lang/mmix/mmix-20110605.ebuild b/dev-lang/mmix/mmix-20110605.ebuild
new file mode 100644
index 000000000000..2bc816cfbe79
--- /dev/null
+++ b/dev-lang/mmix/mmix-20110605.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20110605.ebuild,v 1.1 2011/07/27 00:16:08 xmw Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
+HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
+SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
+
+DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
+RDEPEND=""
+
+SLOT="0"
+LICENSE="mmix"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-20110420-makefile.patch
+}
+
+src_compile() {
+ emake all \
+ CFLAGS="${CFLAGS}" \
+ CC=$(tc-getCC) \
+ || die
+ if use doc ; then
+ emake doc || die
+ fi
+}
+
+src_install () {
+ dobin mmix mmixal mmmix mmotype abstime || die
+ dodoc README mmix.1 || die
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins *.ps || die
+ fi
+}