Ignore:
Timestamp:
Apr 29, 2012, 12:27:34 PM (7 years ago)
Author:
raimue@…
Message:

sysutils/bash-completion, sysutils/bash-completion-devel:
Add -devel port for bash-completion, mark as conflicting with bash-completion

Location:
trunk/dports/sysutils/bash-completion-devel
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/bash-completion-devel/Portfile

    r91969 r92467  
    33PortSystem      1.0
    44
    5 name            bash-completion
    6 epoch           1
    7 version         1.3
    8 revision        5
     5name            bash-completion-devel
     6conflicts       bash-completion
     7version         1.99
    98categories      sysutils
    109platforms       darwin
     
    1413description     Programmable bash completions
    1514long_description \
    16     Programmable completion library for bash.
     15    Programmable completion library for bash. Note that this port is meant to \
     16    be used with bash >=4.1 as provided by the bash port.
    1717
    1818homepage        http://bash-completion.alioth.debian.org/
    1919master_sites    http://bash-completion.alioth.debian.org/files/
    20 checksums       md5     a1262659b4bbf44dc9e59d034de505ec \
    21                 sha1    6a46b93f44c56cc336632ab28d90c0595fbcc98f \
    22                 rmd160  222be4aee5a9542e5b27133d8bfd697c2c95262d
     20distname        bash-completion-${version}
     21checksums       md5     3cf478b7f1065f424d3d6ec35f80e4f2 \
     22                rmd160  c5b4a926d8a7c1843c6bc85a6ba22b371baaf20e \
     23                sha256  a2baf5130fa015527f435e145949029c653f0106c89ccfd20ad8987f292ed314
    2324use_bzip2 yes
    2425
     
    3839
    3940post-destroot {
    40     xinstall -m 644 -W ${filespath} port launchctl ${destroot}${prefix}/etc/bash_completion.d/
     41    xinstall -m 644 -W ${filespath} port launchctl \
     42        ${destroot}${prefix}/share/bash-completion/completions/
     43
     44    # Add a link for compatibility with older versions
     45    ln -s ${prefix}/etc/profile.d/bash_completion.sh ${destroot}${prefix}/etc/bash_completion
    4146}
    4247
    4348notes "
    4449To use bash_completion, add the following lines at the end of your .bash_profile:
    45   if \[ -f ${prefix}/etc/bash_completion ]; then
    46       . ${prefix}/etc/bash_completion
     50  if \[ -f ${prefix}/etc/profile.d/bash_completion.sh ]; then
     51      . ${prefix}/etc/profile.d/bash_completion.sh
    4752  fi
    4853"
     
    5055livecheck.type      regex
    5156livecheck.url       ${homepage}
    52 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     57livecheck.regex     "bash-completion-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracChangeset for help on using the changeset viewer.