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