summaryrefslogtreecommitdiff
path: root/games/netris
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-09 04:17:46 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-09 04:17:46 +0000
commit5762fdd762284610d74b84b591887513b57f4613 (patch)
tree55ec3f754255fff1c41986b690b869165460fbbc /games/netris
parentSimplify IPv6 checking. (diff)
- Explicitly enabling/disabling IPv6 by ${OS_VERSION}
- add WWW on DESCR Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=25604
Diffstat (limited to 'games/netris')
-rw-r--r--games/netris/Makefile11
-rw-r--r--games/netris/pkg-descr2
2 files changed, 12 insertions, 1 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
index 55cd899e87b4..e6c5ac6d6662 100644
--- a/games/netris/Makefile
+++ b/games/netris/Makefile
@@ -19,9 +19,18 @@ MAINTAINER= desmo@bandwidth.org
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS= --cc '${CC}' --copt '${CFLAGS}'
MAN1= netris.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-install:
${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/netris/pkg-descr b/games/netris/pkg-descr
index af0349e52def..cd7bae23ed04 100644
--- a/games/netris/pkg-descr
+++ b/games/netris/pkg-descr
@@ -1,5 +1,7 @@
This is netris, a networked version of t*tris.
It allows head to head 2 player games via a network.
+WWW: http://www.netris.org/
+
-Ken Monville
desmo@bandwidth.org