[125686] trunk/dports/lang/julia
sean at macports.org
sean at macports.org
Tue Sep 23 22:52:02 PDT 2014
Revision: 125686
https://trac.macports.org/changeset/125686
Author: sean at macports.org
Date: 2014-09-23 22:52:02 -0700 (Tue, 23 Sep 2014)
Log Message:
-----------
julia: update to 0.3.1
Modified Paths:
--------------
trunk/dports/lang/julia/Portfile
Removed Paths:
-------------
trunk/dports/lang/julia/files/
Modified: trunk/dports/lang/julia/Portfile
===================================================================
--- trunk/dports/lang/julia/Portfile 2014-09-24 05:51:57 UTC (rev 125685)
+++ trunk/dports/lang/julia/Portfile 2014-09-24 05:52:02 UTC (rev 125686)
@@ -5,7 +5,7 @@
PortGroup github 1.0
PortGroup compilers 1.0
-github.setup JuliaLang julia 0.2.1 v
+github.setup JuliaLang julia 0.3.1 v
categories-append lang math science
maintainers sean openmaintainer
platforms darwin
@@ -23,7 +23,7 @@
# julia's build system uses git submodules
fetch.type git
-# llvm calls haven't been updated to 3.4, so keep at 3.3
+# llvm 3.4 won't be supported; stay at 3.3 until 3.5 is ready
depends_lib-append port:llvm-3.3 \
port:curl \
port:git \
@@ -35,15 +35,9 @@
port:fftw-3 \
port:fftw-3-single
-patch.pre_args -p1
-patchfiles patch-readline.diff
-
use_configure no
# use_parallel_build no
-# project does not support destdir
-destroot.destdir PREFIX=${destroot}${prefix}
-
if {![fortran_variant_isset]} {
default_variants-append +gcc48
}
@@ -91,8 +85,17 @@
}
post-destroot {
- # skip julia-readline because that already has the rpath
- foreach b {julia julia-basic julia-debug-basic} {
+ # julia doesn't do destroot quite right
+ set dpw ${destroot}${worksrcpath}
+ delete ${destroot}${prefix}/bin
+ move [glob $dpw/julia-*/bin] ${destroot}${prefix}/bin
+ move [glob $dpw/julia-*/etc/julia] ${destroot}${prefix}/etc
+ move [glob $dpw/julia-*/include/julia] ${destroot}${prefix}/include
+ move [glob $dpw/julia-*/lib/julia] ${destroot}${prefix}/lib
+ move [glob $dpw/julia-*/share/julia] ${destroot}${prefix}/share
+ delete ${destroot}${prefix}/var
+
+ foreach b {julia julia-debug} {
system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath ${prefix}/lib $b"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140923/57d5312f/attachment.html>
More information about the macports-changes
mailing list