Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2000 21:22:23 +0900 (JST)
From:      th@cis.ibaraki.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16601: New port: games/netbsd-tetris
Message-ID:  <200002091222.VAA08757@nadja.cis.ibaraki.ac.jp>

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

>Number:         16601
>Category:       ports
>Synopsis:       New port: games/netbsd-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:   Wed Feb  9 04:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     HIYAMA Takeshi
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Dept. of Comp. & Info. Sci.s, Ibaraki University
>Environment:
>Description:

	This is Tetris games which runs on console.
	Its's a part of NetBSD distribution.

>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:
#
#       netbsd-tetris/
#       netbsd-tetris/files
#       netbsd-tetris/files/md5
#       netbsd-tetris/pkg
#       netbsd-tetris/pkg/PLIST
#       netbsd-tetris/pkg/DESCR
#       netbsd-tetris/pkg/COMMENT
#       netbsd-tetris/patches
#       netbsd-tetris/patches/patch-ab
#       netbsd-tetris/patches/patch-aa
#       netbsd-tetris/patches/patch-ac
#       netbsd-tetris/Makefile
#
echo c - netbsd-tetris/
mkdir -p netbsd-tetris/ > /dev/null 2>&1
echo c - netbsd-tetris/files
mkdir -p netbsd-tetris/files > /dev/null 2>&1
echo x - netbsd-tetris/files/md5
sed 's/^X//' >netbsd-tetris/files/md5 << 'END-of-netbsd-tetris/files/md5'
XMD5 (tetris.tar.gz) = 6083fe608849ca42905f9deb7e9b6dcc
END-of-netbsd-tetris/files/md5
echo c - netbsd-tetris/pkg
mkdir -p netbsd-tetris/pkg > /dev/null 2>&1
echo x - netbsd-tetris/pkg/PLIST
sed 's/^X//' >netbsd-tetris/pkg/PLIST << 'END-of-netbsd-tetris/pkg/PLIST'
Xbin/tetris
Xshare/games/tetris.scores
X@unexec rmdir %D/share/games 2>/dev/null || true
END-of-netbsd-tetris/pkg/PLIST
echo x - netbsd-tetris/pkg/DESCR
sed 's/^X//' >netbsd-tetris/pkg/DESCR << 'END-of-netbsd-tetris/pkg/DESCR'
XTetris game which runs on console.
XThis is included in NetBSD distribution.
X
X- TH
Xth@cis.ibaraki.ac.jp
END-of-netbsd-tetris/pkg/DESCR
echo x - netbsd-tetris/pkg/COMMENT
sed 's/^X//' >netbsd-tetris/pkg/COMMENT << 'END-of-netbsd-tetris/pkg/COMMENT'
XTetris game which runs on console
END-of-netbsd-tetris/pkg/COMMENT
echo c - netbsd-tetris/patches
mkdir -p netbsd-tetris/patches > /dev/null 2>&1
echo x - netbsd-tetris/patches/patch-ab
sed 's/^X//' >netbsd-tetris/patches/patch-ab << 'END-of-netbsd-tetris/patches/patch-ab'
X--- screen.c.orig      Wed Feb  9 19:09:40 2000
X+++ screen.c   Wed Feb  9 19:10:05 2000
X@@ -70,12 +70,6 @@
X static        void    stopset __P((int)) __attribute__((__noreturn__));
X 
X 
X-/*
X- * Capabilities from TERMCAP.
X- */
X-char  PC, *BC, *UP;           /* tgoto requires globals: ugh! */
X-short ospeed;
X-
X static char
X       *bcstr,                 /* backspace char */
X       *CEstr,                 /* clear to end of line */
END-of-netbsd-tetris/patches/patch-ab
echo x - netbsd-tetris/patches/patch-aa
sed 's/^X//' >netbsd-tetris/patches/patch-aa << 'END-of-netbsd-tetris/patches/patch-aa'
X--- Makefile.orig      Wed Feb  9 19:05:31 2000
X+++ Makefile   Wed Feb  9 19:05:48 2000
X@@ -3,7 +3,7 @@
X 
X PROG= tetris
X SRCS= input.c screen.c shapes.c scores.c tetris.c
X-MAN=  tetris.6
X+MAN6= tetris.6
X DPADD=        ${LIBTERM}
X LDADD=        -ltermcap
X HIDEGAME=hidegame
END-of-netbsd-tetris/patches/patch-aa
echo x - netbsd-tetris/patches/patch-ac
sed 's/^X//' >netbsd-tetris/patches/patch-ac << 'END-of-netbsd-tetris/patches/patch-ac'
X--- pathnames.h.orig   Wed Feb  9 20:10:52 2000
X+++ pathnames.h        Wed Feb  9 20:11:12 2000
X@@ -38,4 +38,4 @@
X  *    @(#)pathnames.h 8.1 (Berkeley) 5/31/93
X  */
X 
X-#define _PATH_SCOREFILE       "/var/games/tetris.scores"
X+#define _PATH_SCOREFILE       "/usr/local/share/games/tetris.scores"
END-of-netbsd-tetris/patches/patch-ac
echo x - netbsd-tetris/Makefile
sed 's/^X//' >netbsd-tetris/Makefile << 'END-of-netbsd-tetris/Makefile'
X# New ports collection makefile for:    netbsd-tetris
X# Version required:    1.14
X# Date created:                12 Jan 2000
X# Whom:                        HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
X#
X# $FreeBSD$
X#
X
XDISTNAME=      tetris
XPKGNAME=       netbsd-tetris-1.14
XCATEGORIES=    games
XMASTER_SITES=  http://nadja.cis.ibaraki.ac.jp/pub/FreeBSD/
X
XMAINTAINER=    th@cis.ibaraki.ac.jp
X
XMANCOMPRESSED= yes
XMAN6=          tetris.6
X
XSHAREGRP=      games
XSHAREMODE=     664
X
Xdo-install:
X               ${MKDIR} ${PREFIX}/share/games
X               ${INSTALL_DATA} /dev/null ${PREFIX}/share/games/tetris.scores
X               ${INSTALL_PROGRAM} ${WRKSRC}/tetris ${PREFIX}/bin
X               ${INSTALL_MAN} ${WRKSRC}/tetris.6.gz ${PREFIX}/man/man6
X
X.include <bsd.port.mk>
END-of-netbsd-tetris/Makefile
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?200002091222.VAA08757>