Ticket #56956: julia_Portfile.diff

File julia_Portfile.diff, 3.3 KB (added by jjstickel (Jonathan Stickel), 6 years ago)
  • Portfile

    old new  
    44PortGroup           github 1.0
    55PortGroup           compilers 1.0
    66
    7 github.setup        JuliaLang julia 0.6.2 v
    8 revision            2
     7github.setup        JuliaLang julia 1.0.0 v
    98categories-append   lang math science
    109maintainers         {sean @seanfarley} openmaintainer
    1110platforms           darwin
     
    2322github.tarball_from releases
    2423
    2524distfiles           ${name}-${version}-full${extract.suffix}
     25worksrcdir          ${name}
    2626
    27 checksums           rmd160  c5a50b478cbef04ce2937c46173ebc63d9403934 \
    28                     sha256  1e34c13091c9ddb47cf87a51566d94a06613f3db3c483b8f63b276e416dd621b
     27checksums           rmd160  c984591c5a000193496e54a4b2d8950fbe76f884 \
     28                    sha256  1a2497977b1d43bb821a5b7475b4054b29938baae8170881c6b8dd4099d133f1 \
     29                    size    95652014
    2930
    3031# Force buildbot to skip this since julia builds its own blas; see #45101
    3132archive_sites
    3233
    33 set llvm_ver        4.0
     34set llvm_ver        6.0
    3435
    3536depends_lib-append  port:llvm-${llvm_ver} \
    3637    port:curl \
     
    5455# use_parallel_build  no
    5556
    5657post-extract {
    57     file mkdir ${worksrcpath}/usr/lib
    58     ln -s ${prefix}/lib/libfftw3.dylib ${worksrcpath}/usr/lib/
    59     ln -s ${prefix}/lib/libfftw3_threads.dylib ${worksrcpath}/usr/lib/
    60     ln -s ${prefix}/lib/libfftw3f.dylib ${worksrcpath}/usr/lib/
    61     ln -s ${prefix}/lib/libfftw3f_threads.dylib ${worksrcpath}/usr/lib/
    62     ln -s ${prefix}/lib/libpcre2-8.dylib ${worksrcpath}/usr/lib/
    63     ln -s ${prefix}/lib/libgmp.dylib ${worksrcpath}/usr/lib/
    64     ln -s ${prefix}/lib/libmpfr.dylib ${worksrcpath}/usr/lib/
    65     ln -s ${prefix}/lib/libumfpack.dylib ${worksrcpath}/usr/lib/
    66     ln -s ${prefix}/lib/libcholmod.dylib ${worksrcpath}/usr/lib/
    67     ln -s ${prefix}/lib/libsuitesparseconfig.dylib ${worksrcpath}/usr/lib/
    68     ln -s ${prefix}/lib/libarpack.dylib ${worksrcpath}/usr/lib/
    69     ln -s ${prefix}/lib/libopenblas.dylib ${worksrcpath}/usr/lib/
    70     ln -s ${prefix}/lib/libgit2.dylib ${worksrcpath}/usr/lib/
     58    file mkdir ${worksrcpath}/usr/lib/julia
     59    ln -s ${prefix}/lib/libfftw3.dylib ${worksrcpath}/usr/lib/julia/
     60    ln -s ${prefix}/lib/libfftw3_threads.dylib ${worksrcpath}/usr/lib/julia/
     61    ln -s ${prefix}/lib/libfftw3f.dylib ${worksrcpath}/usr/lib/julia/
     62    ln -s ${prefix}/lib/libfftw3f_threads.dylib ${worksrcpath}/usr/lib/julia/
     63    ln -s ${prefix}/lib/libpcre2-8.dylib ${worksrcpath}/usr/lib/julia/
     64    ln -s ${prefix}/lib/libgmp.dylib ${worksrcpath}/usr/lib/julia/
     65    ln -s ${prefix}/lib/libmpfr.dylib ${worksrcpath}/usr/lib/julia/
     66    ln -s ${prefix}/lib/libumfpack.dylib ${worksrcpath}/usr/lib/julia/
     67    ln -s ${prefix}/lib/libcholmod.dylib ${worksrcpath}/usr/lib/julia/
     68    ln -s ${prefix}/lib/libsuitesparseconfig.dylib ${worksrcpath}/usr/lib/julia/
     69    ln -s ${prefix}/lib/libamd.dylib ${worksrcpath}/usr/lib/julia/
     70    ln -s ${prefix}/lib/libcamd.dylib ${worksrcpath}/usr/lib/julia/
     71    ln -s ${prefix}/lib/libcolamd.dylib ${worksrcpath}/usr/lib/julia/
     72    ln -s ${prefix}/lib/libccolamd.dylib ${worksrcpath}/usr/lib/julia/
     73    ln -s ${prefix}/lib/libspqr.dylib ${worksrcpath}/usr/lib/julia/
     74    ln -s ${prefix}/lib/libarpack.dylib ${worksrcpath}/usr/lib/julia/
     75    ln -s ${prefix}/lib/libopenblas.dylib ${worksrcpath}/usr/lib/julia/
     76    ln -s ${prefix}/lib/libgit2.dylib ${worksrcpath}/usr/lib/julia/
    7177}
    7278
    7379build {}