Permalink
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (55 sloc) 2.38 KB
PortSystem 1.0
name pvm
version 3.4.6
categories science parallel net
platforms darwin
maintainers nomaintainer
license {BSD GPL}
description pvm permits a network of computers to act as a cluster
long_description PVM (Parallel Virtual Machine) is a software package that \
permits a heterogeneous collection of Unix and/or Windows \
computers hooked together by a network to be used as a single \
large parallel computer. Thus large computational problems can \
be solved more cost effectively by using the aggregate power \
and memory of many computers.
homepage http://www.csm.ornl.gov/pvm/
master_sites http://www.netlib.org/pvm3/ \
ftp://ftp.netlib.org/pvm3/ \
ftp://ftp.chg.ru/pub/prog/parallel/pvm3/
distfiles ${name}${version}.tgz
checksums md5 7b5f0c80ea50b6b4b10b6128e197747b \
sha1 dc22bb3a592bb37ab86f0de8d867f67949d12e91 \
rmd160 fa38e35d1d7a8e31b9c2baeb486a7371d6162378
patchfiles patch-console-cons.c patch-src-global.h patch-src-lpvmgen.c \
patch-src-pvmcruft.c patch-src-pvmd.c patch-tracer-trcutil.c \
patch-DARWIN.def
set pvm_root ${prefix}/lib/pvm
set pvm_droot ${destroot}${pvm_root}
set pvm_arch DARWIN
worksrcdir pvm3
use_configure no
build.env PVM_ROOT=${worksrcpath} \
CC=${configure.cc} \
CPP=${configure.cpp}
destroot {
xinstall -m 755 -d ${pvm_droot}/lib/${pvm_arch}/ ${pvm_droot}/conf
file copy ${worksrcpath}/bin ${pvm_droot}
xinstall -m 755 -W ${worksrcpath}/lib/${pvm_arch}/ pvm pvmd3 pvmgs \
${pvm_droot}/lib/${pvm_arch}/
xinstall -m 755 -W ${worksrcpath}/lib pvm pvmd pvmgetarch aimk \
${pvm_droot}/lib
system "cd ${destroot}${prefix}/bin && ln -sf ${pvm_root}/lib/pvm && \
ln -sf ${pvm_root}/lib/pvmd && ln -sf ${pvm_root}/lib/aimk"
xinstall -m 644 -W ${worksrcpath}/lib/${pvm_arch}/ libfpvm3.a libgpvm3.a \
libpvm3.a libpvmtrc.a ${destroot}${prefix}/lib
xinstall -m 644 ${worksrcpath}/conf/${pvm_arch}.def ${pvm_droot}/conf
xinstall -m 644 -W ${worksrcpath}/include fpvm3.h fpvm3_watcom.h pvm3.h \
pvmproto.h pvmtev.h ${destroot}${prefix}/include
file delete ${destroot}${prefix}/share/man/man1 \
${destroot}${prefix}/share/man/man3
file copy ${worksrcpath}/man/man1 ${destroot}${prefix}/share/man/man1
file copy ${worksrcpath}/man/man3 ${destroot}${prefix}/share/man/man3
}
livecheck.type regex
livecheck.url http://www.csm.ornl.gov/pvm/pvm_home.html
livecheck.regex PVM (3\\.4\\.(\\d)+)