Date: Mon, 5 Jan 2004 23:45:35 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60933: Update port: lang/mixal to 1.09 Message-ID: <20040105234535.0952af3c.tkato@prontomail.com> Resent-Message-ID: <200401051450.i05EoHVL089305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60933 >Category: ports >Synopsis: Update port: lang/mixal to 1.09 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 05 06:50:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 1.09 Remove file: files/patch-01 files/patch-io.c files/patch-main.c files/patch-mix.h >How-To-Repeat: >Fix: diff -urN /usr/ports/lang/mixal/Makefile lang/mixal/Makefile --- /usr/ports/lang/mixal/Makefile Sat Apr 12 22:53:38 2003 +++ lang/mixal/Makefile Sat Jan 3 22:04:22 2004 @@ -7,21 +7,25 @@ # PORTNAME= mixal -PORTVERSION= 1.07 +PORTVERSION= 1.09 CATEGORIES= lang -MASTER_SITES= http://www.catb.org/~esr/retro/ \ - http://dl.droso.net/ports/ +MASTER_SITES= http://www.catb.org/~esr/mixal/ MAINTAINER= ports@FreeBSD.org COMMENT= Assembler and interpreter for Donald Knuth's mythical MIX computer -ALL_TARGET= # none +USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +ALL_TARGET= ${PORTNAME} + +MAN1= mixal.1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mix ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mixal ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/mixal.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for F in READ.ME MIX.DOC NOTES opcodes *.mix +.for F in MIX.DOC NOTES README opcodes *.mix ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR} .endfor .endif diff -urN /usr/ports/lang/mixal/distinfo lang/mixal/distinfo --- /usr/ports/lang/mixal/distinfo Tue Sep 10 20:15:53 2002 +++ lang/mixal/distinfo Sat Jan 3 21:59:21 2004 @@ -1 +1 @@ -MD5 (mixal-1.07.tar.gz) = 478eae60676966f0049a330960de10c2 +MD5 (mixal-1.09.tar.gz) = f74c58bbd5d5f8b9ecb9a039b48d8744 diff -urN /usr/ports/lang/mixal/files/patch-01 lang/mixal/files/patch-01 --- /usr/ports/lang/mixal/files/patch-01 Tue Sep 10 20:15:53 2002 +++ lang/mixal/files/patch-01 Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- Makefile.orig Mon Jun 3 20:00:53 2002 -+++ Makefile Mon Jun 3 20:01:02 2002 -@@ -3,7 +3,7 @@ - # Must be changed in the spec file as well. - V=1.07 - --CFLAGS = -g -+#CFLAGS = -g - - CSRCS = asm.c cell.c charset.c driver.c io.c main.c parse.c run.c symbol.c - HSRCS = asm.h cell.h charset.h driver.h io.h mix.h parse.h run.h symbol.h diff -urN /usr/ports/lang/mixal/files/patch-io.c lang/mixal/files/patch-io.c --- /usr/ports/lang/mixal/files/patch-io.c Tue Jun 4 07:03:22 2002 +++ lang/mixal/files/patch-io.c Thu Jan 1 09:00:00 1970 @@ -1,32 +0,0 @@ ---- io.c.orig Mon Jun 3 17:56:10 2002 -+++ io.c Mon Jun 3 18:00:59 2002 -@@ -19,9 +19,12 @@ - } device_table[] = { - {tape}, {tape}, {tape}, {tape}, {tape}, {tape}, {tape}, {tape}, - {disk}, {disk}, {disk}, {disk}, {disk}, {disk}, {disk}, {disk}, -- {card_in, stdin}, -- {card_out, stdout}, -- {printer, stdout}, -+ {card_in, 0}, /* was stdin */ -+#define PATCH_CARD_IN 16 -+ {card_out, 0}, /* was stdout */ -+#define PATCH_CARD_OUT 17 -+ {printer, 0}, /* was stdout */ -+#define PATCH_PRINTER 18 - {console} - }; - -@@ -54,6 +57,13 @@ - /* console */ { 14, console_in, console_out, console_ioc } - - }; -+ -+void initialize_io(void) -+{ -+ device_table[PATCH_CARD_IN].file = stdin; -+ device_table[PATCH_CARD_OUT].file = stdout; -+ device_table[PATCH_PRINTER].file = stdout; -+} - - static unsigned block_size(unsigned device) - { diff -urN /usr/ports/lang/mixal/files/patch-main.c lang/mixal/files/patch-main.c --- /usr/ports/lang/mixal/files/patch-main.c Tue Jun 4 07:03:22 2002 +++ lang/mixal/files/patch-main.c Thu Jan 1 09:00:00 1970 @@ -1,10 +0,0 @@ ---- main.c.orig Mon Jun 3 17:53:11 2002 -+++ main.c Mon Jun 3 17:53:23 2002 -@@ -104,6 +104,7 @@ - - int main(int argc, char **argv) - { -+ initialize_io(); - precompute_field_data(); - - /* Assemble the input: */ diff -urN /usr/ports/lang/mixal/files/patch-mix.h lang/mixal/files/patch-mix.h --- /usr/ports/lang/mixal/files/patch-mix.h Tue Jun 4 07:03:22 2002 +++ lang/mixal/files/patch-mix.h Thu Jan 1 09:00:00 1970 @@ -1,10 +0,0 @@ ---- mix.h.orig Mon Jun 3 17:55:50 2002 -+++ mix.h Mon Jun 3 17:56:02 2002 -@@ -16,6 +16,7 @@ - void warn(const char *message, ...); - void error(const char *message, ...); - void fatal_error(const char *message, ...); -+void initialize_io(void); - - #define memory_size 4000 - diff -urN /usr/ports/lang/mixal/pkg-descr lang/mixal/pkg-descr --- /usr/ports/lang/mixal/pkg-descr Wed Dec 25 21:13:02 1996 +++ lang/mixal/pkg-descr Sat Jan 3 22:06:11 2004 @@ -8,3 +8,5 @@ This preliminary release doesn't do floating point and has little documentation as yet, but it works well enough to be used in conjunction with the book. + +WWW: http://www.catb.org/~esr/mixal/ diff -urN /usr/ports/lang/mixal/pkg-plist lang/mixal/pkg-plist --- /usr/ports/lang/mixal/pkg-plist Sat Apr 12 22:53:39 2003 +++ lang/mixal/pkg-plist Sat Jan 3 22:04:35 2004 @@ -1,9 +1,9 @@ -bin/mix -%%PORTDOCS%%share/doc/mixal/MIX.DOC -%%PORTDOCS%%share/doc/mixal/NOTES -%%PORTDOCS%%share/doc/mixal/READ.ME -%%PORTDOCS%%share/doc/mixal/elevator.mix -%%PORTDOCS%%share/doc/mixal/mystery.mix -%%PORTDOCS%%share/doc/mixal/opcodes -%%PORTDOCS%%share/doc/mixal/prime.mix -@dirrm share/doc/mixal +bin/mixal +%%PORTDOCS%%%%DOCSDIR%%/MIX.DOC +%%PORTDOCS%%%%DOCSDIR%%/NOTES +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/elevator.mix +%%PORTDOCS%%%%DOCSDIR%%/mystery.mix +%%PORTDOCS%%%%DOCSDIR%%/opcodes +%%PORTDOCS%%%%DOCSDIR%%/prime.mix +@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040105234535.0952af3c.tkato>