1997-04-27 14:22:30 +00:00
|
|
|
# New ports collection makefile for: netris
|
1999-12-24 04:35:45 +00:00
|
|
|
# Version required: 0.5
|
1997-04-27 14:22:30 +00:00
|
|
|
# Date created: 1 August 1996
|
|
|
|
# Whom: desmo
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1997-04-27 14:22:30 +00:00
|
|
|
#
|
|
|
|
|
1999-12-24 04:35:45 +00:00
|
|
|
DISTNAME= netris-0.5
|
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/
|
|
|
|
|
2000-01-22 19:05:57 +00: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 14:22:30 +00:00
|
|
|
MAINTAINER= desmo@bandwidth.org
|
|
|
|
|
|
|
|
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>
|