1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/shells/zsh/files/extra-patch-bsdtar
Renato Botelho cf7b6f9465 - Update to 4.3.4
- Pet a bit portlint
- OPTION'ify
- Add PCRE support OPTION off by default
- Add more MASTER_SITES
- Remove ?= from MAINTAINER and COMMENT since there are no more slave ports
- Remove CONFLICTS since conflicting ports doesn't exist anymore
- Fix iconv detection and add USE_ICONV=yes
- Use PORTDOCS and PORTEXAMPLES and cleanup pkg-plist
- Respect NOPORTEXAMPLES
- Add csup, portsnap and portlint Completions, it was already added to zsh cvs
  but add it here using a patch while new version don't come

Reviewed by:	sergei@
Approved by:	sergei@ (maintainer)
2007-07-30 16:21:42 +00:00

21 lines
749 B
Plaintext

--- Completion/Unix/Type/_tar_archive.orig Fri Aug 4 08:41:07 2006
+++ Completion/Unix/Type/_tar_archive Tue Jul 24 15:34:29 2007
@@ -14,15 +14,8 @@
_description files expl 'archive file'
if [[ "$1" = *[urtx]* ]]; then
- if [[ "$1" = *[zZ]* ]]; then
- _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)(-.)'
- elif [[ "$1" = *[Ijy]* ]]; then
- _files "$expl[@]" -g '*.(tar|TAR).bz2(-.)'
- elif [[ "$_cmd_variant[$service]" == gnu ]]; then
- _files "$expl[@]" -g '*.((tar|TAR)(.gz|.GZ|.Z|.bz2|)|tgz)(-.)'
- else
- _files "$expl[@]" -g '*.(tar|TAR)(-.)'
- fi
+ # bsdtar/libarchive handle these automagically
+ _files "$expl[@]" -g '*.((tar|TAR|iso|ISO|cpio).(|(gz|GZ|Z|bz2))|tgz|tbz|jar|zip)(-.)'
else
_files "$expl[@]"
fi