diff options
author | 2011-07-27 00:16:08 +0000 | |
---|---|---|
committer | 2011-07-27 00:16:08 +0000 | |
commit | b1b67667cbc0b02a6cb86a37fa4f2ac9a3c999bb (patch) | |
tree | 0561923f71472e7cdbeff7af7593698216a30b34 /dev-lang/mmix/mmix-20110605.ebuild | |
parent | Added ~mips. Works on Yeeloong. (diff) | |
download | historical-b1b67667cbc0b02a6cb86a37fa4f2ac9a3c999bb.tar.gz historical-b1b67667cbc0b02a6cb86a37fa4f2ac9a3c999bb.tar.bz2 historical-b1b67667cbc0b02a6cb86a37fa4f2ac9a3c999bb.zip |
Version bump
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/mmix/mmix-20110605.ebuild')
-rw-r--r-- | dev-lang/mmix/mmix-20110605.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 +} |