source: trunk/dports/lang/jikesrvm/Portfile

Last change on this file was 96545, checked in by ryandesign@…, 5 years ago

jikesrvm: license CPL-1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 96545 2012-08-13 21:04:32Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jikesrvm
6version                 2.3.3
7categories              lang java devel
8platforms               darwin
9maintainers             nomaintainer
10license                 CPL-1
11
12description             the Jikes (Java) Research Virtual Machine
13long_description        Jikes RVM (Research Virtual Machine) provides the \
14                                research community with a flexible open testbed to \
15                                prototype virtual machine technologies and experiment \
16                                with a large variety of design alternatives. The \
17                                virtual machine infrastructure in Jikes RVM was \
18                                independently developed as part of the Jalapeno \
19                                research project at the IBM T.J. Watson Research Center.
20
21homepage                http://www.jikesrvm.org/
22master_sites    sourceforge:${name}:rvm \
23                                gnu:classpath/:cp
24set cpversion   0.10
25distfiles               ${name}-${version}.tar.gz:rvm \
26                                classpath-${cpversion}.tar.gz:cp
27fetch.use_epsv  yes
28checksums               ${distname}.tar.gz \
29                                        md5 ec0fb55a9573727928f82dce46ca5d49 \
30                                classpath-${cpversion}.tar.gz \
31                                        md5 a59a5040f9c1237dbf27bfc668919943
32patchfiles              patch-rvm.diff
33
34post-extract    {
35        file mkdir ${worksrcpath}/classpath
36        file rename ${workpath}/classpath-${cpversion} \
37                ${worksrcpath}/classpath/classpath
38}
39
40configure.env   CXX=${configure.cxx} \
41                                RVM_ROOT=${worksrcpath} \
42                                RVM_BUILD=${workpath}/build \
43                                RVM_HOST_CONFIG=${filespath}/powerpc-unknown-osx-gnu \
44                                RVM_TARGET_CONFIG=${filespath}/powerpc-unknown-osx-gnu
45configure.cmd   rvm/bin/jconfigure
46configure.pre_args      prototype
47
48build.env               ${configure.env}
49build.cmd               ./jbuild
50build.dir               ${workpath}/build
51build.target
52
53pre-destroot    {
54        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/rvm/bin/rvm
55}
56destroot        {
57        file delete -force ${worksrcpath}/rvm/src
58        file copy ${worksrcpath}/rvm ${destroot}${prefix}/lib/
59        file copy ${workpath}/build ${destroot}${prefix}/lib/rvm/
60        system "cd ${destroot}${prefix}/bin && ln -sf ../lib/rvm/bin/rvm"
61        xinstall -m 755 ${worksrcpath}/rvm/bin/sanity-envars.bash \
62                ${destroot}${prefix}/lib/rvm/
63}
Note: See TracBrowser for help on using the repository browser.