aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-09-01 09:54:50 +0800
committerdanfe <danfe@FreeBSD.org>2011-09-01 09:54:50 +0800
commit7da66be2cc24a51fd51633ab711f5905cb853eac (patch)
tree9b95fdeea8b1d840eeea62613d0110464e1b0f96 /games
parent89dcff13bac9b8302a83333f7c07a0d244119800 (diff)
downloadfreebsd-ports-gnome-7da66be2cc24a51fd51633ab711f5905cb853eac.tar.gz
freebsd-ports-gnome-7da66be2cc24a51fd51633ab711f5905cb853eac.tar.zst
freebsd-ports-gnome-7da66be2cc24a51fd51633ab711f5905cb853eac.zip
- Update to version 15.1
- Utilize PORTDOCS - Relinquish to the pool
Diffstat (limited to 'games')
-rw-r--r--games/tt/Makefile9
-rw-r--r--games/tt/distinfo4
-rw-r--r--games/tt/files/patch-screen.c15
-rw-r--r--games/tt/pkg-plist2
4 files changed, 22 insertions, 8 deletions
diff --git a/games/tt/Makefile b/games/tt/Makefile
index 30be83474cba..355bda840ae5 100644
--- a/games/tt/Makefile
+++ b/games/tt/Makefile
@@ -6,16 +6,17 @@
#
PORTNAME= tt
-PORTVERSION= 15.0
+PORTVERSION= 15.1
CATEGORIES= games
-MASTER_SITES= http://www.miketaylor.org.uk/tech/tt/ \
- http://freebsd.nsu.ru/distfiles/
+MASTER_SITES= http://www.miketaylor.org.uk/tech/tt/
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Tetris for Terminals
ALL_TARGET= tt
+PORTDOCS= *
+
do-install:
${INSTALL_PROGRAM} -g games -m 2555 ${WRKSRC}/tt ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/games/tt/distinfo b/games/tt/distinfo
index 20f7dda9b0ef..cd86c7478423 100644
--- a/games/tt/distinfo
+++ b/games/tt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tt-15.0.tar.gz) = 0cff24a7cdc0de7bc292943f0c01e7e1562072d78d1a653ca5bd5bfc80cf3aee
-SIZE (tt-15.0.tar.gz) = 45319
+SHA256 (tt-15.1.tar.gz) = 523544242bc780167d4bd770c5b1b8550de6a29edd6dcfa11d2da4286509eb54
+SIZE (tt-15.1.tar.gz) = 48843
diff --git a/games/tt/files/patch-screen.c b/games/tt/files/patch-screen.c
new file mode 100644
index 000000000000..1aa9a31dee82
--- /dev/null
+++ b/games/tt/files/patch-screen.c
@@ -0,0 +1,15 @@
+--- screen.c.orig 2009-06-18 23:13:47.000000000 +0800
++++ screen.c 2011-09-01 09:35:38.000000000 +0800
+@@ -190,9 +190,9 @@
+ mvaddch (GAME_DEPTH, 2*GAME_WIDTH+2, CORNER_CHAR);
+ addch (CORNER_CHAR);
+
+- /* XXX -- Harv's SYSV port uses standout()/standend() here */
+- mvaddstr (0, 2*GAME_WIDTH+6, form ("%sTETRIS FOR TERMINALS%*s%s",
+- so_str, so_gunk, "", se_str));
++ standout();
++ mvaddstr (0, 2*GAME_WIDTH+6, "TETRIS FOR TERMINALS");
++ standend();
+ mvaddstr (2, 2*GAME_WIDTH+6, "Written by Mike Taylor");
+ mvaddstr (3, 2*GAME_WIDTH+6, "Email: mirk@uk.co.ssl");
+ mvaddstr (4, 2*GAME_WIDTH+6, "Started: Fri May 26 12:26:05 BST 1989");
diff --git a/games/tt/pkg-plist b/games/tt/pkg-plist
index 40452f3c3a9f..20399b6f1d0e 100644
--- a/games/tt/pkg-plist
+++ b/games/tt/pkg-plist
@@ -1,4 +1,2 @@
bin/tt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi