ports/143395: update zsh-completions for portmaster 2.17

IWAZAKI Shota iwazaki8 at yahoo.co.jp
Sun Jan 31 08:30:03 UTC 2010


>Number:         143395
>Category:       ports
>Synopsis:       update zsh-completions for portmaster 2.17
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 31 08:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     IWAZAKI Shota
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD hoge.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
update zsh-completions for portmaster 2.17
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru portmaster.orig/Makefile portmaster/Makefile
--- portmaster.orig/Makefile	2010-01-31 17:06:41.000000000 +0900
+++ portmaster/Makefile	2010-01-31 17:09:06.000000000 +0900
@@ -9,6 +9,7 @@
 
 PORTNAME=	portmaster
 PORTVERSION=	2.17
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
diff -ru portmaster.orig/files/zsh-completions portmaster/files/zsh-completions
--- portmaster.orig/files/zsh-completions	2010-01-31 17:06:41.000000000 +0900
+++ portmaster/files/zsh-completions	2010-01-31 17:07:11.000000000 +0900
@@ -1,11 +1,11 @@
 #compdef portmaster
-# For portmaster 2.11
+# for portmaster 2.17
 
 local context state line array ret=1
 typeset -A opt_args
 
 _arguments -A "-*" : \
-  "--force-config['make config' for all ports (must be first option)]" \
+  "--force-config['make config' for all ports]" \
   "-C[prevents 'make clean' from being run before building]" \
   "(-F)-G[prevents recursive 'make config' (overrides --force-config)]" \
   "-H[hide details of the port build and install in a log file]" \
@@ -17,22 +17,28 @@
   "-t[recurse dependencies thoroughly, using all-depends-array]" \
   "-v[verbose output]" \
   "-w[save old shared libraries before deinstall]" \
-  "-u[DEPRECATED]" \
-  "-f[always rebuild ports (overrides -i)]" \
+  "(-i)-f[always rebuild ports (overrides -i)]" \
   "(-f)-i[interactive update -- ask whether to rebuild ports]" \
   "(-d)-D[no cleaning of distfiles]" \
   "(-D)-d[always clean distfiles]" \
-  "-m[<arguments for the 'make' command line>]:arguments for make: " \
-  "-x[<avoid building or updating ports that match this pattern>]:glob pattern to exclude from building:->pkgs" \
-  "-p[specify the full path to a port directory]:port directory in /usr/ports:->ports" \
-  "--show-work[array what ports are and would be installed]" \
+  "-m[arguments for the 'make' command line]:arguments for make: " \
+  "-x[avoid building or updating ports that match this pattern]:glob pattern to exclude from building:->pkgs" \
+  "--no-confirm[do not ask user to confirm list of ports to be installed and/or updated before proceeding]" \
+  "--show-work[list what ports are and would be installed]" \
   "-o[replace the installed port with a port from a different origin]:new port dir in /usr/ports:->ports" \
   "-r[rebuild port, and all ports that depend on it]:name/glob of port in /var/db/pkg:->pkgs" \
   "-R[used with -\[rf\] to skip ports updated on a previous run]" \
   "-a[check all ports, update as necessary]" \
-  "-l[array installed ports by category]" \
-  "-L[array installed ports by category, and search for updates]" \
-  "-e[expunge a port via pkg_delete, and remove its distfiles]:name of port directory in /var/db/pkg:->pkgs" \
+  "--delete-build-only[delete ports that are build-only dependencies after a successful run]" \
+  {-P,--packages}"[use packages, but build port if not available]" \
+  {-PP,--packages-only}"[fail if no package is available]" \
+  "--packages-build[use packages for all build dependencies]" \
+  "--packages-if-newer[use package if newer than installed even if the package is not the latest]" \
+  "--always-fetch[fetch package even if it already exists locally]" \
+  "--local-packagedir=-[where local packages can be found]:path:_files -/" \
+  "-l[list all installed ports by category]" \
+  "-L[list all installed ports by category, and search for updates]" \
+  "-e[expunge a port via pkg_delete, and remove its distfiles]:full name of port directory in /var/db/pkg:->pkgs" \
   "-s[clean out stale ports that used to be depended on]" \
   "(-G)-F[fetch distfiles only]" \
   "--clean-distfiles[offer to delete stale distfiles]" \
@@ -40,7 +46,7 @@
   "--check-depends[cross-check and update dependency information for all ports]" \
   "--check-port-dbdir[check for stale entries in /var/db/ports]" \
   "--list-origins[list directories from /usr/ports for root and leaf ports]" \
-  "(-h --help)"{-h,--help}"[display this help message]" \
+  "(-h --help)"{-h,--help}"[display help message]" \
   "--version[display the version number]" \
   '*:Packages and Ports:->pkgs_ports'
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list