2003-04-10 03:28:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/04/10 01:28:17 grant Exp $
|
1999-02-07 03:06:18 +01:00
|
|
|
#
|
|
|
|
|
1999-02-10 16:09:56 +01:00
|
|
|
DISTNAME= nighthawk-2.1
|
|
|
|
WRKSRC= ${WRKDIR}/nighthawk
|
|
|
|
CATEGORIES= x11 games
|
2001-07-09 02:08:46 +02:00
|
|
|
MASTER_SITES= http://jsno.downunder.net.au/proj_linux/nighthawk.html
|
1999-02-10 16:09:56 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-01-02 04:14:03 +01:00
|
|
|
|
1999-02-10 16:09:56 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= nighthawk-2.1a.patch
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-02-07 03:06:18 +01:00
|
|
|
|
1999-02-10 16:09:56 +01:00
|
|
|
MAINTAINER= hubertf@netbsd.org
|
|
|
|
HOMEPAGE= http://www.downunder.net.au/~jsno/
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= C=64 Paradroid clone
|
1999-02-07 03:06:18 +01:00
|
|
|
|
2002-10-21 02:53:26 +02:00
|
|
|
USE_BUILDLINK2= YES
|
1999-02-10 16:09:56 +01:00
|
|
|
USE_GMAKE= YES
|
|
|
|
USE_X11= YES
|
1999-02-07 03:06:18 +01:00
|
|
|
|
|
|
|
post-build:
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC}/src_sound && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} nighthawk_sound
|
1999-02-07 03:06:18 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-10-18 17:25:36 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nighthawk
|
1999-02-07 03:06:18 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nighthawk
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nighthawk/data
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC}/data && ${PAX} -rw . ${PREFIX}/share/nighthawk/data
|
1999-04-23 14:33:19 +02:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/nighthawk
|
2001-05-19 05:56:23 +02:00
|
|
|
${FIND} ${PREFIX}/share/nighthawk -type f -print | ${XARGS} ${CHMOD} 444
|
|
|
|
${FIND} ${PREFIX}/share/nighthawk -type d -print | ${XARGS} ${CHMOD} 555
|
1999-02-07 03:06:18 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nighthawk ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src_sound/nighthawk_sound ${PREFIX}/bin
|
|
|
|
${CHGRP} games ${PREFIX}/bin/nighthawk
|
|
|
|
${CHMOD} g+s ${PREFIX}/bin/nighthawk
|
2000-10-18 17:25:36 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/nighthawk/README
|
2001-12-05 16:00:44 +01:00
|
|
|
${INSTALL} -o ${ROOT_USER} -g games -m 664 /dev/null /var/games/nighthawk.scores
|
1999-02-07 03:06:18 +01:00
|
|
|
|
2002-10-21 02:53:26 +02:00
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
1999-02-07 03:06:18 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|