aboutsummaryrefslogtreecommitdiff
path: root/games/xpuzzletama
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-05 12:27:38 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-05 12:27:38 +0000
commit0a4f95db2579b4f5e4149e58644d9834af3527b1 (patch)
tree5e429a14188aefa08d91d6f749b0289ef1ecb44d /games/xpuzzletama
parent575590a86b77247106ce44a4d3b20970f00d8ace (diff)
downloadports-0a4f95db2579b4f5e4149e58644d9834af3527b1.tar.gz
ports-0a4f95db2579b4f5e4149e58644d9834af3527b1.zip
Notes
Diffstat (limited to 'games/xpuzzletama')
-rw-r--r--games/xpuzzletama/Makefile29
-rw-r--r--games/xpuzzletama/distinfo1
-rw-r--r--games/xpuzzletama/files/patch-aa36
-rw-r--r--games/xpuzzletama/pkg-comment1
-rw-r--r--games/xpuzzletama/pkg-descr17
-rw-r--r--games/xpuzzletama/pkg-plist2
6 files changed, 86 insertions, 0 deletions
diff --git a/games/xpuzzletama/Makefile b/games/xpuzzletama/Makefile
new file mode 100644
index 000000000000..2ee3affcec85
--- /dev/null
+++ b/games/xpuzzletama/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xpuzzletama
+# Version required: 1.5
+# Date created: 18 January 1997
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= xpuzzletama
+PKGNAME= xpuzzletama-1.5
+CATEGORIES= games x11
+MASTER_SITES= http://neo.yanagi.gifu-u.ac.jp/~c94056/
+DISTFILES= PuzzleTama-ver1.5.tar.gz
+
+MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
+
+CONFIGURE_ENV= X11BASE=${X11BASE}
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
+
+post-install:
+ ${MKDIR} ${PREFIX}/lib/X11/xpuzzletama
+ ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 666 \
+ ${WRKSRC}/.tama_score ${PREFIX}/lib/X11/xpuzzletama/tama_score
+
+.include <bsd.port.mk>
diff --git a/games/xpuzzletama/distinfo b/games/xpuzzletama/distinfo
new file mode 100644
index 000000000000..e17398edfe68
--- /dev/null
+++ b/games/xpuzzletama/distinfo
@@ -0,0 +1 @@
+MD5 (PuzzleTama-ver1.5.tar.gz) = 09f40c051941460ebdbeae1dc34a52fb
diff --git a/games/xpuzzletama/files/patch-aa b/games/xpuzzletama/files/patch-aa
new file mode 100644
index 000000000000..3cf057e78936
--- /dev/null
+++ b/games/xpuzzletama/files/patch-aa
@@ -0,0 +1,36 @@
+*** Imakefile.orig Wed Dec 4 15:42:03 1996
+--- Imakefile Sat Jan 18 17:46:01 1997
+***************
+*** 7,13 ****
+ OBJS = xtama_init.o xtama_main.o xtama_move.o xtama_rensa.o xtama_score.o xtama_flush.o xtama_net.o
+
+ #SCOREFILE = /opt/X11R6/lib/X11/tama_score
+! SCOREFILE = ./.tama_score
+
+ # もしネットワーク対戦をサポートしないなら下の -DNET を削ってください。
+ # スコアファイルにロック機構が必要ないなら -DFILELOCK を付けてください。
+--- 7,13 ----
+ OBJS = xtama_init.o xtama_main.o xtama_move.o xtama_rensa.o xtama_score.o xtama_flush.o xtama_net.o
+
+ #SCOREFILE = /opt/X11R6/lib/X11/tama_score
+! SCOREFILE = /usr/X11R6/lib/X11/xpuzzletama/tama_score
+
+ # もしネットワーク対戦をサポートしないなら下の -DNET を削ってください。
+ # スコアファイルにロック機構が必要ないなら -DFILELOCK を付けてください。
+***************
+*** 23,29 ****
+ # ※必ずどれかを指定して下さい。
+ # 自分で作り直してもいいです。 (^^;
+ # ↓ ↓ ↓ ↓
+! DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DUSR_RAND
+
+ #DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DFILELOCK -I/opt/X11R6/include -DUSR_RANDOM
+
+--- 23,29 ----
+ # ※必ずどれかを指定して下さい。
+ # 自分で作り直してもいいです。 (^^;
+ # ↓ ↓ ↓ ↓
+! DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DUSR_RANDOM
+
+ #DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DFILELOCK -I/opt/X11R6/include -DUSR_RANDOM
+
diff --git a/games/xpuzzletama/pkg-comment b/games/xpuzzletama/pkg-comment
new file mode 100644
index 000000000000..a947dc479c48
--- /dev/null
+++ b/games/xpuzzletama/pkg-comment
@@ -0,0 +1 @@
+Puzzle tama, a tetris like game
diff --git a/games/xpuzzletama/pkg-descr b/games/xpuzzletama/pkg-descr
new file mode 100644
index 000000000000..4b963703ad4a
--- /dev/null
+++ b/games/xpuzzletama/pkg-descr
@@ -0,0 +1,17 @@
+PuzzleTama is a tetris-like puzzle game for X Window System.
+
+OPTIONS:
+ usage: xpuzzletama [options]
+ -display display Specify display name
+ -rensa n How many balls is need to disappear.
+ (Score registration available only 3)
+
+ -install Install colormap
+ -mouse Use mouse
+ -net Multi player through net
+ -host host Specify host when multi playing
+
+ You can also configure mouse button.
+ -rturn button-number default 1
+ -fall button-number default 2
+ -lturn button-number default 3
diff --git a/games/xpuzzletama/pkg-plist b/games/xpuzzletama/pkg-plist
new file mode 100644
index 000000000000..09721d1f2e0d
--- /dev/null
+++ b/games/xpuzzletama/pkg-plist
@@ -0,0 +1,2 @@
+bin/xpuzzletama
+lib/X11/xpuzzletama/tama_score