1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to version 15.1

- Utilize PORTDOCS
- Relinquish to the pool
This commit is contained in:
Alexey Dokuchaev 2011-09-01 01:54:50 +00:00
parent f37fe378b1
commit 25b130b42c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280925
4 changed files with 22 additions and 8 deletions

View File

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

View File

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

View File

@ -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");

View File

@ -1,4 +1,2 @@
bin/tt
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi