summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorwiz <wiz>2000-09-03 13:02:20 +0000
committerwiz <wiz>2000-09-03 13:02:20 +0000
commit01df6b08f57a8faa9845e3c01d245d8a8775e93b (patch)
tree238b1b5e24cbb10f46da37377ae3f5075bf74226 /parallel/pvm3
parent4692bd803be7d551c296f0d96b733f735b729c28 (diff)
downloadpkgsrc-01df6b08f57a8faa9845e3c01d245d8a8775e93b.tar.gz
use actual ${PREFIX} instead of /usr/pkg
Diffstat (limited to 'parallel/pvm3')
-rw-r--r--parallel/pvm3/Makefile6
-rw-r--r--parallel/pvm3/pkg/MESSAGE10
2 files changed, 11 insertions, 5 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile
index cfd201959d2..f169b08316d 100644
--- a/parallel/pvm3/Makefile
+++ b/parallel/pvm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/08/23 14:28:17 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.11 2000/09/03 13:02:20 wiz Exp $
DISTNAME= pvm3.4.3
PKGNAME= pvm-3.4.3
@@ -17,10 +17,14 @@ WRKSRC= ${WRKDIR}/pvm3
MAKE_ENV+= PVM_ROOT=${WRKSRC}
MAKE_ENV+= PVM_ARCH=
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 a74155b2724..1bd5c533656 100644
--- a/parallel/pvm3/pkg/MESSAGE
+++ b/parallel/pvm3/pkg/MESSAGE
@@ -1,9 +1,11 @@
-You must set the environment variable PVM_ROOT to ${PREFIX}/pvm3 in your
+$NetBSD: MESSAGE,v 1.4 2000/09/03 13:02:21 wiz Exp $
+
+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=/usr/pkg/bin
-This allows you to point different achitecture types to various sets of
+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.