mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
vitetris is a terminal-based Tetris clone by Victor Nilsson. Gameplay is
much like the early Tetris games by Nintendo. Features include: -Configurable keys -Highscore table -Two-player mode with garbage -Network play WWW: http://victornils.net/tetris/
This commit is contained in:
parent
c3acfba1ed
commit
23b363a6f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220509
@ -848,6 +848,7 @@
|
||||
SUBDIR += vectoroids
|
||||
SUBDIR += vegastrike
|
||||
SUBDIR += vegastrike-data
|
||||
SUBDIR += vitetris
|
||||
SUBDIR += volleyball
|
||||
SUBDIR += vor
|
||||
SUBDIR += vultures-claw
|
||||
|
29
games/vitetris/Makefile
Normal file
29
games/vitetris/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: vitetris
|
||||
# Date created: 2008-09-22
|
||||
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vitetris
|
||||
PORTVERSION= 0.51
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://victornils.net/tetris/
|
||||
|
||||
MAINTAINER= miwi@FreeBSD.org
|
||||
COMMENT= Terminal-based tetris clone in vein of nintendo tetris
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
ALL_TARGET= #
|
||||
CONFIGURE_ARGS= curses="-lncurses" \
|
||||
xlib=no
|
||||
|
||||
PLIST_FILES= bin/vitetris \
|
||||
share/allegro/licence.txt
|
||||
PLIST_DIRS= share/allegro
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,docdir,datadir,g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/vitetris/distinfo
Normal file
3
games/vitetris/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (vitetris-0.51.tar.gz) = 7674b536021139c100600ddb992fe2dc
|
||||
SHA256 (vitetris-0.51.tar.gz) = d339774210ab7a41c0c0bdd64c5b8fa0ac4f796a1a2248874f6eddb350e696f2
|
||||
SIZE (vitetris-0.51.tar.gz) = 93522
|
59
games/vitetris/files/patch-Makefile
Normal file
59
games/vitetris/files/patch-Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
--- Makefile.orig Sat Sep 13 11:45:37 2008
|
||||
+++ Makefile Mon Sep 22 09:31:15 2008
|
||||
@@ -1,11 +1,11 @@
|
||||
include config.mk
|
||||
|
||||
-PROGNAME = tetris$(EXE)
|
||||
+PROGNAME = vitetris$(EXE)
|
||||
|
||||
# Uncomment to change the default. (Only used in Unix-like systems.)
|
||||
-#HISCORE_FILENAME = /var/games/vitetris-hiscores
|
||||
+HISCORE_FILENAME = /var/games/vitetris-hiscores
|
||||
|
||||
-INSTALL = install -oroot -groot
|
||||
+INSTALL = install -oroot -gwheel
|
||||
|
||||
default: build
|
||||
@echo Done.
|
||||
@@ -15,13 +15,13 @@ $(PROGNAME):
|
||||
$(MAKE) build
|
||||
|
||||
build: src/src-conf.mk
|
||||
- $(MAKE) -Csrc tetris
|
||||
+ cd src; $(MAKE) tetris
|
||||
mv -f src/tetris$(EXE) $(PROGNAME)
|
||||
@echo stripping symbols to reduce program size:
|
||||
-strip --strip-all $(PROGNAME)
|
||||
|
||||
gameserver: src/netw/gameserver.c
|
||||
- $(MAKE) -Csrc/netw gameserver
|
||||
+ cd src/netw; $(MAKE) gameserver
|
||||
mv -f src/netw/gameserver .
|
||||
|
||||
src/src-conf.mk: config.mk Makefile src-conf.sh
|
||||
@@ -54,12 +54,12 @@ src/src-conf.mk: config.mk Makefile src-conf.sh
|
||||
./src-conf.sh obj pctimer $(PCTIMER)
|
||||
|
||||
install: $(PROGNAME)
|
||||
- $(INSTALL) -d $(bindir) $(docdir)
|
||||
- $(INSTALL) -m755 $(PROGNAME) $(bindir)
|
||||
- $(INSTALL) -m644 README licence.txt $(docdir)
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL) -m755 $(PROGNAME) $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -m644 licence.txt $(DESTDIR)$(docdir)
|
||||
if [ -n "$(ALLEGRO)" ]; then \
|
||||
- $(INSTALL) -d $(datadir); \
|
||||
- $(INSTALL) -m644 pc8x16.fnt $(datadir); \
|
||||
+ $(INSTALL) -d $(DESTDIR)$(datadir); \
|
||||
+ $(INSTALL) -m644 pc8x16.fnt $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@echo Done.
|
||||
@echo You may also wish to create the system-wide highscore file
|
||||
@@ -84,6 +84,6 @@ uninstall:
|
||||
-rmdir $(datadir)
|
||||
clean:
|
||||
rm -f systest systest.exe
|
||||
- $(MAKE) -Csrc clean
|
||||
+ cd src; $(MAKE) clean
|
||||
|
||||
.PHONY: default build install install-hiscores uninstall clean
|
9
games/vitetris/pkg-descr
Normal file
9
games/vitetris/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
vitetris is a terminal-based Tetris clone by Victor Nilsson. Gameplay is
|
||||
much like the early Tetris games by Nintendo. Features include:
|
||||
|
||||
-Configurable keys
|
||||
-Highscore table
|
||||
-Two-player mode with garbage
|
||||
-Network play
|
||||
|
||||
WWW: http://victornils.net/tetris/
|
Loading…
Reference in New Issue
Block a user