diff options
author | des <des@FreeBSD.org> | 2008-02-07 03:20:16 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-02-07 03:20:16 +0800 |
commit | d0a3f443c4e93fdcfd5b84551d57d312f6d478a0 (patch) | |
tree | b460da2f3f7961cc3713b7967d1038560ef9cc7a /shells/zsh | |
parent | 30e5b4b7aa8017a247c50e3645c9fc0fd0ec2ca6 (diff) | |
download | freebsd-ports-gnome-d0a3f443c4e93fdcfd5b84551d57d312f6d478a0.tar.gz freebsd-ports-gnome-d0a3f443c4e93fdcfd5b84551d57d312f6d478a0.tar.zst freebsd-ports-gnome-d0a3f443c4e93fdcfd5b84551d57d312f6d478a0.zip |
Add vendor patch to fix subversion command completion.
Approved by: maintainer timeout
Diffstat (limited to 'shells/zsh')
-rw-r--r-- | shells/zsh/Makefile | 23 | ||||
-rw-r--r-- | shells/zsh/files/patch-Completion-Unix-Command-_subversion | 20 |
2 files changed, 22 insertions, 21 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 530b0edb474d..b83886df998c 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -22,28 +22,9 @@ PORTNAME= zsh PORTVERSION= 4.3.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= shells -MASTER_SITES= SF \ - http://zsh.open-mirror.com/ \ - http://www.zsh.org/pub/ \ - ftp://ftp.zsh.org/zsh/ \ - http://mirrors.dotsrc.org/zsh/ \ - ftp://mirrors.dotsrc.org/zsh/ \ - ftp://ftp.funet.fi/pub/unix/shells/zsh/ \ - ftp://nephtys.lip6.fr/pub/unix/shells/zsh/ \ - ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \ - http://www.cs.elte.hu/pub/zsh/ \ - ftp://ftp.cs.elte.hu/pub/zsh/ \ - ftp://ftp.kfki.hu/pub/packages/zsh/ \ - http://www.math.technion.ac.il/pub/zsh/ \ - ftp://ftp.math.technion.ac.il/pub/zsh/ \ - ftp://ftp.demon.nl/pub/mirrors/zsh/ \ - ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/ \ - ftp://ftp.roedu.net/pub/mirrors/ftp.zsh.org/pub/zsh/ \ - ftp://ftp.kappa.ro/pub/mirrors/ftp.zsh.org/pub/zsh/ \ - ftp://ftp.lysator.liu.se/pub/unix/zsh/ \ - ftp://sunsite.org.uk/package/zsh/ +MASTER_SITES= SF .if !defined(NOPORTDOCS) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-doc${EXTRACT_SUFX} .endif diff --git a/shells/zsh/files/patch-Completion-Unix-Command-_subversion b/shells/zsh/files/patch-Completion-Unix-Command-_subversion new file mode 100644 index 000000000000..55e362fabc7f --- /dev/null +++ b/shells/zsh/files/patch-Completion-Unix-Command-_subversion @@ -0,0 +1,20 @@ +--- Completion/Unix/Command/_subversion 2007/04/19 20:37:04 1.24 ++++ Completion/Unix/Command/_subversion 2008/01/31 16:16:36 1.25 +@@ -30,7 +30,7 @@ + + usage=${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"}:#usage:*}#usage:*$cmd] } + args=( +- ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ++ ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} + ) + + case $cmd in; +@@ -148,7 +148,7 @@ + + usage=${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"}:#$cmd: usage:*}#$cmd: usage: svnadmin $cmd } + args=( +- ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"##*Valid options:}:#*:*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ++ ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} + ) + if [[ $_svnadmin_subcmd_usage == *REPOS_PATH* ]]; then + args+=( ":path:_files -/" ) |