1997-04-27 14:22:30 +00:00
|
|
|
# New ports collection makefile for: netris
|
|
|
|
# Date created: 1 August 1996
|
|
|
|
# Whom: desmo
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1997-04-27 14:22:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= netris
|
2006-04-17 18:32:38 +00:00
|
|
|
PORTVERSION= 0.52
|
2000-01-22 19:05:57 +00:00
|
|
|
CATEGORIES= games ipv6
|
1997-04-27 14:22:30 +00:00
|
|
|
MASTER_SITES= ftp://ftp.netris.org/pub/netris/
|
|
|
|
|
2005-12-26 00:37:00 +00:00
|
|
|
PATCH_SITES= http://debian.lcs.mit.edu/pub/usagi/ftp.v6.linux.or.jp/IPv6-2/netris/
|
2000-01-22 19:05:57 +00:00
|
|
|
PATCHFILES= netris-0.5-v6-19991206a.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2006-04-17 18:32:38 +00:00
|
|
|
MAINTAINER= gavin.atkinson@ury.york.ac.uk
|
2005-12-14 21:25:58 +00:00
|
|
|
COMMENT= A network head to head version of T*tris
|
1997-04-27 14:22:30 +00:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
2000-02-09 04:17:46 +00:00
|
|
|
CONFIGURE_ARGS= --cc '${CC}' --copt '${CFLAGS}'
|
1997-04-27 14:22:30 +00:00
|
|
|
MAN1= netris.1
|
|
|
|
|
2000-02-09 04:17:46 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
1997-04-27 14:22:30 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
|
|
|
|
|
2000-02-09 04:17:46 +00:00
|
|
|
.include <bsd.port.post.mk>
|