# New ports collection makefile for:	nighthawk
# Date created:				Apr 4, 2001
# Whom:					Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD: ports/games/nighthawk/Makefile,v 1.2 2001/04/15 15:12:43 kevlo Exp $
#

PORTNAME=	nighthawk
PORTVERSION=	2.2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SUNSITE} http://jsno.downunder.net.au/rel/unix_projects/
MASTER_SITE_SUBDIR=	games/arcade
EXTRACT_SUFX=	-1.tar.gz

MAINTAINER=	mark@kyne.com.au

USE_X_PREFIX=	yes
USE_XPM=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-scores=/var/games/nighthawk.scores --enable-sound
MAN6=		nighthawk.6

post-install:
	${CHOWN} root.games ${PREFIX}/bin/nighthawk
	${CHMOD} g+s ${PREFIX}/bin/nighthawk
	${SH} pkg-install ${PORTNAME} POST-INSTALL

.include <bsd.port.mk>
