diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-07 09:00:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-07 09:00:34 +0000 |
commit | 1973250ee898ac5a4921af30b089b0847c4b3adb (patch) | |
tree | 295d3ee834f116f6cb2a495a9e3494f51a88be0e /games/tetrinet | |
parent | 95a41437e5e86da5dc44bea1b875679ee024d7fb (diff) | |
download | ports-1973250ee898ac5a4921af30b089b0847c4b3adb.tar.gz ports-1973250ee898ac5a4921af30b089b0847c4b3adb.zip |
Notes
Diffstat (limited to 'games/tetrinet')
-rw-r--r-- | games/tetrinet/Makefile | 7 | ||||
-rw-r--r-- | games/tetrinet/distinfo | 2 | ||||
-rw-r--r-- | games/tetrinet/files/patch-ab | 22 | ||||
-rw-r--r-- | games/tetrinet/files/patch-ad | 15 | ||||
-rw-r--r-- | games/tetrinet/pkg-descr | 2 | ||||
-rw-r--r-- | games/tetrinet/pkg-plist | 3 |
6 files changed, 14 insertions, 37 deletions
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile index 1387b51345b7..9e868d187b34 100644 --- a/games/tetrinet/Makefile +++ b/games/tetrinet/Makefile @@ -6,14 +6,15 @@ # PORTNAME= tetrinet -PORTVERSION= 0.7a +PORTVERSION= 0.11 CATEGORIES= games net -MASTER_SITES= http://achurch.org/tetrinet/ -DISTNAME= ${PORTNAME} +MASTER_SITES= http://tetrinet.or.cz/download/ MAINTAINER= ports@FreeBSD.org COMMENT= A console tetrinet client +PORTDOCS= README tetrinet.txt + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/tetrinet-server ${PREFIX}/bin diff --git a/games/tetrinet/distinfo b/games/tetrinet/distinfo index 29b6a34a7442..9adcab6d4dd6 100644 --- a/games/tetrinet/distinfo +++ b/games/tetrinet/distinfo @@ -1 +1 @@ -MD5 (tetrinet.tar.gz) = a99dd9e4b05b1a8ee0eb07eb7130c7b6 +MD5 (tetrinet-0.11.tar.gz) = e294fa1cc61af49b6965e3be54475ebc diff --git a/games/tetrinet/files/patch-ab b/games/tetrinet/files/patch-ab deleted file mode 100644 index 644540a2510e..000000000000 --- a/games/tetrinet/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ ---- server.c.old Sun Mar 4 17:57:08 2001 -+++ server.c Sun Mar 4 17:57:44 2001 -@@ -4,6 +4,10 @@ - * Tetrinet server code - */ - -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <sys/time.h> -+ - #include <stdarg.h> - #include <stdio.h> - #include <stdlib.h> -@@ -14,8 +18,6 @@ - * reason to not use glibc. */ - /* #include <netinet/protocols.h> */ - #include <signal.h> --#include <sys/socket.h> --#include <sys/time.h> - #include "tetrinet.h" - #include "tetris.h" - #include "server.h" diff --git a/games/tetrinet/files/patch-ad b/games/tetrinet/files/patch-ad index a2183a93382d..7f5434c6945d 100644 --- a/games/tetrinet/files/patch-ad +++ b/games/tetrinet/files/patch-ad @@ -1,10 +1,11 @@ ---- Makefile.orig Sat May 4 14:47:40 2002 -+++ Makefile Sat May 4 14:47:50 2002 -@@ -1,5 +1,5 @@ +--- Makefile.orig Wed Jan 7 19:04:45 2004 ++++ Makefile Wed Jan 7 19:43:15 2004 +@@ -1,6 +1,6 @@ -CC = cc --CFLAGS = -O2 -I/usr/include/ncurses +CC ?= cc -+CFLAGS += -I/usr/include/ncurses - - OBJS = server.o sockets.o tetrinet.o tetris.o tty.o xwin.o +-CFLAGS = -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall ++CFLAGS += -DHAVE_IPV6 -g -Wall + OBJS = sockets.o tetrinet.o tetris.o tty.o + ### no xwin.o, because it isn't done yet + # OBJS = sockets.o tetrinet.o tetris.o tty.o xwin.o diff --git a/games/tetrinet/pkg-descr b/games/tetrinet/pkg-descr index 4f9950ffef9b..ad0f7d0670e4 100644 --- a/games/tetrinet/pkg-descr +++ b/games/tetrinet/pkg-descr @@ -5,4 +5,4 @@ You must be using at least a 50-line text display to run this version of Tetrinet. This is made by either typing 'vidcontrol 80x50' before you start tetrinet, or by adding 'allscreens_flags="80x50"' to /etc/rc.conf. -WWW: http://achurch.org/tetrinet/ +WWW: http://tetrinet.or.cz/ diff --git a/games/tetrinet/pkg-plist b/games/tetrinet/pkg-plist index 79c7cb1bdcd0..aa0c6953833b 100644 --- a/games/tetrinet/pkg-plist +++ b/games/tetrinet/pkg-plist @@ -1,5 +1,2 @@ bin/tetrinet bin/tetrinet-server -%%PORTDOCS%%share/doc/tetrinet/README -%%PORTDOCS%%share/doc/tetrinet/tetrinet.txt -%%PORTDOCS%%@dirrm share/doc/tetrinet |