Subject: Re: bsd.pkg.mk proposal 4: uniform sed substitution
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 05/27/1999 10:33:58
On Thu, 27 May 1999, Hubert Feyrer wrote:

: > - A variable SED_EXPAND_VARS lists all variables which must be expanded when
: >   generating PLIST, DESCR, or MESSAGE.  The expansion string is of the
: >   form ${VARNAME}, but each variable is listed plain in SED_EXPAND_VARS.
: 
: Do I understand this right:
: Each of PLIST, DESCR and MESSAGE will then be subject to variable
: substitution, and I don't have to do anything special (any more) for DESCR
: and MESSAGE files? 

That's correct.

: Maybe add INSTALL and DEINSTALL, too.

I'm hesitant to do this unless the format of substitution is (uniformly)
changed to something other than ${VARNAME}.  Perhaps @VARNAME@?

: > - The new variable MACHINE_GNU_TARGET defaults to
: >     ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}
: >   and is passed to GNU_CONFIGURE pkgs as "--host=${MACHINE_GNU_TARGET}".
: 
: Um, is this used else where? If not, I don't see much of a win in
: introducing that. 

It's intended as shorthand, for places like (uhm) a rewritten PLIST.  It
makes more visual sense there than the whole LOWER_ component list spelled 
out.  :)

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)