Ticket #46314: Portfile.diff

File Portfile.diff, 1.9 KB (added by b@…, 10 years ago)
  • (a) Portfile vs. (b) Portfile-go

    a b  
    55
    66name                go
    77epoch               2
    8 version             1.3.3
     8version             1.4
    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  b9ddec14cf5a9f99225d3d3e5bd88ed9ea37207f \
     32                    sha256  3ae9f67e45a5ca7004b28808da8b1367d328a371d641ddbe636c0fb0ae0ffdae
    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"