Ticket #46314: go1.4.1.diff

File go1.4.1.diff, 2.0 KB (added by coditect (Nicholas Rawlings), 10 years ago)

Diff to update Portfile from go1.3.3 to go1.4.1

  • ports/lang/go/Portfile

    old new  
    55
    66name                go
    77epoch               2
    8 version             1.3.3
     8version             1.4.1
    99categories          lang
    1010platforms           darwin freebsd linux
    1111license             BSD
     
    2828distfiles           ${name}${version}.src.tar.gz
    2929worksrcdir          ${name}
    3030
    31 checksums           rmd160  1a1819c8ceaaaf2f938e90b750da428debd6972e \
    32                     sha256  1bb6fde89cfe8b9756a875af55d994cce0994861227b5dc0f268c143d91cd5ff
     31checksums           rmd160  5a4a933345b9b702da5a42c6070b4360868969c8 \
     32                    sha256  3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3
    3333
    3434set GOROOT          ${worksrcpath}
    3535set GOROOT_FINAL    ${prefix}/go
     
    8383    # standard distribution
    8484    file copy ${worksrcpath} ${destroot}${GOROOT_FINAL}
    8585
    86     # bash completion
    87     xinstall -m 755 -d ${destroot}${prefix}/etc/bash_completion.d
    88     xinstall -m 644 -W ${worksrcpath}/misc/bash ${name} \
    89         ${destroot}${prefix}/etc/bash_completion.d/${name}
    90 
    91     # emacs syntax highlighting
    92     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 highlighting
    97     set vimdir ${destroot}${prefix}/share/vim/vimfiles
    98     xinstall -m 755 -d ${vimdir}/syntax ${vimdir}/ftdetect ${vimdir}/ftplugin
    99     xinstall -m 644 ${worksrcpath}/misc/vim/syntax/go.vim \
    100         ${vimdir}/syntax/go.vim
    101     xinstall -m 644 ${worksrcpath}/misc/vim/ftdetect/gofiletype.vim \
    102         ${vimdir}/ftdetect/go.vim
    103     xinstall -m 644 ${worksrcpath}/misc/vim/ftplugin/go/import.vim \
    104         ${vimdir}/ftplugin/go.vim
    105 
    10686    # binary symlinks
    10787    foreach f [list go godoc gofmt] {
    10888        system "cd ${destroot}${prefix}/bin/ && ln -s ../go/bin/$f ./$f"