New port, cosmo gang the puzzle.

PR:	2445
Submitted by:	 Nakai@Mlab.t.u-tokyo.ac.jp
This commit is contained in:
Masafumi Max NAKANE 1997-05-25 17:24:02 +00:00
parent 2561261561
commit 6ab9b7ffdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6560
6 changed files with 91 additions and 0 deletions

30
games/cosmo/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: cosmo
# Version required: 2.0.4
# Date created: 28 December 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id$
#
DISTNAME= cosmo-2.0.4
CATEGORIES= games
MASTER_SITES= http://www.u-aizu.ac.jp/~s1021127/cosmo/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} moon.tif.gz
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
NO_CDROM= Possible copyright infringement
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/cosmo2
DIST_SUBDIR= cosmo
USE_IMAKE= yes
XMKMF= xmkmf
NO_INSTALL_MANPAGES= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/cosmorc ${PREFIX}/lib/X11/cosmo
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moon.tif.gz \
${PREFIX}/lib/X11/cosmo
.include <bsd.port.mk>

2
games/cosmo/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (cosmo/cosmo-2.0.4.tar.gz) = a7fefeb39f88031728e095a96bbb90f1
MD5 (cosmo/moon.tif.gz) = 2d4af632236d9ba2f4e53fe8a7d77c7d

View File

@ -0,0 +1,17 @@
--- Imakefile.orig Sat May 11 16:06:00 1996
+++ Imakefile Fri May 2 12:38:28 1997
@@ -1,11 +1,12 @@
-BINDIR = /usr/local/games
+PREFIX?= /usr/X11R6
+BINDIR = ${PREFIX}/bin
PAD = # -DUSE_PAD
CHMOD = /bin/chmod
MKDIR = /bin/mkdir
CC = gcc
REGULATE_TIMER = -DREG_TIMER
-DATADIR = $(BINDIR)/cosmodir
+DATADIR = ${PREFIX}/lib/X11/cosmo
DATAFILE = $(DATADIR)/best.dat
PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL)
CDEBUGFLAGS = -O2 # -g

1
games/cosmo/pkg-comment Normal file
View File

@ -0,0 +1 @@
Clone of Cosmo Gang the Puzzle (Namco)

36
games/cosmo/pkg-descr Normal file
View File

@ -0,0 +1,36 @@
This is the cosmo gang the puzzle for X Window System.
The cosmo gang the puzzle is a tetris-like puzzle game.
You can erase cosmo with ball, falling once of several blocks.
The star is the bonus charactor to erase all cosmos in the
screen but you may also get bonus score without taking an
effect.
OPTIONS:
-display [displayname] : Specify the X server.
-cmap [private/public] : Use private colormap or use
public colormap.
-bg [filename] : Specify the file you paaste
on background.
(Uncompressed 256 tiff only.)
-rough : Half frequency of redraw.
-smooth : Normal frequency of redraw.
-pad [device/no] : Specify device name when you
use PAD. (Only available under
TOWNS+Linux)
You may configure the environment with ~/.cosmorc .
(Sample is at /usr/X11R6/lib/X11/cosmo/cosmorc .)
And the background file the author recommend is at
/usr/X11R6/lib/X11/cosmo/moon.tif.gz .)
KEYBOARD:
Up block rotation.
Down block down (1 line)
Space block down (Fast)
Left left
Right right
Control Get the score bonus from the star.
y Select yes
n Select no
p Pause game
q Quit game

5
games/cosmo/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/cosmo
lib/X11/cosmo/cosmorc
lib/X11/cosmo/best.dat
lib/X11/cosmo/moon.tif.gz
@dirrm lib/X11/cosmo