1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

3-D tetris game.

PR:		3686
Submitted by:	Pedro F. Giffuni <pgiffuni@FPS.biblos.unal.edu.co>
This commit is contained in:
Satoshi Asami 1997-06-04 01:38:15 +00:00
parent 5a2f4ac8e2
commit 87c8bc9bb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6723
6 changed files with 132 additions and 0 deletions

20
games/xbl/Makefile Normal file
View File

@ -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>

1
games/xbl/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xbl-1.0h.tar.Z) = 0f4c3db8b202dc2b5d0db9a40c6ad36e

67
games/xbl/files/patch-aa Normal file
View File

@ -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

1
games/xbl/pkg-comment Normal file
View File

@ -0,0 +1 @@
XBlockout - A 3d version of Tetris

32
games/xbl/pkg-descr Normal file
View File

@ -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

11
games/xbl/pkg-plist Normal file
View File

@ -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