Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 14:50:18 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17719: Update port: misc/cmatrox to 1.0b
Message-ID:  <200003312250.OAA35612@freefall.freebsd.org>

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

>Number:         17719
>Category:       ports
>Synopsis:       Update port: misc/cmatrox to 1.0b
>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:   Fri Mar 31 15:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0b

Remove file:
patches/patch-aa  patches/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/misc/cmatrix/Makefile misc/cmatrix/Makefile
--- /usr/ports/misc/cmatrix/Makefile	Wed Mar 29 20:04:27 2000
+++ misc/cmatrix/Makefile	Thu Mar 30 19:35:03 2000
@@ -1,25 +1,27 @@
 # New ports collection makefile for:	cmatrix
-# Version required:			0.98c
+# Version required:			1.0b
 # Date created:				1 May 1999
 # Whom:					Andrey Zakhvatov
 #
 # $FreeBSD: ports/misc/cmatrix/Makefile,v 1.4 2000/03/29 07:19:06 kris Exp $
 #
 
-DISTNAME=	cmatrix-0.98c
+DISTNAME=	cmatrix-1.0b
 CATEGORIES=	misc
-MASTER_SITES=	http://www.plattsburgh.edu/faculty/allegrcr/cmatrix/dist/
+MASTER_SITES=	${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR=	apps/graphics/hacks/curses
 
 MAINTAINER=	ports@FreeBSD.org
 
-do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
+do-build:
+	cd ${WRKSRC}; ${CC} ${CFLAGS} cmatrix.c -lncurses -o cmatrix
 
-post-install:
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/cmatrix
+	@${MKDIR} ${PREFIX}/share/doc/cmatrix
 .for file in Changelog README TODO
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cmatrix
+	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cmatrix
 .endfor
 .endif
 
diff -urN /usr/ports/misc/cmatrix/files/md5 misc/cmatrix/files/md5
--- /usr/ports/misc/cmatrix/files/md5	Wed May  5 23:37:21 1999
+++ misc/cmatrix/files/md5	Thu Mar 30 19:25:57 2000
@@ -1 +1 @@
-MD5 (cmatrix-0.98c.tar.gz) = 246c3fc6c0a40cdb52c30eb2c34ce773
+MD5 (cmatrix-1.0b.tar.gz) = 0893cc483f64193cbd0d7017d38d8925
diff -urN /usr/ports/misc/cmatrix/patches/patch-aa misc/cmatrix/patches/patch-aa
--- /usr/ports/misc/cmatrix/patches/patch-aa	Mon May  3 13:36:14 1999
+++ misc/cmatrix/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,9 +0,0 @@
---- Makefile	Fri Apr 23 09:29:56 1999
-+++ /home/andy/tmp/wrk/Makefile	Sat May  1 15:26:10 1999
-@@ -1,5 +1,5 @@
- all: cmatrix.c
--	gcc -O2 -Wall -o cmatrix cmatrix.c -lncurses
-+	$(CC) $(CFLAGS) -o cmatrix cmatrix.c -lncurses
- 	strip cmatrix
- 
- clean:
diff -urN /usr/ports/misc/cmatrix/patches/patch-ab misc/cmatrix/patches/patch-ab
--- /usr/ports/misc/cmatrix/patches/patch-ab	Mon May  3 13:36:14 1999
+++ misc/cmatrix/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- cmatrix.c	Sat May  1 02:47:56 1999
-+++ /home/andy/tmp/wrk/cmatrix.c	Sat May  1 15:31:05 1999
-@@ -23,7 +23,11 @@
- #define MAXCOLS 300
- 
- #include <stdio.h>
-+#ifdef __FreeBSD__
-+#include <ncurses.h>
-+#else
- #include <curses.h>
-+#endif
- #include <stdlib.h>
- #include <string.h>
- #include <unistd.h>
diff -urN /usr/ports/misc/cmatrix/patches/patch-ac misc/cmatrix/patches/patch-ac
--- /usr/ports/misc/cmatrix/patches/patch-ac	Wed May  5 23:37:24 1999
+++ misc/cmatrix/patches/patch-ac	Thu Mar 30 19:33:07 2000
@@ -1,11 +1,23 @@
---- cmatrix.c.orig	Mon May  3 17:30:29 1999
-+++ cmatrix.c	Mon May  3 17:30:37 1999
-@@ -81,7 +81,7 @@
+--- cmatrix.c.orig	Mon Jun  7 06:05:46 1999
++++ cmatrix.c	Thu Mar 30 19:32:57 2000
+@@ -23,7 +23,11 @@
+ #define MAXCOLS 300
+ 
+ #include <stdio.h>
++#ifdef __FreeBSD__
++#include <ncurses.h>
++#else
+ #include <curses.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+@@ -84,7 +88,7 @@
  int main(int argc, char *argv[])
  {
-    int i, j = 0, count = 0, screensaver = 0, asynch = 0,
--       bold = 0, force = 0, y, z, firstcoldone = 0, oldstyle = 0, 
-+       bold = 0, force = 1, y, z, firstcoldone = 0, oldstyle = 0, 
-        random = 0, update = 4;
+     int i, j = 0, count = 0, screensaver = 0, asynch = 0, bold = -1,
+-    force = 0, y, z, firstcoldone = 0, oldstyle = 0, random = 0, update =
++    force = 1, y, z, firstcoldone = 0, oldstyle = 0, random = 0, update =
+     4, highnum = 0, mcolor = COLOR_GREEN, randnum = 0, randmin = 0;
  
-    cmatrix matrix[MAXROWS+1][MAXCOLS];
+     cmatrix matrix[MAXROWS + 1][MAXCOLS];
diff -urN /usr/ports/misc/cmatrix/pkg/DESCR misc/cmatrix/pkg/DESCR
--- /usr/ports/misc/cmatrix/pkg/DESCR	Mon May  3 13:46:39 1999
+++ misc/cmatrix/pkg/DESCR	Thu Mar 30 19:35:51 2000
@@ -15,5 +15,3 @@
 
 This software is provided under the GNU GPL.  I am in no way affiliated
 in any way with the movie 'The Matrix', just a big fan.
-
-WWW: http://www.plattsburgh.edu/faculty/allegrcr/cmatrix/index.html


>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?200003312250.OAA35612>