source: trunk/dports/science/pvm/Portfile @ 83638

Last change on this file since 83638 was 83638, checked in by mww@…, 6 years ago

add license key

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
RevLine 
[20457]1# $Id: Portfile 83638 2011-09-08 10:43:55Z mww@macports.org $
[9211]2
3PortSystem 1.0
4
5name                    pvm
[60758]6version                 3.4.6
[9211]7categories              science parallel net
8platforms               darwin
[30184]9maintainers             mww
[83638]10license                 {BSD GPL}
[9211]11description             pvm permits a network of computers to act as a cluster
12long_description        PVM (Parallel Virtual Machine) is a software package that \
13                                permits a heterogeneous collection of Unix and/or Windows \
14                                computers hooked together by a network to be used as a single \
15                                large parallel computer. Thus large computational problems can \
16                                be solved more cost effectively by using the aggregate power \
17                                and memory of many computers.
18
19homepage                http://www.csm.ornl.gov/pvm/
20master_sites    http://www.netlib.org/pvm3/ \
21                                ftp://ftp.netlib.org/pvm3/ \
22                                ftp://ftp.chg.ru/pub/prog/parallel/pvm3/
23distfiles               ${name}${version}.tgz
[60758]24checksums               md5     7b5f0c80ea50b6b4b10b6128e197747b \
25                                sha1    dc22bb3a592bb37ab86f0de8d867f67949d12e91 \
26                                rmd160  fa38e35d1d7a8e31b9c2baeb486a7371d6162378
[19179]27patchfiles              patch-console-cons.c patch-src-global.h patch-src-lpvmgen.c \
[60758]28                                patch-src-pvmcruft.c patch-src-pvmd.c patch-tracer-trcutil.c \
29                                patch-DARWIN.def
[9211]30
31set pvm_root    ${prefix}/lib/pvm
32set pvm_droot   ${destroot}${pvm_root}
33set pvm_arch    DARWIN
34
35worksrcdir              pvm3
36
37use_configure   no
38
[60758]39build.env               PVM_ROOT=${worksrcpath} \
40                                CC=${configure.cc} \
41                                CPP=${configure.cpp}
[9211]42
43destroot        {
44        xinstall -m 755 -d ${pvm_droot}/lib/${pvm_arch}/ ${pvm_droot}/conf
45        file copy ${worksrcpath}/bin ${pvm_droot}
46        xinstall -m 755 -W ${worksrcpath}/lib/${pvm_arch}/ pvm pvmd3 pvmgs \
47                ${pvm_droot}/lib/${pvm_arch}/
48        xinstall -m 755 -W ${worksrcpath}/lib pvm pvmd pvmgetarch aimk \
49                ${pvm_droot}/lib
50        system "cd ${destroot}${prefix}/bin && ln -sf ${pvm_root}/lib/pvm && \
51                ln -sf ${pvm_root}/lib/pvmd && ln -sf ${pvm_root}/lib/aimk"
52        xinstall -m 644 -W ${worksrcpath}/lib/${pvm_arch}/ libfpvm3.a libgpvm3.a \
53                libpvm3.a libpvmtrc.a ${destroot}${prefix}/lib
54        xinstall -m 644 ${worksrcpath}/conf/${pvm_arch}.def ${pvm_droot}/conf
55        xinstall -m 644 -W ${worksrcpath}/include fpvm3.h fpvm3_watcom.h pvm3.h \
56                pvmproto.h pvmtev.h ${destroot}${prefix}/include
57        file delete ${destroot}${prefix}/share/man/man1 \
58                ${destroot}${prefix}/share/man/man3
59        file copy ${worksrcpath}/man/man1 ${destroot}${prefix}/share/man/man1
60        file copy ${worksrcpath}/man/man3 ${destroot}${prefix}/share/man/man3
61}
[60792]62
[60929]63livecheck.type    regex
64livecheck.url     http://www.csm.ornl.gov/pvm/pvm_home.html
65livecheck.regex   PVM (3\\.4\\.(\\d)+)
[60792]66
Note: See TracBrowser for help on using the repository browser.