# $Id: Portfile 96545 2012-08-13 21:04:32Z ryandesign@macports.org $ PortSystem 1.0 name jikesrvm version 2.3.3 categories lang java devel platforms darwin maintainers nomaintainer license CPL-1 description the Jikes (Java) Research Virtual Machine long_description Jikes RVM (Research Virtual Machine) provides the \ research community with a flexible open testbed to \ prototype virtual machine technologies and experiment \ with a large variety of design alternatives. The \ virtual machine infrastructure in Jikes RVM was \ independently developed as part of the Jalapeno \ research project at the IBM T.J. Watson Research Center. homepage http://www.jikesrvm.org/ master_sites sourceforge:${name}:rvm \ gnu:classpath/:cp set cpversion 0.10 distfiles ${name}-${version}.tar.gz:rvm \ classpath-${cpversion}.tar.gz:cp fetch.use_epsv yes checksums ${distname}.tar.gz \ md5 ec0fb55a9573727928f82dce46ca5d49 \ classpath-${cpversion}.tar.gz \ md5 a59a5040f9c1237dbf27bfc668919943 patchfiles patch-rvm.diff post-extract { file mkdir ${worksrcpath}/classpath file rename ${workpath}/classpath-${cpversion} \ ${worksrcpath}/classpath/classpath } configure.env CXX=${configure.cxx} \ RVM_ROOT=${worksrcpath} \ RVM_BUILD=${workpath}/build \ RVM_HOST_CONFIG=${filespath}/powerpc-unknown-osx-gnu \ RVM_TARGET_CONFIG=${filespath}/powerpc-unknown-osx-gnu configure.cmd rvm/bin/jconfigure configure.pre_args prototype build.env ${configure.env} build.cmd ./jbuild build.dir ${workpath}/build build.target pre-destroot { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/rvm/bin/rvm } destroot { file delete -force ${worksrcpath}/rvm/src file copy ${worksrcpath}/rvm ${destroot}${prefix}/lib/ file copy ${workpath}/build ${destroot}${prefix}/lib/rvm/ system "cd ${destroot}${prefix}/bin && ln -sf ../lib/rvm/bin/rvm" xinstall -m 755 ${worksrcpath}/rvm/bin/sanity-envars.bash \ ${destroot}${prefix}/lib/rvm/ }