summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /parallel/pvm3
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-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/pvm3')
-rw-r--r--parallel/pvm3/Makefile6
-rw-r--r--parallel/pvm3/pkg/MESSAGE11
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.
+
+======================================================================