diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /parallel/glunix | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz |
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
Diffstat (limited to 'parallel/glunix')
-rw-r--r-- | parallel/glunix/Makefile | 6 | ||||
-rw-r--r-- | parallel/glunix/pkg/MESSAGE | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile index 35ca9d1b4f5..ce8b334fdc9 100644 --- a/parallel/glunix/Makefile +++ b/parallel/glunix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2000/10/21 22:52:37 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2001/01/29 11:34:39 wiz Exp $ DISTNAME= glunix-release-1-0a PKGNAME= glunix-1.0a @@ -23,9 +23,8 @@ IS_INTERACTIVE= yes NO_MTREE= yes NO_WRKSUBDIR= yes -MESSAGE_FILE= ${WRKDIR}/MESSAGE - NOW_ROOT= ${LOCALBASE}/now +MESSAGE_SUBST+= NOW_ROOT=${NOW_ROOT} .if (${MACHINE} == "i386") FLAGS= "-m486 -DL_ENDIAN" @@ -56,7 +55,6 @@ pre-configure: fi pre-install: - ${SED} -e 's|\$${NOW_ROOT}|${NOW_ROOT}|g' ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} @${ECHO} "updating /etc/shells"; ${CP} /etc/shells /etc/shells.bak; ( ${GREP} -v ${NOW_ROOT}/bin/glush /etc/shells.bak; \ diff --git a/parallel/glunix/pkg/MESSAGE b/parallel/glunix/pkg/MESSAGE index f2b3b580739..4cf2086aa9d 100644 --- a/parallel/glunix/pkg/MESSAGE +++ b/parallel/glunix/pkg/MESSAGE @@ -1,3 +1,6 @@ +====================================================================== +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:39 wiz Exp $ + QUICK START GUIDE: Change your directory to the now installation base, eg: @@ -28,3 +31,5 @@ Here is a sample run_glunix command: Once the run_glunix command has successfully completed, you can run "glustat" to find out how many nodes came up. + +====================================================================== |