Commits
Benoit Chesneau authored and Perry E. Metzger committed 0d3268dd9d6
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup wxWidgets 1.0 |
5 5 | PortGroup compiler_blacklist_versions 1.0 |
6 6 | |
7 7 | name erlang |
8 - | version 21.1 |
9 - | revision 1 |
8 + | version 22.1 |
9 + | revision 0 |
10 10 | |
11 11 | categories lang erlang |
12 12 | maintainers {ciserlohn @ci42} |
13 13 | platforms darwin |
14 14 | license Apache-2 |
15 15 | |
16 16 | description The Erlang Programming Language |
17 17 | long_description Erlang is a programming language designed at the \ |
18 18 | Ericsson Computer Science Laboratory. Open-source \ |
19 19 | Erlang is being released to help encourage the spread \ |
35 35 | |
36 36 | # Parallel build doesn't work as per R13B01 |
37 37 | use_parallel_build no |
38 38 | |
39 39 | universal_variant no |
40 40 | |
41 41 | distfiles otp_src_${version}${extract.suffix} \ |
42 42 | otp_doc_man_${version}${extract.suffix} \ |
43 43 | otp_doc_html_${version}${extract.suffix} |
44 44 | |
45 - | checksums otp_src_21.1.tar.gz \ |
46 - | rmd160 3a4359f144f78151e29a50b10665e51b27c677a1 \ |
47 - | sha256 a489ca88d79422a165112120e0295bbd2f777533a81eae5610578d1bd8d89caf \ |
48 - | size 85214629 \ |
49 - | otp_doc_man_21.1.tar.gz \ |
50 - | rmd160 ad58e4411b26f103f45b7cf37fbce7f9d180a6c1 \ |
51 - | sha256 021e47b5036eaa4671b6d87a910403b775c967bfcb79b56a87f2183ddc5a5df5 \ |
52 - | size 1317726 \ |
53 - | otp_doc_html_21.1.tar.gz \ |
54 - | rmd160 d1226eaebc8d406df3024ba5868a90f2b69edb6d \ |
55 - | sha256 85333f77ad12c2065be4dc40dc7057d1d192f7cf15c416513f0b595583f820ce \ |
56 - | size 32692731 |
45 + | checksums otp_src_22.1.tar.gz \ |
46 + | rmd160 fc2110fcf820e2d47d265d17a7f75af2f3b9a20f \ |
47 + | sha256 cd33a102cbac6dd1c7b1e7a9a0d82d13587771fac4e96e8fff92e403d15e32c8 \ |
48 + | size 86643553 \ |
49 + | otp_doc_man_22.1.tar.gz \ |
50 + | rmd160 f20cba7986642bb65da0a7271909e071e722f677 \ |
51 + | sha256 64f45909ed8332619055d424c32f8cc8987290a1ac4079269572fba6ef9c74d9 \ |
52 + | size 1355169 \ |
53 + | otp_doc_html_22.1.tar.gz \ |
54 + | rmd160 d154d6f570c0bfb6e16e25e003a175deafa130a4 \ |
55 + | sha256 3864ac1aa30084738d783d12c241c0a4943cf22a6d1d0f6c7bb9ba0a45ecb9eb \ |
56 + | 33824830 |
57 57 | |
58 58 | worksrcdir otp_src_${version} |
59 59 | |
60 60 | # http://www.erlang.org/pipermail/erlang-bugs/2009-January/001171.html |
61 61 | patchfiles patch-erts_emulator_Makefile.in.diff |
62 62 | |
63 63 | configure.args --prefix=${prefix} \ |
64 64 | --enable-threads \ |
65 65 | --enable-dynamic-ssl-lib \ |
66 66 | --enable-smp-support \ |
75 75 | |
76 76 | # Erlang seems to have an on-again/off-again relationship with Clang. |
77 77 | # As of Xcode 4.2, it's off again. |
78 78 | # GCC 4.2 also fails: https://trac.macports.org/ticket/52507 |
79 79 | compiler.blacklist {clang < 300} gcc-4.2 |
80 80 | |
81 81 | post-destroot { |
82 82 | system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" |
83 83 | system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" |
84 84 | |
85 - | set erts_dir erts-10.1 |
86 - | set erl_interface_dir erl_interface-3.10.4 |
87 - | set wx_dir wx-1.8.5 |
85 + | set erts_dir erts-10.5 |
86 + | set erl_interface_dir erl_interface-3.13 |
87 + | set wx_dir wx-1.8.9 |
88 88 | |
89 89 | foreach x {dialyzer ear ecc elink epmd erl erlc escript run_erl start to_erl typer} { file delete -force ${destroot}${prefix}/bin/${x} } |
90 90 | foreach x {dialyzer erl erlc escript run_erl start to_erl typer} { system "ln -s ../lib/erlang/bin/${x} ${destroot}${prefix}/bin/${x}" } |
91 91 | |
92 92 | file delete -force ${destroot}${prefix}/lib/erlang/bin/epmd |
93 93 | system "ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd" |
94 94 | system "ln -s ../lib/erlang/${erts_dir}/bin/epmd ${destroot}${prefix}/bin/epmd" |
95 95 | system "ln -s ../lib/erlang/lib/${erl_interface_dir}/bin/erl_call ${destroot}${prefix}/bin/erl_call" |
96 96 | } |
97 97 | |