Skip to content

Commit

Permalink
dev-lang/mmix: version bump to 20160804
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
tamiko committed Jan 26, 2017
1 parent db5dd26 commit c83dc51
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-lang/mmix/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST mmix-20131017.tgz 308016 SHA256 aa64c4b9dc3cf51f07b330791f8ce542b0ae8a1132e098fa95a19b31350050b4 SHA512 e816b1ee9205b9f4a2e25ff183c48736ea66e63721a49f0b574850c5872ae85a6e847d802a01b5aa120ac969638d5d05e9b3135512d9362a4d672564f1228922 WHIRLPOOL e93f29e0a640e219ee2ded0034cbf300e9f6deed2bf9ed04081406cdfaaa952e0b3566525b86e35dfb480288e0ceef1744fefdc533ad0126952603cd698bbb6a
DIST mmix-20160804.tgz 308410 SHA256 fad8e64fddf2d75cbcd5080616b47e11a2d292a428cdb0c12e579be680ecdee9 SHA512 35c518227a4ee40d0aa3be02eda2ab8b2a27696fa789f5007a978419d07b3deebb7f391895e63e3556aeb38dc1ded3bddf2b860125ebf8f7848375e90dc7af75 WHIRLPOOL 177cc9d3b2426a554628b5487fd7ff9b8098a9292c2f2a14087df526b1af22c4388fa0e812486affd4d07f11ce386a9426ab4729f39b3821a97008e46396a5bd
4 changes: 2 additions & 2 deletions dev-lang/mmix/files/mmix-20110420-makefile.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- Makefile
+++ Makefile
--- a/Makefile
+++ b/Makefile
@@ -27,23 +27,23 @@
if test -r $*.ch; then cweave $*.w $*.ch; else cweave $*.w; fi

Expand Down
49 changes: 49 additions & 0 deletions dev-lang/mmix/mmix-20160804.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit eutils toolchain-funcs

DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator"
HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html http://mmix.cs.hm.edu"
SRC_URI="http://mmix.cs.hm.edu/src/${P}.tgz"

RESTRICT="mirror"

DEPEND="virtual/tex-base
doc? ( dev-texlive/texlive-genericrecommended )"
RDEPEND=""

SLOT="0"
LICENSE="${PN}"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

S="${WORKDIR}"

PATCHES=(
"${FILESDIR}"/${PN}-20110420-makefile.patch
"${FILESDIR}"/${PN}-20131017-format-security.patch
)

src_compile() {
emake all \
CFLAGS="${CFLAGS}" \
CC="$(tc-getCC)"

if use doc ; then
emake doc
fi
}

src_install () {
dobin ${PN} ${PN}al m${PN} mmotype abstime
dodoc README ${PN}.1

if use doc ; then
insinto /usr/share/doc/${PF}
doins *.ps
fi
}

0 comments on commit c83dc51

Please sign in to comment.