summaryrefslogtreecommitdiff
path: root/games/netris
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-22 19:05:57 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-22 19:05:57 +0000
commit8cd7b32a825f53fef818924f3dd3a0492f97d018 (patch)
treeff80d7ec6b8ef2cd370f427e6da7a0c4fdd89466 /games/netris
parentAdd 'ipv6' on CATEGORIES. (diff)
Support IPv6.
No response from: maintainer
Notes
Notes: svn path=/head/; revision=24944
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