diff options
author | wiz <wiz@pkgsrc.org> | 2002-11-23 22:47:02 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-11-23 22:47:02 +0000 |
commit | b26517889d3c3d15f43deff19f73ce61af4d57cb (patch) | |
tree | ac84a70470e90c51d4748936164bd4ad3e361c16 /pkgtools/pkg_tarup/Makefile | |
parent | 05e71b817f70e59c156225cf4e37e2c8541da19b (diff) | |
download | pkgsrc-b26517889d3c3d15f43deff19f73ce61af4d57cb.tar.gz |
Some cleanups by Greg A. Woods in PR 18710.
Diffstat (limited to 'pkgtools/pkg_tarup/Makefile')
-rw-r--r-- | pkgtools/pkg_tarup/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/pkgtools/pkg_tarup/Makefile b/pkgtools/pkg_tarup/Makefile index 7f12c5f4783..d25993983b7 100644 --- a/pkgtools/pkg_tarup/Makefile +++ b/pkgtools/pkg_tarup/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/10/14 15:28:43 hubertf Exp $ +# $NetBSD: Makefile,v 1.8 2002/11/23 22:47:02 wiz Exp $ DISTNAME= pkg_tarup-1.2 CATEGORIES= pkgtools @@ -15,19 +15,18 @@ NO_PATCH= yes NO_BUILD= yes NO_MTREE= yes -# Set SCRIPT_SUBST to substitute "${variable}" to "value" in MESSAGE -SCRIPT_SUBST+= AWK=${AWK} \ - ECHO=${ECHO} \ - ID=${ID} \ - PKG_DBDIR=${PKG_DBDIR} \ - PKG_SUFX=${PKG_SUFX} \ - PREFIX=${PREFIX} \ - PKG_TOOLS_BIN=${PKG_TOOLS_BIN} \ - SH=${SH} \ - SU=${SU} - -# XXX this should probably use the @VAR@ form instead of ${VAR}... -SCRIPT_SUBST_SED= ${SCRIPT_SUBST:S/=/}!/:S/$/!g/:S/^/ -e s!\\\${/} +# Set SCRIPT_SUBST to substitute "@VARIABLE@" with "value" +SCRIPT_SUBST+= AWK=${AWK:Q} \ + ECHO=${ECHO:Q} \ + ID=${ID:Q} \ + PKG_DBDIR=${PKG_DBDIR:Q} \ + PKG_SUFX=${PKG_SUFX:Q} \ + PREFIX=${PREFIX:Q} \ + PKG_TOOLS_BIN=${PKG_TOOLS_BIN:Q} \ + SH=${SH:Q} \ + SU=${SU:Q} + +SCRIPT_SUBST_SED= ${SCRIPT_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} do-configure: ${SED} ${SCRIPT_SUBST_SED} \ |