Ticket #46314: go1.4.1.diff
File go1.4.1.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.1 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 5a4a933345b9b702da5a42c6070b4360868969c8 \ 32 sha256 3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3 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"