1 |
commit: c83dc517fb86ec9df853954bc9295bb843e7a65e |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 26 18:45:48 2017 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 26 18:58:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83dc517 |
7 |
|
8 |
dev-lang/mmix: version bump to 20160804 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-lang/mmix/Manifest | 1 + |
13 |
dev-lang/mmix/files/mmix-20110420-makefile.patch | 4 +- |
14 |
dev-lang/mmix/mmix-20160804.ebuild | 49 ++++++++++++++++++++++++ |
15 |
3 files changed, 52 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/mmix/Manifest b/dev-lang/mmix/Manifest |
18 |
index 54e8656..1882639 100644 |
19 |
--- a/dev-lang/mmix/Manifest |
20 |
+++ b/dev-lang/mmix/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mmix-20131017.tgz 308016 SHA256 aa64c4b9dc3cf51f07b330791f8ce542b0ae8a1132e098fa95a19b31350050b4 SHA512 e816b1ee9205b9f4a2e25ff183c48736ea66e63721a49f0b574850c5872ae85a6e847d802a01b5aa120ac969638d5d05e9b3135512d9362a4d672564f1228922 WHIRLPOOL e93f29e0a640e219ee2ded0034cbf300e9f6deed2bf9ed04081406cdfaaa952e0b3566525b86e35dfb480288e0ceef1744fefdc533ad0126952603cd698bbb6a |
23 |
+DIST mmix-20160804.tgz 308410 SHA256 fad8e64fddf2d75cbcd5080616b47e11a2d292a428cdb0c12e579be680ecdee9 SHA512 35c518227a4ee40d0aa3be02eda2ab8b2a27696fa789f5007a978419d07b3deebb7f391895e63e3556aeb38dc1ded3bddf2b860125ebf8f7848375e90dc7af75 WHIRLPOOL 177cc9d3b2426a554628b5487fd7ff9b8098a9292c2f2a14087df526b1af22c4388fa0e812486affd4d07f11ce386a9426ab4729f39b3821a97008e46396a5bd |
24 |
|
25 |
diff --git a/dev-lang/mmix/files/mmix-20110420-makefile.patch b/dev-lang/mmix/files/mmix-20110420-makefile.patch |
26 |
index dab062b..14107ed 100644 |
27 |
--- a/dev-lang/mmix/files/mmix-20110420-makefile.patch |
28 |
+++ b/dev-lang/mmix/files/mmix-20110420-makefile.patch |
29 |
@@ -1,5 +1,5 @@ |
30 |
---- Makefile |
31 |
-+++ Makefile |
32 |
+--- a/Makefile |
33 |
++++ b/Makefile |
34 |
@@ -27,23 +27,23 @@ |
35 |
if test -r $*.ch; then cweave $*.w $*.ch; else cweave $*.w; fi |
36 |
|
37 |
|
38 |
diff --git a/dev-lang/mmix/mmix-20160804.ebuild b/dev-lang/mmix/mmix-20160804.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000..238f635 |
41 |
--- /dev/null |
42 |
+++ b/dev-lang/mmix/mmix-20160804.ebuild |
43 |
@@ -0,0 +1,49 @@ |
44 |
+# Copyright 1999-2017 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+# $Id$ |
47 |
+ |
48 |
+EAPI=6 |
49 |
+ |
50 |
+inherit eutils toolchain-funcs |
51 |
+ |
52 |
+DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator" |
53 |
+HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html http://mmix.cs.hm.edu" |
54 |
+SRC_URI="http://mmix.cs.hm.edu/src/${P}.tgz" |
55 |
+ |
56 |
+RESTRICT="mirror" |
57 |
+ |
58 |
+DEPEND="virtual/tex-base |
59 |
+ doc? ( dev-texlive/texlive-genericrecommended )" |
60 |
+RDEPEND="" |
61 |
+ |
62 |
+SLOT="0" |
63 |
+LICENSE="${PN}" |
64 |
+KEYWORDS="~amd64 ~x86" |
65 |
+IUSE="doc" |
66 |
+ |
67 |
+S="${WORKDIR}" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-20110420-makefile.patch |
71 |
+ "${FILESDIR}"/${PN}-20131017-format-security.patch |
72 |
+) |
73 |
+ |
74 |
+src_compile() { |
75 |
+ emake all \ |
76 |
+ CFLAGS="${CFLAGS}" \ |
77 |
+ CC="$(tc-getCC)" |
78 |
+ |
79 |
+ if use doc ; then |
80 |
+ emake doc |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+src_install () { |
85 |
+ dobin ${PN} ${PN}al m${PN} mmotype abstime |
86 |
+ dodoc README ${PN}.1 |
87 |
+ |
88 |
+ if use doc ; then |
89 |
+ insinto /usr/share/doc/${PF} |
90 |
+ doins *.ps |
91 |
+ fi |
92 |
+} |