Date: Sat, 11 Sep 1999 14:38:47 +0800 (CST) From: Ying-Chieh Liao <ijliao@Terry.Dorm8.NCTU.edu.tw> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13693: new port : games/tetris Message-ID: <199909110638.OAA37161@Terry.Dorm8.NCTU.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 13693 >Category: ports >Synopsis: new port : games/tetris >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 Sep 10 23:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Liao >Release: FreeBSD 4.0-CURRENT i386 >Organization: NCTU CSIE >Environment: FreeBSD Terry.Dorm8.NCTU.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #4: Thu Sep 9 22:18:46 CST 1999 root@:/usr/src/sys/compile/TERRY i386 >Description: new port : games/tetris, v0.0.12 >How-To-Repeat: >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: # # tetris # tetris/files # tetris/files/md5 # tetris/pkg # tetris/pkg/COMMENT # tetris/pkg/DESCR # tetris/pkg/PLIST # tetris/Makefile # tetris/patches # tetris/patches/patch-aa # tetris/patches/patch-ab # echo c - tetris mkdir -p tetris > /dev/null 2>&1 echo c - tetris/files mkdir -p tetris/files > /dev/null 2>&1 echo x - tetris/files/md5 sed 's/^X//' >tetris/files/md5 << 'END-of-tetris/files/md5' XMD5 (tetris-0.0.12.tar.gz) = 0efb056991c2ee2db11a5bc322129f88 END-of-tetris/files/md5 echo c - tetris/pkg mkdir -p tetris/pkg > /dev/null 2>&1 echo x - tetris/pkg/COMMENT sed 's/^X//' >tetris/pkg/COMMENT << 'END-of-tetris/pkg/COMMENT' XTetris is an ncurses based tetris clone. END-of-tetris/pkg/COMMENT echo x - tetris/pkg/DESCR sed 's/^X//' >tetris/pkg/DESCR << 'END-of-tetris/pkg/DESCR' XTetris is a tetris clone. XIt features colour, configurable keys and a high score file. X XWWW: http://www.earth.li/projectpurple/progs/tetris.html X X- Ying-Chieh Liao X ijliao@csie.nctu.edu.tw END-of-tetris/pkg/DESCR echo x - tetris/pkg/PLIST sed 's/^X//' >tetris/pkg/PLIST << 'END-of-tetris/pkg/PLIST' Xbin/tetris END-of-tetris/pkg/PLIST echo x - tetris/Makefile sed 's/^X//' >tetris/Makefile << 'END-of-tetris/Makefile' X# New ports collection makefile for: tetris X# Version required: 0.0.12 X# Date created: September 11, 1999 X# Whom: ijliao@csie.nctu.edu.tw X# X# $FreeBSD$ X# X XDISTNAME= tetris-0.0.12 XCATEGORIES= games XMASTER_SITES= http://www.earth.li/projectpurple/files/ X XMAINTAINER= ijliao@csie.nctu.edu.tw X XHAS_CONFIGURE= YES XALL_TARGET= tetris X XMAN6= tetris.6 X X.include <bsd.port.mk> END-of-tetris/Makefile echo c - tetris/patches mkdir -p tetris/patches > /dev/null 2>&1 echo x - tetris/patches/patch-aa sed 's/^X//' >tetris/patches/patch-aa << 'END-of-tetris/patches/patch-aa' X--- Makefile.in.orig Mon Sep 6 05:06:34 1999 X+++ Makefile.in Sat Sep 11 14:30:40 1999 X@@ -6,7 +6,7 @@ X LIBS = @LIBS@ X DEFINES = @DEFS@ X PREFIX = @prefix@ X-INSTALLDIR = $(PREFIX)/games X+INSTALLDIR = $(PREFIX)/bin X X tetris: tetris.o blockstuff.o disp_ncurses.o fieldstuff.o scoring.o X $(CC) $(LFLAGS) $(LIBS) -o tetris tetris.o blockstuff.o disp_ncurses.o fieldstuff.o scoring.o X@@ -19,9 +19,9 @@ X X install: tetris X install -o root -g games -m 2711 tetris $(INSTALLDIR) X- touch /var/lib/games/tetris.score X- chown root.games /var/lib/games/tetris.score X- chmod 664 /var/lib/games/tetris.score X+ touch /var/games/tetris.score X+ chown root.games /var/games/tetris.score X+ chmod 664 /var/games/tetris.score X install -o root -g root -m 644 tetris.6 $(PREFIX)/man/man6 X X install-rpm: tetris END-of-tetris/patches/patch-aa echo x - tetris/patches/patch-ab sed 's/^X//' >tetris/patches/patch-ab << 'END-of-tetris/patches/patch-ab' X--- scoring.h.orig Sat Sep 11 14:18:14 1999 X+++ scoring.h Sat Sep 11 14:18:27 1999 X@@ -7,7 +7,7 @@ X #include <time.h> X X /* Default high score file location */ X-#define HIGHSCOREFILE "/var/lib/games/tetris.score" X+#define HIGHSCOREFILE "/var/games/tetris.score" X /* Max number of high scores we store */ X #define MAXHIGHSCORES 20 X END-of-tetris/patches/patch-ab 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?199909110638.OAA37161>