Ticket #46314: go1.4.2.diff
File go1.4.2.diff, 2.0 KB (added by coditect (Nicholas Rawlings), 10 years ago) |
---|
-
ports/lang/go/Portfile
old new 5 5 6 6 name go 7 7 epoch 2 8 version 1. 3.38 version 1.4.2 9 9 categories lang 10 10 platforms darwin freebsd linux 11 11 license BSD … … 28 28 distfiles ${name}${version}.src.tar.gz 29 29 worksrcdir ${name} 30 30 31 checksums rmd160 1a1819c8ceaaaf2f938e90b750da428debd6972e\32 sha256 1bb6fde89cfe8b9756a875af55d994cce0994861227b5dc0f268c143d91cd5ff31 checksums rmd160 dea15b3b4c31554a47b40799f4b9a926ea760e70 \ 32 sha256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b 33 33 34 34 set GOROOT ${worksrcpath} 35 35 set GOROOT_FINAL ${prefix}/go … … 83 83 # standard distribution 84 84 file copy ${worksrcpath} ${destroot}${GOROOT_FINAL} 85 85 86 # bash completion87 xinstall -m 755 -d ${destroot}${prefix}/etc/bash_completion.d88 xinstall -m 644 -W ${worksrcpath}/misc/bash ${name} \89 ${destroot}${prefix}/etc/bash_completion.d/${name}90 91 # emacs syntax highlighting92 xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/93 eval xinstall -m 644 [glob ${worksrcpath}/misc/emacs/*.el] \94 ${destroot}${prefix}/share/emacs/site-lisp/95 96 # vim syntax highlighting97 set vimdir ${destroot}${prefix}/share/vim/vimfiles98 xinstall -m 755 -d ${vimdir}/syntax ${vimdir}/ftdetect ${vimdir}/ftplugin99 xinstall -m 644 ${worksrcpath}/misc/vim/syntax/go.vim \100 ${vimdir}/syntax/go.vim101 xinstall -m 644 ${worksrcpath}/misc/vim/ftdetect/gofiletype.vim \102 ${vimdir}/ftdetect/go.vim103 xinstall -m 644 ${worksrcpath}/misc/vim/ftplugin/go/import.vim \104 ${vimdir}/ftplugin/go.vim105 106 86 # binary symlinks 107 87 foreach f [list go godoc gofmt] { 108 88 system "cd ${destroot}${prefix}/bin/ && ln -s ../go/bin/$f ./$f"