pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/cddbd Replaced direct use of sh with ${SH}. Adde...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2840575e6e37
branches:  trunk
changeset: 494924:2840575e6e37
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 31 21:53:20 2005 +0000

description:
Replaced direct use of sh with ${SH}. Added proper quoting of variables.

diffstat:

 audio/cddbd/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 33d1b76d0fe3 -r 2840575e6e37 audio/cddbd/Makefile
--- a/audio/cddbd/Makefile      Tue May 31 21:50:56 2005 +0000
+++ b/audio/cddbd/Makefile      Tue May 31 21:53:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/07/02 11:27:44 agc Exp $
+# $NetBSD: Makefile,v 1.7 2005/05/31 21:53:20 rillig Exp $
 #
 
 DISTNAME=      cddbd-1.3.1
@@ -19,11 +19,13 @@
 MAKEFILE=      makefile
 
 do-configure:
-       @( cd ${WRKSRC} && BASEDIR=${PREFIX}/share sh config.sh )
+       cd ${WRKSRC};                                                   \
+       ${SETENV} BASEDIR=${PREFIX:Q}/share ${SH} config.sh
 
 do-install:
-       @( cd ${WRKSRC} && INSTALL=${INSTALL} BINDIR=${PREFIX}/bin \
-         BINPERM=${BINMODE} BINOWNER=${BINOWN} BINGROUP=${BINGRP} \
-         sh install.sh )
+       cd ${WRKSRC};                                                   \
+       ${SETENV} INSTALL=${INSTALL:Q} BINDIR=${PREFIX:Q}/bin           \
+         BINPERM=${BINMODE:Q} BINOWNER=${BINOWN:Q}                     \
+         BINGROUP=${BINGRP:Q} ${SH} install.sh
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index