Subject: pkg/12277: Corrections for games/battalion
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 02/23/2001 20:10:23
>Number: 12277
>Category: pkg
>Synopsis: Corrections for games/battalion
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Feb 23 12:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: <NetBSD-current source date>
>Organization:
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */
>Environment:
System: NetBSD cappi 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CAPPI) #1: Thu Feb 22 23:42:53 CET 2001 hv@cappi:/usr/src/sys/arch/i386/compile/CAPPI i386
>Description:
Use ${INSTALL_PROGRAM and ${INSTALL_DATA_DIR} instead of ${INSTALL} and ${MKDIR}.
Idea ok'd by Hubert.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/battalion/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile 2001/02/16 15:10:43 1.17
+++ Makefile 2001/02/23 20:07:22
@@ -19,14 +19,14 @@
USE_MESA= yes
do-install:
- ${INSTALL} -c -s -o root -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -o root -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin
cd ${WRKDIR} && \
${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | ${GTAR} xmf -
- ${MKDIR} ${PREFIX}/share/battalion/HELP
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/DATA
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/HELP
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/DATA
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/* ${PREFIX}/share/battalion/battalion.data/DATA
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/* ${PREFIX}/share/battalion/battalion.data/MUSIC
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/* ${PREFIX}/share/battalion/battalion.data/SOUNDS
>Release-Note:
>Audit-Trail:
>Unformatted: