aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-05-26 01:24:02 +0800
committermax <max@FreeBSD.org>1997-05-26 01:24:02 +0800
commit9b7a26550a92183d21b0444322dfa2b33b5245ff (patch)
tree66d557f04326e9675997ffafc4289f4ccedb67ce
parent1187339a0988d2e265e18f61c64ce493c49d52ac (diff)
downloadfreebsd-ports-gnome-9b7a26550a92183d21b0444322dfa2b33b5245ff.tar.gz
freebsd-ports-gnome-9b7a26550a92183d21b0444322dfa2b33b5245ff.tar.zst
freebsd-ports-gnome-9b7a26550a92183d21b0444322dfa2b33b5245ff.zip
New port, cosmo gang the puzzle.
PR: 2445 Submitted by: Nakai@Mlab.t.u-tokyo.ac.jp
-rw-r--r--games/cosmo/Makefile30
-rw-r--r--games/cosmo/distinfo2
-rw-r--r--games/cosmo/files/patch-aa17
-rw-r--r--games/cosmo/pkg-comment1
-rw-r--r--games/cosmo/pkg-descr36
-rw-r--r--games/cosmo/pkg-plist5
6 files changed, 91 insertions, 0 deletions
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile
new file mode 100644
index 000000000000..ef24e280a3e6
--- /dev/null
+++ b/games/cosmo/Makefile
@@ -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>
diff --git a/games/cosmo/distinfo b/games/cosmo/distinfo
new file mode 100644
index 000000000000..1aab66e5e5d2
--- /dev/null
+++ b/games/cosmo/distinfo
@@ -0,0 +1,2 @@
+MD5 (cosmo/cosmo-2.0.4.tar.gz) = a7fefeb39f88031728e095a96bbb90f1
+MD5 (cosmo/moon.tif.gz) = 2d4af632236d9ba2f4e53fe8a7d77c7d
diff --git a/games/cosmo/files/patch-aa b/games/cosmo/files/patch-aa
new file mode 100644
index 000000000000..b606a790e551
--- /dev/null
+++ b/games/cosmo/files/patch-aa
@@ -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
diff --git a/games/cosmo/pkg-comment b/games/cosmo/pkg-comment
new file mode 100644
index 000000000000..bf4bde95451d
--- /dev/null
+++ b/games/cosmo/pkg-comment
@@ -0,0 +1 @@
+Clone of Cosmo Gang the Puzzle (Namco)
diff --git a/games/cosmo/pkg-descr b/games/cosmo/pkg-descr
new file mode 100644
index 000000000000..f66b734fcc5a
--- /dev/null
+++ b/games/cosmo/pkg-descr
@@ -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
diff --git a/games/cosmo/pkg-plist b/games/cosmo/pkg-plist
new file mode 100644
index 000000000000..3625d92a13df
--- /dev/null
+++ b/games/cosmo/pkg-plist
@@ -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