diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /parallel/pvm3 | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.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/pvm3')
-rw-r--r-- | parallel/pvm3/Makefile | 6 | ||||
-rw-r--r-- | parallel/pvm3/pkg/MESSAGE | 11 |
2 files changed, 8 insertions, 9 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile index 2ee60bf7e0e..e07d888c5e1 100644 --- a/parallel/pvm3/Makefile +++ b/parallel/pvm3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2000/10/21 22:53:35 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2001/01/29 11:34:39 wiz Exp $ DISTNAME= pvm3.4.3 PKGNAME= pvm-3.4.3 @@ -23,14 +23,10 @@ MAKE_ENV+= PVM_ROOT=${WRKSRC} MAKE_ENV+= PVM_ARCH= MAKE_ENV+= SSH=${SSH} ALL_TARGET= all install -MESSAGE_FILE= ${WRKDIR}/MESSAGE PLIST_SRC= ${WRKDIR}/PLIST-src PVM_DIR= ${PREFIX}/pvm3 -pre-install: - ${SED} "s_@PREFIX@_${PREFIX}_g" < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - do-install: PVM_ARCH=`${PVM_ROOT}/lib/pvmgetarch` ; export PVM_ARCH ;\ ${INSTALL_PROGRAM_DIR} ${PVM_DIR}/bin/$$PVM_ARCH ;\ diff --git a/parallel/pvm3/pkg/MESSAGE b/parallel/pvm3/pkg/MESSAGE index 1bd5c533656..a92e75ac5bf 100644 --- a/parallel/pvm3/pkg/MESSAGE +++ b/parallel/pvm3/pkg/MESSAGE @@ -1,11 +1,14 @@ -$NetBSD: MESSAGE,v 1.4 2000/09/03 13:02:21 wiz Exp $ +====================================================================== +$NetBSD: MESSAGE,v 1.5 2001/01/29 11:34:39 wiz Exp $ -You must set the environment variable PVM_ROOT to @PREFIX@/pvm3 in your +You must set the environment variable PVM_ROOT to ${PREFIX}/pvm3 in your startup files (.cshrc, .profile) on all machines in the cluster. In addition, you may want to add the lines contained in -@PREFIX@/pvm3/lib/cshrc.stub to the system .cshrc. +${PREFIX}/pvm3/lib/cshrc.stub to the system .cshrc. You can specify each host's run path in your pvmhosts file like so: -hostname ep=@PREFIX@/bin +hostname ep=${PREFIX}/bin This allows you to point different architecture types to various sets of shared or local binaries. See pvmd(1) for more information. + +====================================================================== |