Changeset 14524 for trunk/dports


Ignore:
Timestamp:
Oct 10, 2005, 9:36:11 AM (19 years ago)
Author:
yeled
Message:

bump to latest and move the port(1) completion to a +dp_completion
default_variant (ala zsh)
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r12001 r14524  
    1 # $Id: Portfile,v 1.7 2005/04/25 10:27:26 yeled Exp $
     1# $Id: Portfile,v 1.8 2005/10/10 09:36:11 yeled Exp $
    22
    33PortSystem      1.0
    44name            bash-completion
    5 version         20050121
    6 revision                2
     5version         20050721
    76categories      sysutils
    87maintainers     yeled@opendarwin.org
     
    1413platforms       darwin
    1514master_sites    http://www.caliban.org/files/bash/
    16 checksums       md5 ca8b557b62d4af341f565830d7b25b4f
     15checksums       md5 08e5321ead7079c84822368d7a41deda
    1716use_configure   no
     17default_variants        +dp_completion
    1818build           {}
    1919destroot {
    2020    reinplace "s|\/etc\/bash_completion|${prefix}\/etc\/bash_completion|g" \
    2121                                ${workpath}/bash_completion/bash_completion
    22         system "install -d ${destroot}${prefix}/etc/bash_completion.d"
    23         system "install -m 644 -c ${filesdir}/port.cmd ${destroot}${prefix}/etc/bash_completion.d/port"
    24         system "install -m 755 -c ${workpath}/bash_completion/bash_completion ${destroot}${prefix}/etc/"
     22        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
     23        xinstall -c ${workpath}/bash_completion/bash_completion ${destroot}${prefix}/etc/
    2524}
     25destroot.keepdirs       ${destroot}${prefix}/etc/
    2626post-install {
    2727    ui_msg  "Set this at the *end* your .bash_profile:"
     
    3232    ui_msg  ""
    3333}
     34
     35variant dp_completion {
     36        post-destroot {
     37                        xinstall -m 644 -c ${filesdir}/port.cmd ${destroot}${prefix}/etc/bash_completion.d/port
     38        }
     39}
Note: See TracChangeset for help on using the changeset viewer.