From 01df6b08f57a8faa9845e3c01d245d8a8775e93b Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 3 Sep 2000 13:02:20 +0000 Subject: use actual ${PREFIX} instead of /usr/pkg --- parallel/pvm3/Makefile | 6 +++++- parallel/pvm3/pkg/MESSAGE | 10 ++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'parallel/pvm3') 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. -- cgit v1.2.3