1997-04-27 10:22:30 -04:00
|
|
|
# New ports collection makefile for: netris
|
|
|
|
# Date created: 1 August 1996
|
|
|
|
# Whom: desmo
|
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
1997-04-27 10:22:30 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:28:40 -04:00
|
|
|
PORTNAME= netris
|
|
|
|
PORTVERSION= 0.5
|
2000-01-22 14:05:57 -05:00
|
|
|
CATEGORIES= games ipv6
|
1997-04-27 10:22:30 -04:00
|
|
|
MASTER_SITES= ftp://ftp.netris.org/pub/netris/
|
|
|
|
|
2000-01-22 14:05:57 -05:00
|
|
|
PATCH_SITES= ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/ \
|
|
|
|
http://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/
|
|
|
|
PATCHFILES= netris-0.5-v6-19991206a.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
1997-04-27 10:22:30 -04:00
|
|
|
MAINTAINER= desmo@bandwidth.org
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
2000-02-08 23:17:46 -05:00
|
|
|
CONFIGURE_ARGS= --cc '${CC}' --copt '${CFLAGS}'
|
1997-04-27 10:22:30 -04:00
|
|
|
MAN1= netris.1
|
|
|
|
|
2000-02-08 23:17:46 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
1997-04-27 10:22:30 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
|
|
|
|
|
2000-02-08 23:17:46 -05:00
|
|
|
.include <bsd.port.post.mk>
|