summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--games/xdeblock/Makefile28
-rw-r--r--games/xdeblock/distinfo1
-rw-r--r--games/xdeblock/files/patch-aa38
-rw-r--r--games/xdeblock/files/patch-ab19
-rw-r--r--games/xdeblock/pkg-comment1
-rw-r--r--games/xdeblock/pkg-descr13
-rw-r--r--games/xdeblock/pkg-plist6
7 files changed, 106 insertions, 0 deletions
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile
new file mode 100644
index 000000000000..5fd1ca4b8e91
--- /dev/null
+++ b/games/xdeblock/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xdeblock
+# Version required: v1.0
+# Date created: 28 December 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= xdeblo_v1.0
+PKGNAME= xdeblock-1.0
+CATEGORIES= games
+MASTER_SITES= ftp://www.vector.co.jp/pack/unix/game/action/block/
+DISTFILES= xdeblock.tgz
+
+MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf
+ chmod 777 ${PREFIX}/lib/X11/xdeblock/mapf
+ ${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf
+
+.include <bsd.port.mk>
diff --git a/games/xdeblock/distinfo b/games/xdeblock/distinfo
new file mode 100644
index 000000000000..b3a873b0cb86
--- /dev/null
+++ b/games/xdeblock/distinfo
@@ -0,0 +1 @@
+MD5 (xdeblock.tgz) = bc0f3d3f7c63b105445a3e5a98a5b6da
diff --git a/games/xdeblock/files/patch-aa b/games/xdeblock/files/patch-aa
new file mode 100644
index 000000000000..ebeda5855280
--- /dev/null
+++ b/games/xdeblock/files/patch-aa
@@ -0,0 +1,38 @@
+*** Imakefile.orig Sat Jan 25 23:26:41 1997
+--- Imakefile Sat Jan 25 23:31:45 1997
+***************
+*** 10,16 ****
+ XCOMM Set xdeblock working directory.
+ XCOMM =====================================================================
+
+! XDEBLO_DIR = .
+
+ XCOMM =====================================================================
+ XCOMM Set xpm.
+--- 10,16 ----
+ XCOMM Set xdeblock working directory.
+ XCOMM =====================================================================
+
+! XDEBLO_DIR = /usr/X11R6/lib/X11/xdeblock
+
+ XCOMM =====================================================================
+ XCOMM Set xpm.
+***************
+*** 20,27 ****
+ XCOMM abc% find /usr -name xpm.h -print
+ XCOMM =====================================================================
+
+! XPM_INC = -I/usr/include/X11
+! XPMLIB_DIR = -L/usr/lib
+
+ XCOMM =====================================================================
+
+--- 20,27 ----
+ XCOMM abc% find /usr -name xpm.h -print
+ XCOMM =====================================================================
+
+! XPM_INC = -I/usr/X11R6/include/X11
+! XPMLIB_DIR = -L/usr/X11R6/lib
+
+ XCOMM =====================================================================
+
diff --git a/games/xdeblock/files/patch-ab b/games/xdeblock/files/patch-ab
new file mode 100644
index 000000000000..07dd0937db43
--- /dev/null
+++ b/games/xdeblock/files/patch-ab
@@ -0,0 +1,19 @@
+*** main.c.orig Sat Nov 16 05:37:16 1996
+--- main.c Wed Mar 5 03:11:37 1997
+***************
+*** 66,72 ****
+ /*** set s_map ***/
+ gameMainFlg.s_map = False;
+ nowDataRec.nowMap.gameSpeed = 90;
+! nowDataRec.nowMap.dirname[0] == 0x00;
+
+ for(i =1; i < argc; i++)
+ {
+--- 66,72 ----
+ /*** set s_map ***/
+ gameMainFlg.s_map = False;
+ nowDataRec.nowMap.gameSpeed = 90;
+! strcpy(nowDataRec.nowMap.dirname, "/usr/X11R6/lib/X11/xdeblock/mapf");
+
+ for(i =1; i < argc; i++)
+ {
diff --git a/games/xdeblock/pkg-comment b/games/xdeblock/pkg-comment
new file mode 100644
index 000000000000..03f5092e43fb
--- /dev/null
+++ b/games/xdeblock/pkg-comment
@@ -0,0 +1 @@
+block action game
diff --git a/games/xdeblock/pkg-descr b/games/xdeblock/pkg-descr
new file mode 100644
index 000000000000..219b96148f0e
--- /dev/null
+++ b/games/xdeblock/pkg-descr
@@ -0,0 +1,13 @@
+Xdeblock is a block action game.
+
+USAGE:
+ xdeblock
+
+ and push PLAY button in the window.
+
+ENVIRONMENT:
+ You need 256 or more colors, 840x600 or more window, and enough memory.
+
+AUTHOR:
+ e-mail: QYI03211@niftyserve.or.jp
+ Takuto Okuno
diff --git a/games/xdeblock/pkg-plist b/games/xdeblock/pkg-plist
new file mode 100644
index 000000000000..f398c3087b09
--- /dev/null
+++ b/games/xdeblock/pkg-plist
@@ -0,0 +1,6 @@
+bin/xdeblo
+lib/X11/xdeblock/mapf/hadoer.mapf.txt
+lib/X11/xdeblock/mapf/hard.mapf.txt
+lib/X11/xdeblock/mapf/middle.mapf.txt
+lib/X11/xdeblock/mapf/odo.mapf.txt
+lib/X11/xdeblock/mapf/standard.mapf.txt