Bug 11427 - New port: cmatrix-0.98b
Summary: New port: cmatrix-0.98b
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-01 12:50 UTC by Andrey Zakhvatov
Modified: 1999-05-03 05:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Zakhvatov 1999-05-01 12:50:01 UTC
   This is a port of cmatrix-0.98b, that shows a scrolling 'Matrix' like screen.

CMatrix by default operates in 'eye candy' mode.  It must be aborted with
control-c.  If you wish for more of a 'screen saver' effect, you must
specify -s on the command line.  For usage, use cmatrix -h.

http://www.plattsburgh.edu/faculty/allegrcr/cmatrix/index.html


# 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:
#
#	cmatrix-0.98b
#	cmatrix-0.98b/Makefile
#	cmatrix-0.98b/files
#	cmatrix-0.98b/files/md5
#	cmatrix-0.98b/patches
#	cmatrix-0.98b/patches/patch-aa
#	cmatrix-0.98b/patches/patch-ab
#	cmatrix-0.98b/pkg
#	cmatrix-0.98b/pkg/PLIST
#	cmatrix-0.98b/pkg/COMMENT
#	cmatrix-0.98b/pkg/DESCR
#
echo c - cmatrix-0.98b
mkdir -p cmatrix-0.98b > /dev/null 2>&1
echo x - cmatrix-0.98b/Makefile
sed 's/^X//' >cmatrix-0.98b/Makefile << 'END-of-cmatrix-0.98b/Makefile'
X# New ports collection makefile for:	cmatrix
X# Version required:			0.98b
X# Date created:				1 May 1999
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	cmatrix-0.98b
XCATEGORIES=	misc
XMASTER_SITES=	http://www.plattsburgh.edu/faculty/allegrcr/cmatrix/dist/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/cmatrix
X.for file in COPYING Changelog README TODO
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cmatrix
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-cmatrix-0.98b/Makefile
echo c - cmatrix-0.98b/files
mkdir -p cmatrix-0.98b/files > /dev/null 2>&1
echo x - cmatrix-0.98b/files/md5
sed 's/^X//' >cmatrix-0.98b/files/md5 << 'END-of-cmatrix-0.98b/files/md5'
XMD5 (cmatrix-0.98b.tar.gz) = f4e0fb3f036c505c6a0feedbfe611a71
END-of-cmatrix-0.98b/files/md5
echo c - cmatrix-0.98b/patches
mkdir -p cmatrix-0.98b/patches > /dev/null 2>&1
echo x - cmatrix-0.98b/patches/patch-aa
sed 's/^X//' >cmatrix-0.98b/patches/patch-aa << 'END-of-cmatrix-0.98b/patches/patch-aa'
X--- Makefile	Fri Apr 23 09:29:56 1999
X+++ /home/andy/tmp/wrk/Makefile	Sat May  1 15:26:10 1999
X@@ -1,5 +1,5 @@
X all: cmatrix.c
X-	gcc -O2 -Wall -o cmatrix cmatrix.c -lncurses
X+	$(CC) $(CFLAGS) -o cmatrix cmatrix.c -lncurses
X 	strip cmatrix
X 
X clean:
END-of-cmatrix-0.98b/patches/patch-aa
echo x - cmatrix-0.98b/patches/patch-ab
sed 's/^X//' >cmatrix-0.98b/patches/patch-ab << 'END-of-cmatrix-0.98b/patches/patch-ab'
X--- cmatrix.c	Sat May  1 02:47:56 1999
X+++ /home/andy/tmp/wrk/cmatrix.c	Sat May  1 15:31:05 1999
X@@ -23,7 +23,11 @@
X #define MAXCOLS 300
X 
X #include <stdio.h>
X+#ifdef __FreeBSD__
X+#include <ncurses.h>
X+#else
X #include <curses.h>
X+#endif
X #include <stdlib.h>
X #include <string.h>
X #include <unistd.h>
END-of-cmatrix-0.98b/patches/patch-ab
echo c - cmatrix-0.98b/pkg
mkdir -p cmatrix-0.98b/pkg > /dev/null 2>&1
echo x - cmatrix-0.98b/pkg/PLIST
sed 's/^X//' >cmatrix-0.98b/pkg/PLIST << 'END-of-cmatrix-0.98b/pkg/PLIST'
Xbin/cmatrix
Xshare/doc/cmatrix/COPYING
Xshare/doc/cmatrix/Changelog
Xshare/doc/cmatrix/README
Xshare/doc/cmatrix/TODO
X@dirrm share/doc/cmatrix
END-of-cmatrix-0.98b/pkg/PLIST
echo x - cmatrix-0.98b/pkg/COMMENT
sed 's/^X//' >cmatrix-0.98b/pkg/COMMENT << 'END-of-cmatrix-0.98b/pkg/COMMENT'
XShow a scrolling 'Matrix' like screen.
END-of-cmatrix-0.98b/pkg/COMMENT
echo x - cmatrix-0.98b/pkg/DESCR
sed 's/^X//' >cmatrix-0.98b/pkg/DESCR << 'END-of-cmatrix-0.98b/pkg/DESCR'
XCMatrix - show a scrolling 'Matrix' like screen (curses based)
X
XCMatrix by default operates in 'eye candy' mode.  It must be aborted with
Xcontrol-c.  If you wish for more of a 'screen saver' effect, you must
Xspecify -s on the command line.  For usage, use cmatrix -h.
X
X   If you have any suggestions/flames/patches to send, please feel free to
Xdo so.  Please do not critique my code, I know I'm a hack ;-)  I just got
Xthe urge to write this one evening, and decided to see how fast I could do
Xit.  It's probably not particularly portable or efficient, but I'm pretty
Xsure it wont hog *too* much CPU time.
X
XChris Allegretta
Xchris.allegretta@plattsburgh.edu
X
XThis software is provided under the GNU GPL.  I am in no way affiliated
Xin any way with the movie 'The Matrix', just a big fan.
X
Xhttp://www.plattsburgh.edu/faculty/allegrcr/cmatrix/index.html
END-of-cmatrix-0.98b/pkg/DESCR
exit

Fix: 

Please, check and commit this port.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-05-03 05:36:30 UTC
State Changed
From-To: open->closed

New port committed, thanks!