summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/netris/Makefile18
-rw-r--r--games/netris/files/md53
2 files changed, 19 insertions, 2 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
index 2faaf526af5..405fe25f8e5 100644
--- a/games/netris/Makefile
+++ b/games/netris/Makefile
@@ -1,10 +1,15 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/10/28 23:33:14 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2000/12/31 05:18:07 hubertf Exp $
#
DISTNAME= netris-0.5
CATEGORIES= games
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= uebs@gmx.at
HOMEPAGE= http://www.netris.org/
@@ -12,6 +17,17 @@ USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
+BUILD_DEFS+= USE_INET6
+
+# to get USE_INET6
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/netris ${PREFIX}/bin
@ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netris
diff --git a/games/netris/files/md5 b/games/netris/files/md5
index 45f70f49023..4f149c228b3 100644
--- a/games/netris/files/md5
+++ b/games/netris/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.1.1.1 2000/10/28 23:33:14 wiz Exp $
+$NetBSD: md5,v 1.2 2000/12/31 05:18:07 hubertf Exp $
MD5 (netris-0.5.tar.gz) = a30c950fd4e4779a26f856bc7cd1aaff
+MD5 (netris-0.5-v6-19991206a.diff.gz) = 2fa50a7c9a55e8da531e7ae9bb4e1e85