aboutsummaryrefslogtreecommitdiffstats
path: root/games/netris
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-23 03:05:57 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-23 03:05:57 +0800
commit35f17239c4efb018e96f46dd1fc0ecc02d1bc37a (patch)
tree00ff75279f948b840da9f6b76e9974562ca0299e /games/netris
parent3cd2d13b503f0e2a19318f1e59e6428b4a26e4be (diff)
downloadfreebsd-ports-gnome-35f17239c4efb018e96f46dd1fc0ecc02d1bc37a.tar.gz
freebsd-ports-gnome-35f17239c4efb018e96f46dd1fc0ecc02d1bc37a.tar.zst
freebsd-ports-gnome-35f17239c4efb018e96f46dd1fc0ecc02d1bc37a.zip
Support IPv6.
No response from: maintainer
Diffstat (limited to 'games/netris')
-rw-r--r--games/netris/Makefile7
-rw-r--r--games/netris/distinfo1
-rw-r--r--games/netris/files/patch-aa38
3 files changed, 23 insertions, 23 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
index bf9138c8d440..55cd899e87b4 100644
--- a/games/netris/Makefile
+++ b/games/netris/Makefile
@@ -7,9 +7,14 @@
#
DISTNAME= netris-0.5
-CATEGORIES= games
+CATEGORIES= games ipv6
MASTER_SITES= ftp://ftp.netris.org/pub/netris/
+PATCH_SITES= ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/ \
+ http://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/
+PATCHFILES= netris-0.5-v6-19991206a.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= desmo@bandwidth.org
HAS_CONFIGURE= yes
diff --git a/games/netris/distinfo b/games/netris/distinfo
index f9a93b2fc45d..90b34d5dd6aa 100644
--- a/games/netris/distinfo
+++ b/games/netris/distinfo
@@ -1 +1,2 @@
MD5 (netris-0.5.tar.gz) = a30c950fd4e4779a26f856bc7cd1aaff
+MD5 (netris-0.5-v6-19991206a.diff.gz) = 2fa50a7c9a55e8da531e7ae9bb4e1e85
diff --git a/games/netris/files/patch-aa b/games/netris/files/patch-aa
index cb38bdfa1f7c..3b58aff7a858 100644
--- a/games/netris/files/patch-aa
+++ b/games/netris/files/patch-aa
@@ -1,26 +1,20 @@
---- Configure.orig Sat Feb 10 04:41:40 1996
-+++ Configure Sat Jan 9 18:33:14 1999
-@@ -159,9 +159,12 @@
- PROG = netris
- HEADERS = netris.h
+--- Configure.orig Mon Dec 20 14:58:16 1999
++++ Configure Mon Dec 20 15:00:24 1999
+@@ -85,7 +85,7 @@
+ echo "Checking for libraries"
+ echo 'main(){}' > test.c
+ LFLAGS=""
+-for lib in -lcurses -lncurses; do
++for lib in -lncurses -lcurses; do
+ if $CC $CFLAGS $LEXTRA test.c $lib > /dev/null 2>&1; then
+ LFLAGS="$lib"
+ fi
+@@ -285,7 +285,7 @@
-+PREFIX?=/usr/local
- SRCS = -SRCS-
- OBJS = -OBJS-
- DISTFILES = -DISTFILES-
-+DESTDIR= $(PREFIX)/bin
-+MANDIR= $(PREFIX)/man
-
- all: Makefile config.h proto.h $(PROG) sr
-
-@@ -217,6 +220,10 @@
-
- cleandir: clean
- rm -f .depend Makefile config.h
-+
-+install:
-+ install -c -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
-+ install -c -o bin -g bin -s -m 755 sr $(DESTDIR)/sample-robot
+ install:
+ $(INSTALL) -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+- $(INSTALL) -o bin -g bin -s -m 755 sr $(DESTDIR)
++ $(INSTALL) -o bin -g bin -s -m 755 sr $(DESTDIR)/sample-robot
##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
END