summaryrefslogtreecommitdiffstats
path: root/games/tetrinet
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-07 09:00:34 +0000
committeredwin <edwin@FreeBSD.org>2004-01-07 09:00:34 +0000
commit3419f43e5221b2d552355c00385873313b937dae (patch)
treebcf04729b88701c7233bf0639774b2773761f21c /games/tetrinet
parent7f262138c70137e1ad96d2ff41755723fe110bd0 (diff)
downloadFreeBSD-ports-3419f43e5221b2d552355c00385873313b937dae.zip
FreeBSD-ports-3419f43e5221b2d552355c00385873313b937dae.tar.gz
Update to version 0.11
Use PORTDICS Fix URLs Submitted by: edwin@mavetju.org
Diffstat (limited to 'games/tetrinet')
-rw-r--r--games/tetrinet/Makefile7
-rw-r--r--games/tetrinet/distinfo2
-rw-r--r--games/tetrinet/files/patch-ab22
-rw-r--r--games/tetrinet/files/patch-ad15
-rw-r--r--games/tetrinet/pkg-descr2
-rw-r--r--games/tetrinet/pkg-plist3
6 files changed, 14 insertions, 37 deletions
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index 1387b513..9e868d1 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 29b6a34..9adcab6 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 644540a..0000000
--- 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 a2183a9..7f5434c 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 4f9950f..ad0f7d0 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 79c7cb1..aa0c695 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
OpenPOWER on IntegriCloud