diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2000-02-09 04:17:46 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2000-02-09 04:17:46 +0000 |
commit | 5762fdd762284610d74b84b591887513b57f4613 (patch) | |
tree | 55ec3f754255fff1c41986b690b869165460fbbc /games/netris | |
parent | 442343e099c0f8d83ee7aaf1c799648ca60842b8 (diff) | |
download | ports-5762fdd762284610d74b84b591887513b57f4613.tar.gz ports-5762fdd762284610d74b84b591887513b57f4613.zip |
- 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/Makefile | 11 | ||||
-rw-r--r-- | games/netris/pkg-descr | 2 |
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 |