New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81021


Ignore:
Timestamp:
07/23/11 09:08:12 (4 years ago)
Author:
raimue@…
Message:

sysutils/bash-completion:
Update completion for port command; indicate noarch

Location:
trunk/dports/sysutils/bash-completion
Files:
2 edited

Legend:

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

    r80983 r81021  
    44 
    55name            bash-completion 
     6epoch           1 
    67version         1.3 
    7 epoch           1 
     8revision        1 
    89categories      sysutils 
    910platforms       darwin 
     11supported_archs noarch 
    1012license         GPL-2+ 
    1113maintainers     raimue 
  • trunk/dports/sysutils/bash-completion/files/port

    r65028 r81021  
    1111        local cur prev mode count portdir cmdfile i port PSEUDOPORTS 
    1212 
    13         PSEUDOPORTS=( all current active inactive installed uninstalled outdated obsolete ) 
     13        PSEUDOPORTS=( all current active inactive installed uninstalled 
     14                      outdated obsolete requested unrequested leaves ) 
    1415 
    1516        COMPREPLY=() 
     
    3536                        cmdfile=${COMP_WORDS[((count+1))]} 
    3637                        ;; 
    37                     activate|archive|build|cat|cd|checksum|clean|configure|contents|\ 
    38                         deactivate|dependents|deps|destroot|dir|distcheck|distfiles|dmg|\ 
    39                         dpkg|echo|ed|edit|exit|extract|fetch|file|gohome|help|info|\ 
    40                         install|installed|lint|list|livecheck|load|location|mdmg|mirror|\ 
    41                         mpkg|notes|outdated|patch|pkg|platform|portpkg|provides|quit|\ 
    42                         rpm|search|select|selfupdate|srpm|submit|sync|test|trace|unarchive|\ 
    43                         uninstall|unload|upgrade|url|usage|variants|version|work) 
     38                    activate|archive|archivefetch|build|cat|cd|checksum|clean|configure|\ 
     39                        contents|deactivate|dependents|deps|destroot|dir|distcheck|distfiles|\ 
     40                        dmg|dpkg|echo|ed|edit|exit|extract|fetch|file|gohome|help|\ 
     41                        info|install|installed|lint|list|livecheck|load|location|log|\ 
     42                        logfile|mdmg|mirror|mpkg|notes|outdated|patch|pkg|platform|\ 
     43                        portpkg|provides|quit|rdependents|rdeps|rpm|search|select|selfupdate|\ 
     44                        setrequested|space|srpm|submit|sync|test|unarchive|uninstall|\ 
     45                        unload|unsetrequested|upgrade|url|usage|variants|version|work) 
    4446                        mode=$i 
    4547                        ;; 
     
    137139                        return 0 
    138140                        ;; 
    139                     selfupdate|search|sync) 
     141                    selfupdate|search|sync|platform) 
    140142                        # no port 
    141143                        return 0 
     
    153155 
    154156        COMPREPLY=( $( compgen -W '-b -c -d -f -k -n -o -p -q -R -s -t -u -v -y \ 
    155                                 activate archive build cat cd checksum clean configure contents \ 
    156                                 deactivate dependents deps destroot dir distcheck distfiles dmg \ 
    157                                 dpkg echo ed edit exit extract fetch file gohome help info \ 
    158                                 install installed lint list livecheck load location mdmg mirror \ 
    159                                 mpkg notes outdated patch pkg platform portpkg provides quit \ 
    160                                 rpm search select selfupdate srpm submit sync test trace unarchive \ 
    161                                 uninstall unload upgrade url usage variants version work' -- $cur ) ) 
     157                                activate archive archivefetch build cat cd checksum clean configure \ 
     158                                contents deactivate dependents deps destroot dir distcheck distfiles \ 
     159                                dmg dpkg echo ed edit exit extract fetch file gohome help \ 
     160                                info install installed lint list livecheck load location log \ 
     161                                logfile mdmg mirror mpkg notes outdated patch pkg platform \ 
     162                                portpkg provides quit rdependents rdeps rpm search select selfupdate \ 
     163                                setrequested space srpm submit sync test unarchive uninstall \ 
     164                                unload unsetrequested upgrade url usage variants version work' -- $cur ) ) 
    162165        return 0 
    163166} 
Note: See TracChangeset for help on using the changeset viewer.