summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-06-04 01:38:15 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-06-04 01:38:15 +0000
commit87c8bc9bb4177ae61d2d1419eb0bf427d64971ac (patch)
treea4f2c2726b6d52fb9251658a034325cbf4890a9b
parentModify hack to remove "doc" subdir name from share/doc/urt/doc. (diff)
3-D tetris game.
PR: 3686 Submitted by: Pedro F. Giffuni <pgiffuni@FPS.biblos.unal.edu.co>
-rw-r--r--games/xbl/Makefile20
-rw-r--r--games/xbl/distinfo1
-rw-r--r--games/xbl/files/patch-aa67
-rw-r--r--games/xbl/pkg-comment1
-rw-r--r--games/xbl/pkg-descr32
-rw-r--r--games/xbl/pkg-plist11
6 files changed, 132 insertions, 0 deletions
diff --git a/games/xbl/Makefile b/games/xbl/Makefile
new file mode 100644
index 000000000000..d1ffef3c5609
--- /dev/null
+++ b/games/xbl/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: xbl
+# Version required: 1.0h
+# Date created: May 25 1997
+# Whom: pgs (original)
+#
+# $Id$
+#
+
+DISTNAME= xbl-1.0h
+CATEGORIES= games
+MASTER_SITES= ftp://ftp710.univ-lyon1.fr/pub/xbl/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= pgiffuni@FPS.biblos.unal.edu.co
+
+USE_X11= yes
+HAS_CONFIGURE= yes
+MANN= xbl.n
+
+.include <bsd.port.mk>
diff --git a/games/xbl/distinfo b/games/xbl/distinfo
new file mode 100644
index 000000000000..348d07d90e30
--- /dev/null
+++ b/games/xbl/distinfo
@@ -0,0 +1 @@
+MD5 (xbl-1.0h.tar.Z) = 0f4c3db8b202dc2b5d0db9a40c6ad36e
diff --git a/games/xbl/files/patch-aa b/games/xbl/files/patch-aa
new file mode 100644
index 000000000000..44b8bb3da65b
--- /dev/null
+++ b/games/xbl/files/patch-aa
@@ -0,0 +1,67 @@
+--- ./Makefile.in.org Sun Jan 12 11:03:54 1997
++++ ./Makefile.in Tue Jun 3 18:07:01 1997
+@@ -14,7 +14,7 @@
+ USE_SETGID=-DUSE_SETGID
+
+ # group owner of games file
+-GROUP_GID=2
++GROUP_GID=13
+
+ ###########################################################################
+ # You don't need to read below if you have xmkmf or imake
+@@ -29,26 +29,26 @@
+ # Directory who contain X Resource Database
+ # The default value if overrided by configure if xmkmf or imake exists.
+ #
+-RESOURCEDIR=/usr/lib/X11/app-defaults
++RESOURCEDIR=$(X11_BASE)/lib/X11/app-defaults
+ @XAPPLOADDIR@
+
+ # Directory where install binary
+ # The default value if overrided by configure if xmkmf or imake exists.
+ #
+-BINDIR=/usr/local/bin
++BINDIR=$(PREFIX)/bin
+ @BINDIR@
+
+ # Directory who contain score
+ # Put your HOME if you have a private use of the game
+ # The default value if overrided by configure if xmkmf or imake exists.
+ #
+-SCOREDIR=/usr/local/lib/xbl
++SCOREDIR=$(PREFIX)/lib/xbl
+ @SCOREDIR@
+
+ # Directory where put man pages.
+ # The default value if overrided by configure if xmkmf or imake exists.
+ #
+-MANPATH=/usr/local/man
++MANPATH=$(PREFIX)/man
+ @MANPATH@
+
+ ###########################################################################
+@@ -127,20 +127,15 @@
+ @-if [ "" != "$(USE_SETGID)" ] ; then \
+ echo "You use GID=$(GROUP_GID) protection" ; \
+ fi
+- @echo "Type <Return> to continue installation"
+- @echo "Type NO to stop installation"
+- @read LINE && test "" = "$$LINE"
++# @echo "Type <Return> to continue installation"
++# @echo "Type NO to stop installation"
++# @read LINE && test "" = "$$LINE"
+ #
+ # Remove old score file
+ #
+ @-if [ -d "$(SCOREDIR)" ] ; \
+ then \
+- echo "The scoring method and speeds of Xbl had change" ; \
+- echo "If your version is older than 0.2e, destroy score." ; \
+- echo "Type <Return> to destroy old score files" ; \
+- echo "Type NO to hold old score files" ; \
+- read LINE && test "" = "$$LINE" && rm $(SCOREDIR)/[1-9]* ; \
+- exit 0 ; \
++ rm $(SCOREDIR)/[1-9]* ; \
+ fi
+ #
+ # Install executable
diff --git a/games/xbl/pkg-comment b/games/xbl/pkg-comment
new file mode 100644
index 000000000000..fb89033bd9f1
--- /dev/null
+++ b/games/xbl/pkg-comment
@@ -0,0 +1 @@
+XBlockout - A 3d version of Tetris
diff --git a/games/xbl/pkg-descr b/games/xbl/pkg-descr
new file mode 100644
index 000000000000..d6c7925a61bf
--- /dev/null
+++ b/games/xbl/pkg-descr
@@ -0,0 +1,32 @@
+=============================================================================
+= XBL 1.0
+ =
+=============================================================================
+
+XBL is a Tetris 3D extension.
+
+XBL is an interactive game under X11 (color or black&white) and UN*X.
+
+XBL is a good training tool to understand 3D rotations and 3D vision.
+ You need reflex and memory (human).
+
+XBL implements 6 different ways to perform animation under X11!
+ (more or less good)
+
+- The game world is a 3D discrete space.
+- The player has a top view of this discrete space.
+- The game throws blocks made of cubes (one to five cubes).
+- A block falls inside the discrete space, and stops when hitting the
+floor or another block.
+- If a discrete space level is full, it is destroyed.
+- Another block appears (only one moving block at a time).
+- Player can move or rotate blocks (perfect real time if you have a fast
+host).
+The goal is to play as long as possible.
+
+XBL home is : "ftp://ftp710.univ-lyon1.fr/pub/xbl"
+XBL URL is : "http://www710.univ-lyon1.fr/ftp/xbl/xbl.html"
+
+Good luck!
+
+Thierry.EXCOFFIER@ligia.univ-lyon1.fr
diff --git a/games/xbl/pkg-plist b/games/xbl/pkg-plist
new file mode 100644
index 000000000000..e77364f17894
--- /dev/null
+++ b/games/xbl/pkg-plist
@@ -0,0 +1,11 @@
+bin/xbl
+lib/X11/app-defaults/Xbl
+lib/X11/xbl/COPYING
+lib/X11/xbl/Xbl
+lib/X11/xbl/xbl-game.gif
+lib/X11/xbl/xbl-man.html
+lib/X11/xbl/xbl-menu.gif
+lib/X11/xbl/xbl-score.gif
+lib/X11/xbl/xbl-zoo.gif
+lib/X11/xbl/xbl.html
+man/mann/xbl.n.gz