summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2004-02-03 19:15:29 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2004-02-03 19:15:29 +0000
commit81db7a78cdfed6639ab69595e159966ab8f3e0b5 (patch)
treeef6317fc853e167787ebbe78a17ea692cf33eabf /games
parent. Fix the Java include path (bsd -> freebsd). (diff)
New game for port collection: clone of BlockOut game
Notes
Notes: svn path=/head/; revision=99895
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/xblockout/Makefile36
-rw-r--r--games/xblockout/distinfo2
-rw-r--r--games/xblockout/files/patch-Makefile.in42
-rw-r--r--games/xblockout/pkg-descr8
5 files changed, 89 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index d5c059954137..5b565e8e2f51 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -465,6 +465,7 @@
SUBDIR += xblackjack
SUBDIR += xblast
SUBDIR += xblast-beta
+ SUBDIR += xblockout
SUBDIR += xblood
SUBDIR += xbloody
SUBDIR += xboard
diff --git a/games/xblockout/Makefile b/games/xblockout/Makefile
new file mode 100644
index 000000000000..6b5f1f883677
--- /dev/null
+++ b/games/xblockout/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: xwelltris
+# Date created: 1 Feb 2004
+# Whom: lev
+#
+# $FreeBSD$
+#
+
+PORTNAME= xblockout
+PORTVERSION= 1.1.2
+CATEGORIES= games
+MASTER_SITES= ftp://ftp710.univ-lyon1.fr/pub/xbl/
+DISTNAME= xbl-${PORTVERSION}
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= BlockOut, 3D tetris-like game
+
+USE_SIZE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= "CPP=${CPP}"
+USE_XLIB= yes
+USE_X_PREFIX= yes
+
+PLIST_FILES= 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
+PKG_DIRS= lib/X11/xbl
+MAN6= xbl.6
+
+.include <bsd.port.mk>
diff --git a/games/xblockout/distinfo b/games/xblockout/distinfo
new file mode 100644
index 000000000000..fbc699e85d3a
--- /dev/null
+++ b/games/xblockout/distinfo
@@ -0,0 +1,2 @@
+MD5 (xbl-1.1.2.tar.gz) = 81b918d78c1f78ff05cdaab9f4589538
+SIZE (xbl-1.1.2.tar.gz) = 136082
diff --git a/games/xblockout/files/patch-Makefile.in b/games/xblockout/files/patch-Makefile.in
new file mode 100644
index 000000000000..09a52e9f81b0
--- /dev/null
+++ b/games/xblockout/files/patch-Makefile.in
@@ -0,0 +1,42 @@
+--- Makefile.in.orig Sun Aug 31 23:59:38 2003
++++ Makefile.in Mon Feb 2 22:02:10 2004
+@@ -124,13 +124,10 @@
+ @echo "Executable go in $(BINDIR)"
+ @echo "Scores go in $(SCOREDIR)"
+ @echo "Defaults go in $(RESOURCEDIR)/Xbl"
+- @echo "Man pages go in $(MANPATH)/mann or man1"
++ @echo "Man pages go in $(MANPATH)/man6"
+ @-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"
+ #
+ # Remove old score file
+ #
+@@ -138,9 +135,7 @@
+ 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]* ; \
++ rm $(SCOREDIR)/[1-9]* ; \
+ exit 0 ; \
+ fi
+ #
+@@ -173,10 +168,10 @@
+ #
+ # Install manual pages
+ #
+- -if [ -d $(MANPATH)/mann ] ; \
++ -if [ -d $(MANPATH)/man6 ] ; \
+ then \
+- $(CP) xbl.man $(MANPATH)/mann/xbl.n ;\
+- chmod 444 $(MANPATH)/mann/xbl.n ; \
++ $(CP) xbl.man $(MANPATH)/man6/xbl.6 ;\
++ chmod 444 $(MANPATH)/man6/xbl.6 ; \
+ else \
+ $(CP) xbl.man $(MANPATH)/man1/xbl.1 ;\
+ chmod 444 $(MANPATH)/man1/xbl.1 ; \
diff --git a/games/xblockout/pkg-descr b/games/xblockout/pkg-descr
new file mode 100644
index 000000000000..84edd606ca30
--- /dev/null
+++ b/games/xblockout/pkg-descr
@@ -0,0 +1,8 @@
+X Window block dropping game in 3 Dimension.
+
+The grand father of this game is TETRIS, its father is BLOCKOUT on PC/DOS.
+
+Blockout is a registered trademark of Kadon Enterprises, Inc., used by
+permission.
+
+WWW: http://www710.univ-lyon1.fr/ftp/xbl/xbl.html