[81021] trunk/dports/sysutils/bash-completion
raimue at macports.org
raimue at macports.org
Sat Jul 23 09:08:13 PDT 2011
Revision: 81021
http://trac.macports.org/changeset/81021
Author: raimue at macports.org
Date: 2011-07-23 09:08:12 -0700 (Sat, 23 Jul 2011)
Log Message:
-----------
sysutils/bash-completion:
Update completion for port command; indicate noarch
Modified Paths:
--------------
trunk/dports/sysutils/bash-completion/Portfile
trunk/dports/sysutils/bash-completion/files/port
Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile 2011-07-23 15:39:42 UTC (rev 81020)
+++ trunk/dports/sysutils/bash-completion/Portfile 2011-07-23 16:08:12 UTC (rev 81021)
@@ -3,10 +3,12 @@
PortSystem 1.0
name bash-completion
+epoch 1
version 1.3
-epoch 1
+revision 1
categories sysutils
platforms darwin
+supported_archs noarch
license GPL-2+
maintainers raimue
description Programmable bash completions
Modified: trunk/dports/sysutils/bash-completion/files/port
===================================================================
--- trunk/dports/sysutils/bash-completion/files/port 2011-07-23 15:39:42 UTC (rev 81020)
+++ trunk/dports/sysutils/bash-completion/files/port 2011-07-23 16:08:12 UTC (rev 81021)
@@ -10,7 +10,8 @@
{
local cur prev mode count portdir cmdfile i port PSEUDOPORTS
- PSEUDOPORTS=( all current active inactive installed uninstalled outdated obsolete )
+ PSEUDOPORTS=( all current active inactive installed uninstalled
+ outdated obsolete requested unrequested leaves )
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
@@ -34,13 +35,14 @@
mode=cmdfile
cmdfile=${COMP_WORDS[((count+1))]}
;;
- activate|archive|build|cat|cd|checksum|clean|configure|contents|\
- deactivate|dependents|deps|destroot|dir|distcheck|distfiles|dmg|\
- dpkg|echo|ed|edit|exit|extract|fetch|file|gohome|help|info|\
- install|installed|lint|list|livecheck|load|location|mdmg|mirror|\
- mpkg|notes|outdated|patch|pkg|platform|portpkg|provides|quit|\
- rpm|search|select|selfupdate|srpm|submit|sync|test|trace|unarchive|\
- uninstall|unload|upgrade|url|usage|variants|version|work)
+ activate|archive|archivefetch|build|cat|cd|checksum|clean|configure|\
+ contents|deactivate|dependents|deps|destroot|dir|distcheck|distfiles|\
+ dmg|dpkg|echo|ed|edit|exit|extract|fetch|file|gohome|help|\
+ info|install|installed|lint|list|livecheck|load|location|log|\
+ logfile|mdmg|mirror|mpkg|notes|outdated|patch|pkg|platform|\
+ portpkg|provides|quit|rdependents|rdeps|rpm|search|select|selfupdate|\
+ setrequested|space|srpm|submit|sync|test|unarchive|uninstall|\
+ unload|unsetrequested|upgrade|url|usage|variants|version|work)
mode=$i
;;
esac
@@ -136,7 +138,7 @@
_filedir -d
return 0
;;
- selfupdate|search|sync)
+ selfupdate|search|sync|platform)
# no port
return 0
;;
@@ -152,13 +154,14 @@
fi
COMPREPLY=( $( compgen -W '-b -c -d -f -k -n -o -p -q -R -s -t -u -v -y \
- activate archive build cat cd checksum clean configure contents \
- deactivate dependents deps destroot dir distcheck distfiles dmg \
- dpkg echo ed edit exit extract fetch file gohome help info \
- install installed lint list livecheck load location mdmg mirror \
- mpkg notes outdated patch pkg platform portpkg provides quit \
- rpm search select selfupdate srpm submit sync test trace unarchive \
- uninstall unload upgrade url usage variants version work' -- $cur ) )
+ activate archive archivefetch build cat cd checksum clean configure \
+ contents deactivate dependents deps destroot dir distcheck distfiles \
+ dmg dpkg echo ed edit exit extract fetch file gohome help \
+ info install installed lint list livecheck load location log \
+ logfile mdmg mirror mpkg notes outdated patch pkg platform \
+ portpkg provides quit rdependents rdeps rpm search select selfupdate \
+ setrequested space srpm submit sync test unarchive uninstall \
+ unload unsetrequested upgrade url usage variants version work' -- $cur ) )
return 0
}
complete -F _port $filenames port
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110723/92f00ea5/attachment.html>
More information about the macports-changes
mailing list