summaryrefslogtreecommitdiff
path: root/games/xshisen
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-11-03 21:11:09 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-11-03 21:11:09 +0000
commit12b623462027f690d0b22d7a3b782d52f5e1a6cc (patch)
tree7678629ff3e09e7472c96b6bf8d5f3605ff38663 /games/xshisen
parentUpdate for newly imported ports. (diff)
Import of Shisen-sho puzzle game for X11
Reviewed by: jfitz@FreeBSD.ORG Submitted by: Nakai@Mlab.t.u-tokyo.ac.jp
Notes
Notes: svn path=/head/; revision=4285
Diffstat (limited to 'games/xshisen')
-rw-r--r--games/xshisen/Makefile30
-rw-r--r--games/xshisen/distinfo1
-rw-r--r--games/xshisen/files/patch-aa51
-rw-r--r--games/xshisen/pkg-comment1
-rw-r--r--games/xshisen/pkg-descr100
-rw-r--r--games/xshisen/pkg-plist43
6 files changed, 226 insertions, 0 deletions
diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile
new file mode 100644
index 000000000000..03132f60941e
--- /dev/null
+++ b/games/xshisen/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: xshisen
+# Version required: 1.35
+# Date created: 9 Oct 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= xshisen-1.35
+CATEGORIES+= games
+MASTER_SITES= ftp://ftp.iis.u-tokyo.ac.jp/pub1/X/contrib/games/
+
+MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+USE_X11= yes
+
+GNU_CONFIGURE= yes
+#CONFIGURE_ARGS=--enable-japanese=euc #Japanese char set euc, jis sjis
+
+post-install:
+ @ strip ${PREFIX}/bin/xshisen
+ @ /bin/chmod 755 ${PREFIX}/bin/xshisen
+ @ /usr/sbin/chown bin.bin ${PREFIX}/bin/xshisen
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man6/xshisen.6
+ gzip -9nf ${PREFIX}/man/ja_JP.JIS7/man6/xshisen.6
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/xshisen/distinfo b/games/xshisen/distinfo
new file mode 100644
index 000000000000..a9ce55f3647d
--- /dev/null
+++ b/games/xshisen/distinfo
@@ -0,0 +1 @@
+MD5 (xshisen-1.35.tar.gz) = 36c979ccb5b958b6ae1f3807a26ffabd
diff --git a/games/xshisen/files/patch-aa b/games/xshisen/files/patch-aa
new file mode 100644
index 000000000000..7f456c0cecf8
--- /dev/null
+++ b/games/xshisen/files/patch-aa
@@ -0,0 +1,51 @@
+*** Makefile.in.orig Tue Jan 23 08:35:21 1996
+--- Makefile.in Fri Oct 11 08:19:53 1996
+***************
+*** 39,52 ****
+ SCF = xshisen-scores
+
+ LIBS = @LIBS@
+! CODECONV = ./$(exec_name) -KCONV jis
+
+ all: $(PROGS)
+
+ $(exec_name): $(OBJS)
+ $(CXX) $(LDFLAGS) $(OBJS) $(LIBS) -o $(exec_name)
+
+! install: $(PROGS) $(AD) $(ADJ)
+ @echo "XShisen executable directory is " $(bindir)
+ @$(MKDIR) $(bindir)
+ @chmod 755 $(bindir)
+--- 39,52 ----
+ SCF = xshisen-scores
+
+ LIBS = @LIBS@
+! CODECONV = ./$(exec_name) -KCONV euc
+
+ all: $(PROGS)
+
+ $(exec_name): $(OBJS)
+ $(CXX) $(LDFLAGS) $(OBJS) $(LIBS) -o $(exec_name)
+
+! install: $(PROGS) $(AD) $(ADJ) install.man
+ @echo "XShisen executable directory is " $(bindir)
+ @$(MKDIR) $(bindir)
+ @chmod 755 $(bindir)
+***************
+*** 63,73 ****
+--- 63,77 ----
+ for file in pixmaps/*.xpm; do \
+ $(INSTALLD) $$file $(XSHISENLIB)/`basename $$file`; \
+ done
++ @$(MKDIR) $(XAD_DIR)/$(class_name)
++ @$(MKDIR) $(JXAD_DIR)/$(class_name)
+ $(INSTALLD) $(AD) $(XAD_DIR)/$(class_name)
+ $(INSTALLD) $(ADJ) $(JXAD_DIR)/$(class_name)
+
+ install.man: $(exec_name).jman $(exec_name).man
++ mkdir -p $(MANDIR)/man6
+ $(INSTALLD) $(exec_name).man $(MANDIR)/man6/$(exec_name).6
++ mkdir -p $(MANDIR)/$(JAPANESE)/man6
+ $(INSTALLD) $(exec_name).jman $(MANDIR)/$(JAPANESE)/man6/$(exec_name).6
+
+ clean:
diff --git a/games/xshisen/pkg-comment b/games/xshisen/pkg-comment
new file mode 100644
index 000000000000..632660b4de81
--- /dev/null
+++ b/games/xshisen/pkg-comment
@@ -0,0 +1 @@
+Shisen-sho puzzle game for X11
diff --git a/games/xshisen/pkg-descr b/games/xshisen/pkg-descr
new file mode 100644
index 000000000000..89cfdb2e91eb
--- /dev/null
+++ b/games/xshisen/pkg-descr
@@ -0,0 +1,100 @@
+xshisen - Shisen-sho puzzle game for X11
+
+
+ xshisen is a puzzle game for X11. Similar to the famous
+ "Shang-hai", your objective is to remove all the pieces on
+ the board.
+
+ The game will over when you remove all the pieces on the
+ board. The pieces can be removed only when both of the
+ following conditions are true.
+
+
+ (1) The 2 pieces have the same picture
+
+ (2) The 2 pieces can be connected with up to 3 lines which
+ do not go over other pieces.
+
+ It may seem difficult rule, but is easier than describing
+ in
+ words. "Auto-demo" mode must be very useful for you to
+ understand the rule.
+
+OPTIONS
+ The following command line options are available.
+
+ standard Xt options
+ xshisen accepts standard toolkit options like
+ -display, or -iconic.
+
+ -demo Auto-demo mode. You cannot play game with this
+ mode, but the game will proceed by computer auto-
+ mated algorithm. This mode is quite useful for
+ you to understand rules.
+
+ -score Just displays the best score dialog and exits.
+ -mag number
+ Magnify main window by number times. The standard
+ window will be 640x400. Number may be a decimal,
+ but the range is limited from 0.5 to the display
+ size.
+
+ -fn fontlist
+ Use fontlist for menubar and times.
+
+ -large Play double sized game. Game size can be changed
+ with menubar after you started xshisen. Each game
+ size has independent best time records.
+
+ -huge Play quadruple sized game. Game size can be
+ changed with menubar after you started xshisen.
+ Each game size has independent best time records.
+
+ -trial Play as "Click Trial" mode. You can measure your
+ mouse operation speed with this feature.
+
+ -gravity
+ Enable gravity effect. All the pieces above the
+ removed pieces will fall down.
+
+MENU BAR AND KEYBOARD
+ Start (Control + D)
+ Starts new game. The pieces are located at random
+ position.
+
+ Restart (Control + R)
+ Restarts the current game. The time of restarted
+ game will not be recorded as the best score.
+
+ Pause (Control + P)
+ Pauses the game. The time count will be stopped,
+ but also the pieces picture will be hidden. You
+ can resume your game to do "Pause" again.
+
+ Exit Exits the Shisen-sho.
+
+ Search (F1)
+ Teaches the pair you can remove now. You can use
+ "Search" anytime, but the time will not be
+ recorded as the best score if you use "Search"
+ even once.
+
+
+ Back (F5)
+ Backs one step. The time will not be recorded if
+ you use "Back".
+
+
+MOUSE CONTROL
+ The following mouse control is available. You can change
+ mouse button bindings with XShisen*drawing.translations
+ resource.
+
+ Button 1
+ Specifies the piece to remove. You can cencel the
+ selection when you click the selected piece again.
+
+ Button 3
+ Cancels the selected piece. You can use button 3
+ after "Search", which cancels the search result.
+
diff --git a/games/xshisen/pkg-plist b/games/xshisen/pkg-plist
new file mode 100644
index 000000000000..7baeff47e01c
--- /dev/null
+++ b/games/xshisen/pkg-plist
@@ -0,0 +1,43 @@
+bin/xshisen
+share/xshisen/xshisen-scores
+share/xshisen/chun.xpm
+share/xshisen/haku.xpm
+share/xshisen/hana.xpm
+share/xshisen/hatsu.xpm
+share/xshisen/hishi.xpm
+share/xshisen/m1.xpm
+share/xshisen/m2.xpm
+share/xshisen/m3.xpm
+share/xshisen/m4.xpm
+share/xshisen/m5.xpm
+share/xshisen/m6.xpm
+share/xshisen/m7.xpm
+share/xshisen/m8.xpm
+share/xshisen/m9.xpm
+share/xshisen/nan.xpm
+share/xshisen/p1.xpm
+share/xshisen/p2.xpm
+share/xshisen/p3.xpm
+share/xshisen/p4.xpm
+share/xshisen/p5.xpm
+share/xshisen/p6.xpm
+share/xshisen/p7.xpm
+share/xshisen/p8.xpm
+share/xshisen/p9.xpm
+share/xshisen/pei.xpm
+share/xshisen/s1.xpm
+share/xshisen/s2.xpm
+share/xshisen/s3.xpm
+share/xshisen/s4.xpm
+share/xshisen/s5.xpm
+share/xshisen/s6.xpm
+share/xshisen/s7.xpm
+share/xshisen/s8.xpm
+share/xshisen/s9.xpm
+share/xshisen/sha.xpm
+share/xshisen/ton.xpm
+lib/X11/app-defaults/XShisen/XShisen.ad
+lib/X11/ja_JP.JIS7/app-defaults/XShisen/XShisen-j.ad
+man/man6/xshisen.6.gz
+man/ja_JP.JIS7/man6/xshisen.6.gz
+@dirrm share/xshisen