Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 13:29:02 +0800 (CST)
From:      keith@freebsd.sinica.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22340: New port: mmix
Message-ID:  <200010270529.NAA02346@freebsd.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         22340
>Category:       ports
>Synopsis:       New port: mmix, a RISC computer designed by D.E. Knuth
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 22:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jing-Tang Keith Jang
>Release:        FreeBSD 4.0-20000406-STABLE i386
>Organization:
>Environment:

4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Thu Oct 26 04:54:00 CST 2000

>Description:

From Donald E. Knuth's MMIX page:

MMIX is a RISC computer designed by the author to illustrate
machine-level aspects of programming. In the next editions of his
books The Art of Computer Programming, MMIX will replace the
1960s-style machine MIX.

>How-To-Repeat:

Please commit the port, thanks.

>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mmix
#	mmix/files
#	mmix/files/patch-aa
#	mmix/pkg-comment
#	mmix/Makefile
#	mmix/distinfo
#	mmix/pkg-descr
#	mmix/pkg-plist
#
echo c - mmix
mkdir -p mmix > /dev/null 2>&1
echo c - mmix/files
mkdir -p mmix/files > /dev/null 2>&1
echo x - mmix/files/patch-aa
sed 's/^X//' >mmix/files/patch-aa << 'END-of-mmix/files/patch-aa'
X--- Makefile.orig	Fri Oct 27 05:23:57 2000
X+++ Makefile	Fri Oct 27 05:24:40 2000
X@@ -6,7 +6,7 @@
X #   In fact, CWEB 3.61 is recommended for making hardcopy or PDF documentation.
X 
X #   If you prefer optimization to debugging, change -g to something like -O:
X-CFLAGS = -g
X+CFLAGS = -O -pipe
X 
X #   Uncomment the second line if you use pdftex to bypass .dvi files:
X PDFTEX = dvipdfm
END-of-mmix/files/patch-aa
echo x - mmix/pkg-comment
sed 's/^X//' >mmix/pkg-comment << 'END-of-mmix/pkg-comment'
XMMIX is a RISC computer designed by Donald E. Knuth
END-of-mmix/pkg-comment
echo x - mmix/Makefile
sed 's/^X//' >mmix/Makefile << 'END-of-mmix/Makefile'
X# Ports collection makefile for:	mmix
X# Date created:				25 Oct 2000
X# Whom:			Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mmix
XPORTVERSION=	1.0
XCATEGORIES=	lang
XMASTER_SITES=	http://www-cs-faculty.stanford.edu/~knuth/programs/
XDISTNAME=	mmix
X
XMAINTAINER=	keith@freebsd.sinica.edu.tw
X
XBUILD_DEPENDS=	ctangle:${PORTSDIR}/devel/cweb
X
XMMIXDIR=	${PREFIX}/share/mmix
XNO_WRKSUBDIR=	yes
XFILES=		mmix.1 mmix.mp silly.out silly.run
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/mmix ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${PREFIX}/bin
X	@${MKDIR} ${MMIXDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${MMIXDIR}
X	${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${MMIXDIR}
X	${INSTALL_DATA} ${WRKSRC}/*.mmix ${MMIXDIR}
X	${INSTALL_DATA} ${WRKSRC}/*.mms ${MMIXDIR}
X	${INSTALL_DATA} ${WRKSRC}/*.w ${MMIXDIR}
X.for f in ${FILES}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${MMIXDIR}
X.endfor
X
X.include <bsd.port.mk>
END-of-mmix/Makefile
echo x - mmix/distinfo
sed 's/^X//' >mmix/distinfo << 'END-of-mmix/distinfo'
XMD5 (mmix.tar.gz) = 1a2f92fd3527219d16ffb971c6c0dc0b
END-of-mmix/distinfo
echo x - mmix/pkg-descr
sed 's/^X//' >mmix/pkg-descr << 'END-of-mmix/pkg-descr'
XFrom Donald E. Knuth's MMIX page:
X
XMMIX is a RISC computer designed by the author to illustrate
Xmachine-level aspects of programming. In the next editions of his
Xbooks The Art of Computer Programming, MMIX will replace the
X1960s-style machine MIX.
X
XMore details can be found in his book:
X
X  MMIXware: A RISC Computer for the Third Millennium, by Donald E. Knuth
X  (Heidelberg: Springer-Verlag, 1999), viii+550pp. ISBN 3-540-66938-8.
X  (Lecture Notes in Computer Science, no. 1750.)
X
XSome MIX programs have been converted to MMIX, and can be found at
Xhttp://www.mmixmasters.org/~mmixmasters/
END-of-mmix/pkg-descr
echo x - mmix/pkg-plist
sed 's/^X//' >mmix/pkg-plist << 'END-of-mmix/pkg-plist'
Xbin/mmix
Xbin/mmixal
Xbin/mmotype
Xshare/mmix/README
Xshare/mmix/abstime.w
Xshare/mmix/boilerplate.w
Xshare/mmix/copy.mms
Xshare/mmix/cp.mms
Xshare/mmix/crypto.mms
Xshare/mmix/crypto1.mms
Xshare/mmix/crypto2.mms
Xshare/mmix/deluxe.mmconfig
Xshare/mmix/echo.mms
Xshare/mmix/fftswap.mms
Xshare/mmix/fib.mms
Xshare/mmix/fibgo.mms
Xshare/mmix/fibsub.mms
Xshare/mmix/halves.mmix
Xshare/mmix/halves.mms
Xshare/mmix/harm.mms
Xshare/mmix/hello.mms
Xshare/mmix/inout.mms
Xshare/mmix/iotest.mms
Xshare/mmix/iotest1.mms
Xshare/mmix/iotest2.mms
Xshare/mmix/mmix-arith.w
Xshare/mmix/mmix-config.w
Xshare/mmix/mmix-doc.w
Xshare/mmix/mmix-io.w
Xshare/mmix/mmix-mem.w
Xshare/mmix/mmix-pipe.w
Xshare/mmix/mmix-sim.w
Xshare/mmix/mmix.1
Xshare/mmix/mmix.mp
Xshare/mmix/mmixal.w
Xshare/mmix/mmmix.w
Xshare/mmix/mmotype.w
Xshare/mmix/number1.mms
Xshare/mmix/phi.mms
Xshare/mmix/plain.mmconfig
Xshare/mmix/popup.mms
Xshare/mmix/primes.mmconfig
Xshare/mmix/primes.mmix
Xshare/mmix/primes.mms
Xshare/mmix/primes6.mms
Xshare/mmix/primesf.mms
Xshare/mmix/primesfx.mms
Xshare/mmix/primessf.mms
Xshare/mmix/primesx.mmconfig
Xshare/mmix/primesx.mmix
Xshare/mmix/primesx.mms
Xshare/mmix/saddle1.mms
Xshare/mmix/saddle2.mms
Xshare/mmix/silly.mms
Xshare/mmix/silly.out
Xshare/mmix/silly.run
Xshare/mmix/sim.mms
Xshare/mmix/sort.mms
Xshare/mmix/sortx.mms
Xshare/mmix/strcpy.mms
Xshare/mmix/sub1.mms
Xshare/mmix/sub2.mms
Xshare/mmix/test.mmconfig
Xshare/mmix/test.mmix
Xshare/mmix/test.mms
Xshare/mmix/test1.mmconfig
Xshare/mmix/test1.mmix
Xshare/mmix/test2.mmconfig
Xshare/mmix/test2.mmix
Xshare/mmix/traffic.mms
Xshare/mmix/valid.mms
Xshare/mmix/zero.mms
X@dirrm share/mmix
END-of-mmix/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270529.NAA02346>