pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/nighthawk Fixed pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bef9e345e009
branches:  trunk
changeset: 560552:bef9e345e009
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jun 14 20:31:11 2009 +0000

description:
Fixed pkglint warnings.

diffstat:

 games/nighthawk/Makefile |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 474c169d9b07 -r bef9e345e009 games/nighthawk/Makefile
--- a/games/nighthawk/Makefile  Sun Jun 14 20:26:35 2009 +0000
+++ b/games/nighthawk/Makefile  Sun Jun 14 20:31:11 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2008/09/25 14:02:09 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2009/06/14 20:31:11 rillig Exp $
 #
 
 DISTNAME=              nighthawk-2.1
@@ -21,7 +21,7 @@
 USE_TOOLS+=            gmake pax
 USE_LANGUAGES=         c c++
 
-MAKE_ENV+=             OSTYPE=${OPSYS:Q}
+MAKE_ENV+=             OSTYPE=${OPSYS}
 CPPFLAGS+=             -DPREFIX="\"${PREFIX}\"" \
                        -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" \
                        -DVARBASE="\"${VARBASE}\""
@@ -30,8 +30,9 @@
 CONF_FILES_PERMS=      /dev/null ${VARBASE}/games/nighthawk.scores     \
                        ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
 SPECIAL_PERMS=         bin/nighthawk ${SETGID_GAMES_PERMS}
+BUILD_DEFS+=           VARBASE GAMEDATAMODE
 
-INSTALLATION_DIRS=     bin
+AUTO_MKDIRS=           yes
 MAKE_DIRS=             ${VARBASE}/games
 
 .include "../../x11/libXpm/buildlink3.mk"
@@ -42,9 +43,6 @@
                ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} nighthawk_sound
 
 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/nighthawk
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/nighthawk
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/nighthawk/data
        cd ${WRKSRC}/data && pax -rw . ${DESTDIR}${PREFIX}/share/nighthawk/data
        ${FIND} ${DESTDIR}${PREFIX}/share/nighthawk -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
        ${FIND} ${DESTDIR}${PREFIX}/share/nighthawk -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}



Home | Main Index | Thread Index | Old Index