Changeset 98658


Ignore:
Timestamp:
Oct 12, 2012, 7:23:40 AM (12 years ago)
Author:
ciserlohn@…
Message:

npm: update to version 1.1.63

  • Always install bash completion file.
  • Don't use the legacy path for bash completion file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/npm/Portfile

    r98136 r98658  
    55
    66name                npm
    7 version             1.1.62
     7version             1.1.63
    88categories          devel
    99platforms           darwin
     
    2424extract.suffix      .tgz
    2525
    26 checksums           rmd160  6dfbfa79767a74ce980d7036ebaa0d5daf7f3633 \
    27                     sha256  bc1b201db78489721db7550a3bebe8f10da92e2c0afa4af701167e82cbc50a05
     26checksums           rmd160 277e78d0e26457aae3c68a7a99eb2816d0286456 \
     27                    sha256 4ef1432ab06fa3482a7f76419aa06a89c168771ef66aae68ca45a0e10ad49868
    2828
    2929worksrcdir          "package"
     
    6565destroot.destdir    --prefix=${destroot}${prefix}
    6666
     67post-destroot {
     68    set completions_path ${destroot}${prefix}/share/bash-completion/completions/
     69    xinstall -d ${completions_path}
     70    xinstall -m 644 ${worksrcpath}/lib/utils/completion.sh ${completions_path}/npm
     71}
     72
    6773variant bash_completion {
    6874    depends_run-append path:etc/bash_completion:bash-completion
    69     post-destroot {
    70         xinstall -d ${destroot}${prefix}/etc/bash_completion.d
    71         ln -sf ${prefix}/lib/node_modules/npm/lib/utils/completion.sh ${destroot}${prefix}/etc/bash_completion.d/npm
    72     }
    7375}
    7476
Note: See TracChangeset for help on using the changeset viewer.