pkgsrc/games/nighthawk/Makefile

43 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2003/04/10 01:28:17 grant Exp $
1999-02-07 03:06:18 +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
EXTRACT_SUFX= .tgz
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= nighthawk-2.1a.patch
PATCH_DIST_STRIP= -p1
1999-02-07 03:06:18 +01:00
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.downunder.net.au/~jsno/
COMMENT= C=64 Paradroid clone
1999-02-07 03:06:18 +01:00
USE_BUILDLINK2= YES
USE_GMAKE= YES
USE_X11= YES
1999-02-07 03:06:18 +01:00
post-build:
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
cd ${WRKSRC}/data && ${PAX} -rw . ${PREFIX}/share/nighthawk/data
1999-04-23 14:33:19 +02:00
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/nighthawk
${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
${INSTALL} -o ${ROOT_USER} -g games -m 664 /dev/null /var/games/nighthawk.scores
1999-02-07 03:06:18 +01:00
.include "../../graphics/xpm/buildlink2.mk"
1999-02-07 03:06:18 +01:00
.include "../../mk/bsd.pkg.mk"