2001-04-07 07:30:42 +02:00
|
|
|
# New ports collection makefile for: nighthawk
|
|
|
|
# Date created: Apr 4, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nighthawk
|
|
|
|
PORTVERSION= 2.2
|
|
|
|
CATEGORIES= games
|
2003-02-10 14:26:15 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
|
|
http://lothar.arafura.net.au/~jsno/rel/unix_projects/
|
2001-04-07 07:30:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= games/arcade
|
|
|
|
EXTRACT_SUFX= -1.tar.gz
|
|
|
|
|
2001-06-08 07:36:46 +02:00
|
|
|
MAINTAINER= markp@FreeBSD.org
|
2003-02-22 18:14:31 +01:00
|
|
|
COMMENT= An X11 shoot-'em up which requires some lateral thinking
|
2001-04-07 07:30:42 +02:00
|
|
|
|
2003-02-10 14:26:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-scores=/var/games/nighthawk.scores --enable-sound
|
|
|
|
USE_REINPLACE= yes
|
2001-04-07 07:30:42 +02:00
|
|
|
USE_X_PREFIX= yes
|
2001-04-15 17:12:43 +02:00
|
|
|
USE_XPM= yes
|
2001-04-07 07:30:42 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN6= nighthawk.6
|
|
|
|
|
2002-04-06 11:23:07 +02:00
|
|
|
post-patch:
|
2003-02-10 14:26:15 +01:00
|
|
|
${REINPLACE_CMD} "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \
|
2002-04-06 11:23:07 +02:00
|
|
|
${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \
|
2003-02-10 14:26:15 +01:00
|
|
|
${WRKSRC}/src_sound/funkload.c ${WRKSRC}/src_sound/dsp_mixxer.c
|
2002-04-06 11:23:07 +02:00
|
|
|
|
2001-04-07 07:30:42 +02:00
|
|
|
post-install:
|
2001-06-01 08:05:18 +02:00
|
|
|
${CHOWN} root:games ${PREFIX}/bin/nighthawk
|
2001-04-07 07:30:42 +02:00
|
|
|
${CHMOD} g+s ${PREFIX}/bin/nighthawk
|
|
|
|
${SH} pkg-install ${PORTNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|