Subject: pkg/12276: Corrections for games/angband-{tty,x11}
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 02/23/2001 20:05:54
>Number:         12276
>Category:       pkg
>Synopsis:       Corrections for games/angband-{tty,x11}
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 23 12:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5
>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:
	We should use ${INSTALL_DATA_DIR} and ${INSTALL_PROGRAM} instead of
	plain install... patch below.
	
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/angband-tty/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2001/02/16 15:10:42	1.7
+++ Makefile	2001/02/23 20:00:25
@@ -22,13 +22,13 @@
 SPOILERFILE=		angband-spoilers.tar.gz
 
 do-install:
-	${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
+	${INSTALL_DATA_DIR} ${PREFIX}/share/angband
 	${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband
 	cd ${PREFIX}/share/angband/help && \
 		${PAX} -rzf ${DISTDIR}/${SPOILERFILE}
 	${CHOWN} -R bin:games ${PREFIX}/share/angband
 	${CHMOD} -R 0664 ${PREFIX}/share/angband/*
 	(cd ${PREFIX}/share/angband && ${CHMOD} 0775 apex bone data edit file help info save user xtra)
-	${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
+	${INSTALL_PROGRAM} -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/angband-x11/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2001/02/16 15:10:42	1.7
+++ Makefile	2001/02/23 20:02:30
@@ -26,13 +26,13 @@
 SPOILERFILE=		angband-spoilers.tar.gz
 
 do-install:
-	${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
+	${INSTALL_DATA_DIR} -o bin -g games -m 0775 ${PREFIX}/share/angband
 	${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband
 	cd ${PREFIX}/share/angband/help && \
 		${PAX} -rzf ${DISTDIR}/${SPOILERFILE}
 	${CHOWN} -R bin:games ${PREFIX}/share/angband
 	${CHMOD} -R 0664 ${PREFIX}/share/angband/*
 	(cd ${PREFIX}/share/angband && ${CHMOD} 0775 apex bone data edit file help info save user xtra)
-	${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
+	${INSTALL_PROGRAM} -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"
	
>Release-Note:
>Audit-Trail:
>Unformatted: