aboutsummaryrefslogtreecommitdiff
path: root/games/xtris/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-24 01:35:42 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-24 01:35:42 +0000
commit553bbd3676334c507bb541dfd60e0e57e91b2510 (patch)
treeead4bb00af2961167a189aa10f5d3e7f5d2f23cb /games/xtris/Makefile
parentba3098780813b471aa111b11ca1a0b50d57a2aa1 (diff)
downloadports-553bbd3676334c507bb541dfd60e0e57e91b2510.tar.gz
ports-553bbd3676334c507bb541dfd60e0e57e91b2510.zip
Notes
Diffstat (limited to 'games/xtris/Makefile')
-rw-r--r--games/xtris/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/games/xtris/Makefile b/games/xtris/Makefile
index c08c3ac69d38..fc42e54e58ec 100644
--- a/games/xtris/Makefile
+++ b/games/xtris/Makefile
@@ -7,9 +7,14 @@
#
DISTNAME= xtris-1.15
-CATEGORIES= games
+CATEGORIES= games ipv6
MASTER_SITES= http://www.iagora.com/~espel/xtris/
+PATCH_SITES= ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/xtris/ \
+ http://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/xtris/
+PATCHFILES= xtris-1.15-v6-19991218.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sec@42.org
RESTRICTED= "Possible trademark infringement"
@@ -18,4 +23,10 @@ WRKSRC= ${WRKDIR}/xtris
USE_X_PREFIX= yes
MAN6= xtris.6 xtserv.6 xtbot.6
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+MAKE_ENV= IPV6_CFLAGS="-DINET6"
+.endif
+
+.include <bsd.port.post.mk>