Ticket #53846: Portfile-erlang-19_3-without_reinplace.diff
File Portfile-erlang-19_3-without_reinplace.diff, 2.9 KB (added by graffic (Javier Gonel), 8 years ago) |
---|
-
Portfile
old new 5 5 PortGroup compiler_blacklist_versions 1.0 6 6 7 7 name erlang 8 version 19. 28 version 19.3 9 9 10 10 categories lang erlang 11 11 maintainers {ciserlohn @ci42} … … 41 41 otp_doc_man_${version}${extract.suffix} \ 42 42 otp_doc_html_${version}${extract.suffix} 43 43 44 checksums otp_src_19. 2.tar.gz \45 rmd160 7f724f54fc1354cb101d84f3642a684f84699790\46 sha256 a016b3ef5dac1e532972617b2715ef187ecb616f7cd7ddcfe0f1d502f5d24870\47 otp_doc_man_19. 2.tar.gz \48 rmd160 88a89a68e6e339825a4015942e028303d3d1171b\49 sha256 8a76ff3bb40a6d6a1552fa5a4204c8a3c7d99d2ea6f12684f02d038b23ad25cb\50 otp_doc_html_19. 2.tar.gz \51 rmd160 c43bd16cf0b3f7235dabd4ffcca231d48523ef61\52 sha256 c373c8c1a9fe7433825088684932f3ded76f53d5b8a4d3d2a364263f1f78304344 checksums otp_src_19.3.tar.gz \ 45 rmd160 860d6c3bdeea74b987454e90c1ec19a933157a27 \ 46 sha256 fe4a00651db39b8542b04530a48d24b2f2e7e0b77cbe93d728c9f05325bdfe83 \ 47 otp_doc_man_19.3.tar.gz \ 48 rmd160 b450d352dc46dbfaad5ed27a242c1c3d206dcfc4 \ 49 sha256 f8192ffdd7367083c055695eeddf198155da43dcc221aed1d870d1e3871dd95c \ 50 otp_doc_html_19.3.tar.gz \ 51 rmd160 a7b3dc359d8fb00689d717c478a52e1e8818966b \ 52 sha256 dc3e3a82d1aba7f0deac1ddb81b7d6f8dee9a75e1d42b90c677a2b645f19a00c 53 53 54 54 pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} } 55 55 … … 79 79 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" 80 80 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" 81 81 82 set erts_dir erts-8. 283 set erl_interface_dir erl_interface-3.9. 282 set erts_dir erts-8.3 83 set erl_interface_dir erl_interface-3.9.3 84 84 set wx_dir wx-1.8 85 85 86 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl87 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start88 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/${erts_dir}/bin/erl89 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/${erts_dir}/bin/start90 91 86 foreach x {dialyzer ear ecc elink epmd erl erlc escript run_erl start to_erl typer} { file delete -force ${destroot}${prefix}/bin/${x} } 92 87 foreach x {dialyzer erl erlc escript run_erl start to_erl typer} { system "ln -s ../lib/erlang/bin/${x} ${destroot}${prefix}/bin/${x}" } 93 88