summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2006-03-11 13:20:15 +0000
committeruebayasi <uebayasi@pkgsrc.org>2006-03-11 13:20:15 +0000
commit7722d125ef4e4fb9e78f35e1f03042876c2ab41c (patch)
tree648d5e02326e8f4692b782d5fccf09d2f03c5808 /shells
parent27ef22d7e001d68988084dbf84e9ab9539a3d2ed (diff)
downloadpkgsrc-7722d125ef4e4fb9e78f35e1f03042876c2ab41c.tar.gz
Re-add development release of Zsh, 4.3.2, first public release of 4.3.x
branch. Major changes between versions 4.2 and 4.3 ------------------------------------------ - There is support for multibyte character sets in the line editor, though not the main shell. See Multibyte Character Support in INSTALL. - The shell can now run an installation function for a new user (one with no .zshrc, .zshenv, .zprofile or .zlogin file) without any additional setting up by the administrator. - The manual now has a Roadmap section (manual page zshroadmap) to give new users an indication of the most interesting parts of the manual. - New option PROMPT_SP, on by default, to work around the problem that the line editor can overwrite output with no newline at the end. - New option HIST_SAVE_BY_COPY (on by default): history is saved by copying and renaming instead of directly overwriting. - New redirection syntax e.g. {myfd}>file opens a new file descriptor and stores the number in $myfd, so that >&$myfd will work. Chosen not to break existing code (and to be compatible with proposals for the Korn shell). - Substitutions of the form ${var:-"$@"}, ${var:+"$@"} and similar where word-splitting is applied to the text after the :- or :+ (in particular, where the SH_WORD_SPLIT option is in effect for compatibility) now behave as in other Bourne- and POSIX-compatible shells when in the appropriate emulation mode. - New Posix-style zsh-specific tests [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] test if character can appear in identifier, is an IFS character, is an IFS whitespace character, or is considered as part of a word (is alphanumeric or appears in $WORDCHARS). Note the pattern code doesn't yet handle multibyte characters. - The idiom =(<<<...) is optimised so that the shell internally turns the ... into the contents of a file whose name is then substituted. - Supplied functions catch and throw provide limited support for exception handling using the `{ ... } always { ... }' syntax. - Signals now accept the SIG as part of the name for compatibility with other shells. - Editor function argument-base allows non-decimal arguments for editor widgets. - As always, there are many enhancements to completion functions.
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh-current/DESCR6
-rw-r--r--shells/zsh-current/MESSAGE11
-rw-r--r--shells/zsh-current/Makefile10
-rw-r--r--shells/zsh-current/PLIST596
-rw-r--r--shells/zsh-current/PLIST.dynamic83
-rw-r--r--shells/zsh-current/PLIST.shlibs2
-rw-r--r--shells/zsh-current/PLIST.terminfo2
-rw-r--r--shells/zsh-current/distinfo9
-rw-r--r--shells/zsh-current/options.mk11
-rw-r--r--shells/zsh-current/patches/patch-aa13
-rw-r--r--shells/zsh-current/patches/patch-ab20
-rw-r--r--shells/zsh-current/patches/patch-ac32
-rw-r--r--shells/zsh-current/patches/patch-ae14
13 files changed, 809 insertions, 0 deletions
diff --git a/shells/zsh-current/DESCR b/shells/zsh-current/DESCR
new file mode 100644
index 00000000000..8f4144f053e
--- /dev/null
+++ b/shells/zsh-current/DESCR
@@ -0,0 +1,6 @@
+Zsh is a UNIX command interpreter (shell) which of the standard shells
+most resembles the Korn shell (ksh), although it is not completely
+compatible. It includes enhancements of many types, notably in the
+command-line editor, options for customising its behaviour, filename
+globbing, features to make C-shell (csh) users feel more at home and
+extra features drawn from tcsh (another `custom' shell).
diff --git a/shells/zsh-current/MESSAGE b/shells/zsh-current/MESSAGE
new file mode 100644
index 00000000000..1775ad1c3a3
--- /dev/null
+++ b/shells/zsh-current/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.3 2006/03/11 13:20:15 uebayasi Exp $
+
+`${PREFIX}/share/doc/zsh/NEWS' contains a summary of important changes
+for this version of zsh.
+
+Note that the completion system can now be setup and configured using
+the "compinstall" function. Please read the zshcompsys(1) manual page
+for information on how this works.
+
+===========================================================================
diff --git a/shells/zsh-current/Makefile b/shells/zsh-current/Makefile
new file mode 100644
index 00000000000..b2d5e9eb5b5
--- /dev/null
+++ b/shells/zsh-current/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.8 2006/03/11 13:20:15 uebayasi Exp $
+
+.include "options.mk"
+
+.include "../../shells/zsh/Makefile.common"
+
+ZSH_VERSION= 4.3.2
+ZSH_MAINTAINER= uebayasi@NetBSD.org
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/zsh-current/PLIST b/shells/zsh-current/PLIST
new file mode 100644
index 00000000000..927d9378c48
--- /dev/null
+++ b/shells/zsh-current/PLIST
@@ -0,0 +1,596 @@
+@comment $NetBSD: PLIST,v 1.5 2006/03/11 13:20:15 uebayasi Exp $
+bin/${PKGNAME}
+bin/zsh
+man/man1/zsh.1
+man/man1/zshall.1
+man/man1/zshbuiltins.1
+man/man1/zshcompctl.1
+man/man1/zshcompsys.1
+man/man1/zshcompwid.1
+man/man1/zshcontrib.1
+man/man1/zshexpn.1
+man/man1/zshmisc.1
+man/man1/zshmodules.1
+man/man1/zshoptions.1
+man/man1/zshparam.1
+man/man1/zshtcpsys.1
+man/man1/zshzftpsys.1
+man/man1/zshzle.1
+share/doc/zsh/BUGS
+share/doc/zsh/FAQ
+share/doc/zsh/FEATURES
+share/doc/zsh/NEWS
+share/zsh/${PKGVERSION}/functions/_a2ps
+share/zsh/${PKGVERSION}/functions/_aap
+share/zsh/${PKGVERSION}/functions/_acpi
+share/zsh/${PKGVERSION}/functions/_acroread
+share/zsh/${PKGVERSION}/functions/_alias
+share/zsh/${PKGVERSION}/functions/_aliases
+share/zsh/${PKGVERSION}/functions/_all_labels
+share/zsh/${PKGVERSION}/functions/_all_matches
+share/zsh/${PKGVERSION}/functions/_alternative
+share/zsh/${PKGVERSION}/functions/_ant
+share/zsh/${PKGVERSION}/functions/_antiword
+share/zsh/${PKGVERSION}/functions/_apachectl
+share/zsh/${PKGVERSION}/functions/_apm
+share/zsh/${PKGVERSION}/functions/_approximate
+share/zsh/${PKGVERSION}/functions/_apt
+share/zsh/${PKGVERSION}/functions/_apt-move
+share/zsh/${PKGVERSION}/functions/_apt-show-versions
+share/zsh/${PKGVERSION}/functions/_aptitude
+share/zsh/${PKGVERSION}/functions/_arch_archives
+share/zsh/${PKGVERSION}/functions/_arch_namespace
+share/zsh/${PKGVERSION}/functions/_arg_compile
+share/zsh/${PKGVERSION}/functions/_arguments
+share/zsh/${PKGVERSION}/functions/_arp
+share/zsh/${PKGVERSION}/functions/_arping
+share/zsh/${PKGVERSION}/functions/_arrays
+share/zsh/${PKGVERSION}/functions/_assign
+share/zsh/${PKGVERSION}/functions/_attr
+share/zsh/${PKGVERSION}/functions/_auto-apt
+share/zsh/${PKGVERSION}/functions/_autocd
+share/zsh/${PKGVERSION}/functions/_bash_completions
+share/zsh/${PKGVERSION}/functions/_baz
+share/zsh/${PKGVERSION}/functions/_bindkey
+share/zsh/${PKGVERSION}/functions/_bison
+share/zsh/${PKGVERSION}/functions/_bittorrent
+share/zsh/${PKGVERSION}/functions/_bogofilter
+share/zsh/${PKGVERSION}/functions/_brace_parameter
+share/zsh/${PKGVERSION}/functions/_brctl
+share/zsh/${PKGVERSION}/functions/_bsd_pkg
+share/zsh/${PKGVERSION}/functions/_bts
+share/zsh/${PKGVERSION}/functions/_bug
+share/zsh/${PKGVERSION}/functions/_builtin
+share/zsh/${PKGVERSION}/functions/_bzip2
+share/zsh/${PKGVERSION}/functions/_bzr
+share/zsh/${PKGVERSION}/functions/_cache_invalid
+share/zsh/${PKGVERSION}/functions/_cal
+share/zsh/${PKGVERSION}/functions/_call_function
+share/zsh/${PKGVERSION}/functions/_call_program
+share/zsh/${PKGVERSION}/functions/_ccal
+share/zsh/${PKGVERSION}/functions/_cd
+share/zsh/${PKGVERSION}/functions/_cdcd
+share/zsh/${PKGVERSION}/functions/_cdrecord
+share/zsh/${PKGVERSION}/functions/_chflags
+share/zsh/${PKGVERSION}/functions/_chkconfig
+share/zsh/${PKGVERSION}/functions/_chmod
+share/zsh/${PKGVERSION}/functions/_chown
+share/zsh/${PKGVERSION}/functions/_combination
+share/zsh/${PKGVERSION}/functions/_command
+share/zsh/${PKGVERSION}/functions/_command_names
+share/zsh/${PKGVERSION}/functions/_compdef
+share/zsh/${PKGVERSION}/functions/_complete
+share/zsh/${PKGVERSION}/functions/_complete_debug
+share/zsh/${PKGVERSION}/functions/_complete_help
+share/zsh/${PKGVERSION}/functions/_complete_tag
+share/zsh/${PKGVERSION}/functions/_compress
+share/zsh/${PKGVERSION}/functions/_condition
+share/zsh/${PKGVERSION}/functions/_configure
+share/zsh/${PKGVERSION}/functions/_correct
+share/zsh/${PKGVERSION}/functions/_correct_filename
+share/zsh/${PKGVERSION}/functions/_correct_word
+share/zsh/${PKGVERSION}/functions/_cp
+share/zsh/${PKGVERSION}/functions/_cpio
+share/zsh/${PKGVERSION}/functions/_cplay
+share/zsh/${PKGVERSION}/functions/_ctags_tags
+share/zsh/${PKGVERSION}/functions/_cvs
+share/zsh/${PKGVERSION}/functions/_cvsup
+share/zsh/${PKGVERSION}/functions/_cygcheck
+share/zsh/${PKGVERSION}/functions/_cygpath
+share/zsh/${PKGVERSION}/functions/_cygrunsrv
+share/zsh/${PKGVERSION}/functions/_cygserver
+share/zsh/${PKGVERSION}/functions/_cygstart
+share/zsh/${PKGVERSION}/functions/_darcs
+share/zsh/${PKGVERSION}/functions/_date
+share/zsh/${PKGVERSION}/functions/_dchroot
+share/zsh/${PKGVERSION}/functions/_dcop
+share/zsh/${PKGVERSION}/functions/_dd
+share/zsh/${PKGVERSION}/functions/_deb_packages
+share/zsh/${PKGVERSION}/functions/_debchange
+share/zsh/${PKGVERSION}/functions/_debdiff
+share/zsh/${PKGVERSION}/functions/_debfoster
+share/zsh/${PKGVERSION}/functions/_debsign
+share/zsh/${PKGVERSION}/functions/_default
+share/zsh/${PKGVERSION}/functions/_defaults
+share/zsh/${PKGVERSION}/functions/_describe
+share/zsh/${PKGVERSION}/functions/_description
+share/zsh/${PKGVERSION}/functions/_dhclient
+share/zsh/${PKGVERSION}/functions/_dict
+share/zsh/${PKGVERSION}/functions/_dict_words
+share/zsh/${PKGVERSION}/functions/_diff
+share/zsh/${PKGVERSION}/functions/_diff_options
+share/zsh/${PKGVERSION}/functions/_diffstat
+share/zsh/${PKGVERSION}/functions/_dir_list
+share/zsh/${PKGVERSION}/functions/_directories
+share/zsh/${PKGVERSION}/functions/_directory_stack
+share/zsh/${PKGVERSION}/functions/_dirs
+share/zsh/${PKGVERSION}/functions/_disable
+share/zsh/${PKGVERSION}/functions/_dispatch
+share/zsh/${PKGVERSION}/functions/_dlocate
+share/zsh/${PKGVERSION}/functions/_domains
+share/zsh/${PKGVERSION}/functions/_dpkg
+share/zsh/${PKGVERSION}/functions/_dpkg-cross
+share/zsh/${PKGVERSION}/functions/_dpkg_source
+share/zsh/${PKGVERSION}/functions/_dput
+share/zsh/${PKGVERSION}/functions/_du
+share/zsh/${PKGVERSION}/functions/_dumper
+share/zsh/${PKGVERSION}/functions/_dupload
+share/zsh/${PKGVERSION}/functions/_dvi
+share/zsh/${PKGVERSION}/functions/_ecasound
+share/zsh/${PKGVERSION}/functions/_echotc
+share/zsh/${PKGVERSION}/functions/_echoti
+share/zsh/${PKGVERSION}/functions/_elinks
+share/zsh/${PKGVERSION}/functions/_elm
+share/zsh/${PKGVERSION}/functions/_email_addresses
+share/zsh/${PKGVERSION}/functions/_emulate
+share/zsh/${PKGVERSION}/functions/_enable
+share/zsh/${PKGVERSION}/functions/_enscript
+share/zsh/${PKGVERSION}/functions/_equal
+share/zsh/${PKGVERSION}/functions/_expand
+share/zsh/${PKGVERSION}/functions/_expand_alias
+share/zsh/${PKGVERSION}/functions/_expand_word
+share/zsh/${PKGVERSION}/functions/_fakeroot
+share/zsh/${PKGVERSION}/functions/_fc
+share/zsh/${PKGVERSION}/functions/_fetchmail
+share/zsh/${PKGVERSION}/functions/_figlet
+share/zsh/${PKGVERSION}/functions/_file_descriptors
+share/zsh/${PKGVERSION}/functions/_file_systems
+share/zsh/${PKGVERSION}/functions/_files
+share/zsh/${PKGVERSION}/functions/_find
+share/zsh/${PKGVERSION}/functions/_finger
+share/zsh/${PKGVERSION}/functions/_fink
+share/zsh/${PKGVERSION}/functions/_first
+share/zsh/${PKGVERSION}/functions/_flasher
+share/zsh/${PKGVERSION}/functions/_flex
+share/zsh/${PKGVERSION}/functions/_floppy
+share/zsh/${PKGVERSION}/functions/_fortune
+share/zsh/${PKGVERSION}/functions/_fsh
+share/zsh/${PKGVERSION}/functions/_functions
+share/zsh/${PKGVERSION}/functions/_fuser
+share/zsh/${PKGVERSION}/functions/_fusermount
+share/zsh/${PKGVERSION}/functions/_gcc
+share/zsh/${PKGVERSION}/functions/_gdb
+share/zsh/${PKGVERSION}/functions/_generic
+share/zsh/${PKGVERSION}/functions/_getclip
+share/zsh/${PKGVERSION}/functions/_getconf
+share/zsh/${PKGVERSION}/functions/_getent
+share/zsh/${PKGVERSION}/functions/_getfacl
+share/zsh/${PKGVERSION}/functions/_git
+share/zsh/${PKGVERSION}/functions/_global
+share/zsh/${PKGVERSION}/functions/_global_tags
+share/zsh/${PKGVERSION}/functions/_gnome-gv
+share/zsh/${PKGVERSION}/functions/_gnu_generic
+share/zsh/${PKGVERSION}/functions/_gnutls
+share/zsh/${PKGVERSION}/functions/_gpg
+share/zsh/${PKGVERSION}/functions/_gphoto2
+share/zsh/${PKGVERSION}/functions/_gprof
+share/zsh/${PKGVERSION}/functions/_gqview
+share/zsh/${PKGVERSION}/functions/_grep
+share/zsh/${PKGVERSION}/functions/_groff
+share/zsh/${PKGVERSION}/functions/_groups
+share/zsh/${PKGVERSION}/functions/_gs
+share/zsh/${PKGVERSION}/functions/_guard
+share/zsh/${PKGVERSION}/functions/_gv
+share/zsh/${PKGVERSION}/functions/_gzip
+share/zsh/${PKGVERSION}/functions/_hash
+share/zsh/${PKGVERSION}/functions/_hdiutil
+share/zsh/${PKGVERSION}/functions/_history
+share/zsh/${PKGVERSION}/functions/_history_complete_word
+share/zsh/${PKGVERSION}/functions/_hosts
+share/zsh/${PKGVERSION}/functions/_iconv
+share/zsh/${PKGVERSION}/functions/_ifconfig
+share/zsh/${PKGVERSION}/functions/_ignored
+share/zsh/${PKGVERSION}/functions/_imagemagick
+share/zsh/${PKGVERSION}/functions/_in_vared
+share/zsh/${PKGVERSION}/functions/_init_d
+share/zsh/${PKGVERSION}/functions/_iptables
+share/zsh/${PKGVERSION}/functions/_irssi
+share/zsh/${PKGVERSION}/functions/_ispell
+share/zsh/${PKGVERSION}/functions/_iwconfig
+share/zsh/${PKGVERSION}/functions/_java
+share/zsh/${PKGVERSION}/functions/_java_class
+share/zsh/${PKGVERSION}/functions/_jobs
+share/zsh/${PKGVERSION}/functions/_jobs_bg
+share/zsh/${PKGVERSION}/functions/_jobs_builtin
+share/zsh/${PKGVERSION}/functions/_jobs_fg
+share/zsh/${PKGVERSION}/functions/_joe
+share/zsh/${PKGVERSION}/functions/_kfmclient
+share/zsh/${PKGVERSION}/functions/_kill
+share/zsh/${PKGVERSION}/functions/_killall
+share/zsh/${PKGVERSION}/functions/_kld
+share/zsh/${PKGVERSION}/functions/_knock
+share/zsh/${PKGVERSION}/functions/_kvno
+share/zsh/${PKGVERSION}/functions/_last
+share/zsh/${PKGVERSION}/functions/_less
+share/zsh/${PKGVERSION}/functions/_limit
+share/zsh/${PKGVERSION}/functions/_limits
+share/zsh/${PKGVERSION}/functions/_linda
+share/zsh/${PKGVERSION}/functions/_links
+share/zsh/${PKGVERSION}/functions/_lintian
+share/zsh/${PKGVERSION}/functions/_list
+share/zsh/${PKGVERSION}/functions/_loadkeys
+share/zsh/${PKGVERSION}/functions/_locales
+share/zsh/${PKGVERSION}/functions/_logical_volumes
+share/zsh/${PKGVERSION}/functions/_look
+share/zsh/${PKGVERSION}/functions/_losetup
+share/zsh/${PKGVERSION}/functions/_lp
+share/zsh/${PKGVERSION}/functions/_ls
+share/zsh/${PKGVERSION}/functions/_lscfg
+share/zsh/${PKGVERSION}/functions/_lsdev
+share/zsh/${PKGVERSION}/functions/_lslv
+share/zsh/${PKGVERSION}/functions/_lsof
+share/zsh/${PKGVERSION}/functions/_lspv
+share/zsh/${PKGVERSION}/functions/_lsvg
+share/zsh/${PKGVERSION}/functions/_lynx
+share/zsh/${PKGVERSION}/functions/_lzop
+share/zsh/${PKGVERSION}/functions/_mac_applications
+share/zsh/${PKGVERSION}/functions/_mac_files_for_application
+share/zsh/${PKGVERSION}/functions/_madison
+share/zsh/${PKGVERSION}/functions/_mail
+share/zsh/${PKGVERSION}/functions/_mailboxes
+share/zsh/${PKGVERSION}/functions/_main_complete
+share/zsh/${PKGVERSION}/functions/_make
+share/zsh/${PKGVERSION}/functions/_make-kpkg
+share/zsh/${PKGVERSION}/functions/_man
+share/zsh/${PKGVERSION}/functions/_match
+share/zsh/${PKGVERSION}/functions/_math
+share/zsh/${PKGVERSION}/functions/_mencal
+share/zsh/${PKGVERSION}/functions/_menu
+share/zsh/${PKGVERSION}/functions/_mere
+share/zsh/${PKGVERSION}/functions/_mergechanges
+share/zsh/${PKGVERSION}/functions/_message
+share/zsh/${PKGVERSION}/functions/_mh
+share/zsh/${PKGVERSION}/functions/_mii-tool
+share/zsh/${PKGVERSION}/functions/_mime_types
+share/zsh/${PKGVERSION}/functions/_mkshortcut
+share/zsh/${PKGVERSION}/functions/_mkzsh
+share/zsh/${PKGVERSION}/functions/_module-assistant
+share/zsh/${PKGVERSION}/functions/_modutils
+share/zsh/${PKGVERSION}/functions/_mondo
+share/zsh/${PKGVERSION}/functions/_most_recent_file
+share/zsh/${PKGVERSION}/functions/_mount
+share/zsh/${PKGVERSION}/functions/_mozilla
+share/zsh/${PKGVERSION}/functions/_mpc
+share/zsh/${PKGVERSION}/functions/_mplayer
+share/zsh/${PKGVERSION}/functions/_mt
+share/zsh/${PKGVERSION}/functions/_mtools
+share/zsh/${PKGVERSION}/functions/_mtr
+share/zsh/${PKGVERSION}/functions/_multi_parts
+share/zsh/${PKGVERSION}/functions/_mutt
+share/zsh/${PKGVERSION}/functions/_my_accounts
+share/zsh/${PKGVERSION}/functions/_mysql_utils
+share/zsh/${PKGVERSION}/functions/_mysqldiff
+share/zsh/${PKGVERSION}/functions/_ncftp
+share/zsh/${PKGVERSION}/functions/_nedit
+share/zsh/${PKGVERSION}/functions/_net_interfaces
+share/zsh/${PKGVERSION}/functions/_netcat
+share/zsh/${PKGVERSION}/functions/_netscape
+share/zsh/${PKGVERSION}/functions/_newsgroups
+share/zsh/${PKGVERSION}/functions/_next_label
+share/zsh/${PKGVERSION}/functions/_next_tags
+share/zsh/${PKGVERSION}/functions/_nice
+share/zsh/${PKGVERSION}/functions/_nmap
+share/zsh/${PKGVERSION}/functions/_normal
+share/zsh/${PKGVERSION}/functions/_nothing
+share/zsh/${PKGVERSION}/functions/_nslookup
+share/zsh/${PKGVERSION}/functions/_object_classes
+share/zsh/${PKGVERSION}/functions/_oldlist
+share/zsh/${PKGVERSION}/functions/_open
+share/zsh/${PKGVERSION}/functions/_options
+share/zsh/${PKGVERSION}/functions/_options_set
+share/zsh/${PKGVERSION}/functions/_options_unset
+share/zsh/${PKGVERSION}/functions/_other_accounts
+share/zsh/${PKGVERSION}/functions/_pack
+share/zsh/${PKGVERSION}/functions/_parameter
+share/zsh/${PKGVERSION}/functions/_parameters
+share/zsh/${PKGVERSION}/functions/_patch
+share/zsh/${PKGVERSION}/functions/_path_files
+share/zsh/${PKGVERSION}/functions/_pbm
+share/zsh/${PKGVERSION}/functions/_pdf
+share/zsh/${PKGVERSION}/functions/_perforce
+share/zsh/${PKGVERSION}/functions/_perl
+share/zsh/${PKGVERSION}/functions/_perl_basepods
+share/zsh/${PKGVERSION}/functions/_perl_modules
+share/zsh/${PKGVERSION}/functions/_perldoc
+share/zsh/${PKGVERSION}/functions/_php
+share/zsh/${PKGVERSION}/functions/_physical_volumes
+share/zsh/${PKGVERSION}/functions/_pick_variant
+share/zsh/${PKGVERSION}/functions/_pids
+share/zsh/${PKGVERSION}/functions/_pine
+share/zsh/${PKGVERSION}/functions/_ping
+share/zsh/${PKGVERSION}/functions/_piuparts
+share/zsh/${PKGVERSION}/functions/_pkg-config
+share/zsh/${PKGVERSION}/functions/_pkgtool
+share/zsh/${PKGVERSION}/functions/_ports
+share/zsh/${PKGVERSION}/functions/_postfix
+share/zsh/${PKGVERSION}/functions/_prcs
+share/zsh/${PKGVERSION}/functions/_precommand
+share/zsh/${PKGVERSION}/functions/_prefix
+share/zsh/${PKGVERSION}/functions/_print
+share/zsh/${PKGVERSION}/functions/_printenv
+share/zsh/${PKGVERSION}/functions/_printers
+share/zsh/${PKGVERSION}/functions/_prompt
+share/zsh/${PKGVERSION}/functions/_ps
+share/zsh/${PKGVERSION}/functions/_pscp
+share/zsh/${PKGVERSION}/functions/_pspdf
+share/zsh/${PKGVERSION}/functions/_psutils
+share/zsh/${PKGVERSION}/functions/_pump
+share/zsh/${PKGVERSION}/functions/_putclip
+share/zsh/${PKGVERSION}/functions/_python
+share/zsh/${PKGVERSION}/functions/_qiv
+share/zsh/${PKGVERSION}/functions/_qtplay
+share/zsh/${PKGVERSION}/functions/_quilt
+share/zsh/${PKGVERSION}/functions/_raggle
+share/zsh/${PKGVERSION}/functions/_rake
+share/zsh/${PKGVERSION}/functions/_rar
+share/zsh/${PKGVERSION}/functions/_rcs
+share/zsh/${PKGVERSION}/functions/_read
+share/zsh/${PKGVERSION}/functions/_read_comp
+share/zsh/${PKGVERSION}/functions/_redirect
+share/zsh/${PKGVERSION}/functions/_regex_arguments
+share/zsh/${PKGVERSION}/functions/_renice
+share/zsh/${PKGVERSION}/functions/_requested
+share/zsh/${PKGVERSION}/functions/_retrieve_cache
+share/zsh/${PKGVERSION}/functions/_retrieve_mac_apps
+share/zsh/${PKGVERSION}/functions/_rlogin
+share/zsh/${PKGVERSION}/functions/_rpm
+share/zsh/${PKGVERSION}/functions/_rsync
+share/zsh/${PKGVERSION}/functions/_rubber
+share/zsh/${PKGVERSION}/functions/_ruby
+share/zsh/${PKGVERSION}/functions/_sablotron
+share/zsh/${PKGVERSION}/functions/_samba
+share/zsh/${PKGVERSION}/functions/_sccs
+share/zsh/${PKGVERSION}/functions/_sched
+share/zsh/${PKGVERSION}/functions/_schroot
+share/zsh/${PKGVERSION}/functions/_screen
+share/zsh/${PKGVERSION}/functions/_sed
+share/zsh/${PKGVERSION}/functions/_sep_parts
+share/zsh/${PKGVERSION}/functions/_service
+share/zsh/${PKGVERSION}/functions/_services
+share/zsh/${PKGVERSION}/functions/_set
+share/zsh/${PKGVERSION}/functions/_set_command
+share/zsh/${PKGVERSION}/functions/_setopt
+share/zsh/${PKGVERSION}/functions/_setup
+share/zsh/${PKGVERSION}/functions/_sh
+share/zsh/${PKGVERSION}/functions/_showmount
+share/zsh/${PKGVERSION}/functions/_signals
+share/zsh/${PKGVERSION}/functions/_slrn
+share/zsh/${PKGVERSION}/functions/_smit
+share/zsh/${PKGVERSION}/functions/_socket
+share/zsh/${PKGVERSION}/functions/_softwareupdate
+share/zsh/${PKGVERSION}/functions/_source
+share/zsh/${PKGVERSION}/functions/_spamassassin
+share/zsh/${PKGVERSION}/functions/_ssh
+share/zsh/${PKGVERSION}/functions/_sshfs
+share/zsh/${PKGVERSION}/functions/_stat
+share/zsh/${PKGVERSION}/functions/_store_cache
+share/zsh/${PKGVERSION}/functions/_strip
+share/zsh/${PKGVERSION}/functions/_stty
+share/zsh/${PKGVERSION}/functions/_su
+share/zsh/${PKGVERSION}/functions/_sub_commands
+share/zsh/${PKGVERSION}/functions/_subscript
+share/zsh/${PKGVERSION}/functions/_subversion
+share/zsh/${PKGVERSION}/functions/_sudo
+share/zsh/${PKGVERSION}/functions/_suffix_alias_files
+share/zsh/${PKGVERSION}/functions/_surfraw
+share/zsh/${PKGVERSION}/functions/_sysctl
+share/zsh/${PKGVERSION}/functions/_tags
+share/zsh/${PKGVERSION}/functions/_tar
+share/zsh/${PKGVERSION}/functions/_tar_archive
+share/zsh/${PKGVERSION}/functions/_telnet
+share/zsh/${PKGVERSION}/functions/_terminals
+share/zsh/${PKGVERSION}/functions/_tex
+share/zsh/${PKGVERSION}/functions/_texi
+share/zsh/${PKGVERSION}/functions/_texinfo
+share/zsh/${PKGVERSION}/functions/_tidy
+share/zsh/${PKGVERSION}/functions/_tiff
+share/zsh/${PKGVERSION}/functions/_tilde
+share/zsh/${PKGVERSION}/functions/_tilde_files
+share/zsh/${PKGVERSION}/functions/_time_zone
+share/zsh/${PKGVERSION}/functions/_tin
+share/zsh/${PKGVERSION}/functions/_tla
+share/zsh/${PKGVERSION}/functions/_toolchain-source
+share/zsh/${PKGVERSION}/functions/_totd
+share/zsh/${PKGVERSION}/functions/_tpb
+share/zsh/${PKGVERSION}/functions/_tpconfig
+share/zsh/${PKGVERSION}/functions/_trap
+share/zsh/${PKGVERSION}/functions/_ttyctl
+share/zsh/${PKGVERSION}/functions/_tune2fs
+share/zsh/${PKGVERSION}/functions/_twisted
+share/zsh/${PKGVERSION}/functions/_typeset
+share/zsh/${PKGVERSION}/functions/_ulimit
+share/zsh/${PKGVERSION}/functions/_uml
+share/zsh/${PKGVERSION}/functions/_unace
+share/zsh/${PKGVERSION}/functions/_unexpand
+share/zsh/${PKGVERSION}/functions/_unhash
+share/zsh/${PKGVERSION}/functions/_uniq
+share/zsh/${PKGVERSION}/functions/_unsetopt
+share/zsh/${PKGVERSION}/functions/_update-alternatives
+share/zsh/${PKGVERSION}/functions/_update-rc.d
+share/zsh/${PKGVERSION}/functions/_urls
+share/zsh/${PKGVERSION}/functions/_urpmi
+share/zsh/${PKGVERSION}/functions/_urxvt
+share/zsh/${PKGVERSION}/functions/_uscan
+share/zsh/${PKGVERSION}/functions/_user_admin
+share/zsh/${PKGVERSION}/functions/_user_at_host
+share/zsh/${PKGVERSION}/functions/_users
+share/zsh/${PKGVERSION}/functions/_users_on
+share/zsh/${PKGVERSION}/functions/_valgrind
+share/zsh/${PKGVERSION}/functions/_value
+share/zsh/${PKGVERSION}/functions/_values
+share/zsh/${PKGVERSION}/functions/_vared
+share/zsh/${PKGVERSION}/functions/_vars
+share/zsh/${PKGVERSION}/functions/_vim
+share/zsh/${PKGVERSION}/functions/_vnc
+share/zsh/${PKGVERSION}/functions/_volume_groups
+share/zsh/${PKGVERSION}/functions/_vorbis
+share/zsh/${PKGVERSION}/functions/_vux
+share/zsh/${PKGVERSION}/functions/_w3m
+share/zsh/${PKGVERSION}/functions/_wait
+share/zsh/${PKGVERSION}/functions/_wajig
+share/zsh/${PKGVERSION}/functions/_wanna-build
+share/zsh/${PKGVERSION}/functions/_wanted
+share/zsh/${PKGVERSION}/functions/_webbrowser
+share/zsh/${PKGVERSION}/functions/_wget
+share/zsh/${PKGVERSION}/functions/_whereis
+share/zsh/${PKGVERSION}/functions/_which
+share/zsh/${PKGVERSION}/functions/_whois
+share/zsh/${PKGVERSION}/functions/_wiggle
+share/zsh/${PKGVERSION}/functions/_x_arguments
+share/zsh/${PKGVERSION}/functions/_x_borderwidth
+share/zsh/${PKGVERSION}/functions/_x_color
+share/zsh/${PKGVERSION}/functions/_x_colormapid
+share/zsh/${PKGVERSION}/functions/_x_cursor
+share/zsh/${PKGVERSION}/functions/_x_display
+share/zsh/${PKGVERSION}/functions/_x_extension
+share/zsh/${PKGVERSION}/functions/_x_font
+share/zsh/${PKGVERSION}/functions/_x_geometry
+share/zsh/${PKGVERSION}/functions/_x_keysym
+share/zsh/${PKGVERSION}/functions/_x_locale
+share/zsh/${PKGVERSION}/functions/_x_modifier
+share/zsh/${PKGVERSION}/functions/_x_name
+share/zsh/${PKGVERSION}/functions/_x_resource
+share/zsh/${PKGVERSION}/functions/_x_selection_timeout
+share/zsh/${PKGVERSION}/functions/_x_title
+share/zsh/${PKGVERSION}/functions/_x_utils
+share/zsh/${PKGVERSION}/functions/_x_visual
+share/zsh/${PKGVERSION}/functions/_x_window
+share/zsh/${PKGVERSION}/functions/_xargs
+share/zsh/${PKGVERSION}/functions/_xauth
+share/zsh/${PKGVERSION}/functions/_xdvi
+share/zsh/${PKGVERSION}/functions/_xfig
+share/zsh/${PKGVERSION}/functions/_xloadimage
+share/zsh/${PKGVERSION}/functions/_xmlsoft
+share/zsh/${PKGVERSION}/functions/_xmodmap
+share/zsh/${PKGVERSION}/functions/_xpdf
+share/zsh/${PKGVERSION}/functions/_xscreensaver
+share/zsh/${PKGVERSION}/functions/_xset
+share/zsh/${PKGVERSION}/functions/_xt_arguments
+share/zsh/${PKGVERSION}/functions/_xt_session_id
+share/zsh/${PKGVERSION}/functions/_xterm
+share/zsh/${PKGVERSION}/functions/_xv
+share/zsh/${PKGVERSION}/functions/_xwit
+share/zsh/${PKGVERSION}/functions/_yast
+share/zsh/${PKGVERSION}/functions/_yodl
+share/zsh/${PKGVERSION}/functions/_yp
+share/zsh/${PKGVERSION}/functions/_yum
+share/zsh/${PKGVERSION}/functions/_zcat
+share/zsh/${PKGVERSION}/functions/_zcompile
+share/zsh/${PKGVERSION}/functions/_zdump
+share/zsh/${PKGVERSION}/functions/_zed
+share/zsh/${PKGVERSION}/functions/_zftp
+share/zsh/${PKGVERSION}/functions/_zip
+share/zsh/${PKGVERSION}/functions/_zle
+share/zsh/${PKGVERSION}/functions/_zmodload
+share/zsh/${PKGVERSION}/functions/_zmv
+share/zsh/${PKGVERSION}/functions/_zpty
+share/zsh/${PKGVERSION}/functions/_zstyle
+share/zsh/${PKGVERSION}/functions/allopt
+share/zsh/${PKGVERSION}/functions/backward-kill-word-match
+share/zsh/${PKGVERSION}/functions/backward-word-match
+share/zsh/${PKGVERSION}/functions/bashcompinit
+share/zsh/${PKGVERSION}/functions/capitalize-word-match
+share/zsh/${PKGVERSION}/functions/catch
+share/zsh/${PKGVERSION}/functions/checkmail
+share/zsh/${PKGVERSION}/functions/colors
+share/zsh/${PKGVERSION}/functions/compaudit
+share/zsh/${PKGVERSION}/functions/compdump
+share/zsh/${PKGVERSION}/functions/compinit
+share/zsh/${PKGVERSION}/functions/compinstall
+share/zsh/${PKGVERSION}/functions/copy-earlier-word
+share/zsh/${PKGVERSION}/functions/cycle-completion-positions
+share/zsh/${PKGVERSION}/functions/define-composed-chars
+share/zsh/${PKGVERSION}/functions/delete-whole-word-match
+share/zsh/${PKGVERSION}/functions/down-case-word-match
+share/zsh/${PKGVERSION}/functions/down-line-or-beginning-search
+share/zsh/${PKGVERSION}/functions/edit-command-line
+share/zsh/${PKGVERSION}/functions/forward-word-match
+share/zsh/${PKGVERSION}/functions/getjobs
+share/zsh/${PKGVERSION}/functions/harden
+share/zsh/${PKGVERSION}/functions/history-pattern-search
+share/zsh/${PKGVERSION}/functions/history-search-end
+share/zsh/${PKGVERSION}/functions/incarg
+share/zsh/${PKGVERSION}/functions/incremental-complete-word
+share/zsh/${PKGVERSION}/functions/insert-composed-char
+share/zsh/${PKGVERSION}/functions/insert-files
+share/zsh/${PKGVERSION}/functions/insert-unicode-char
+share/zsh/${PKGVERSION}/functions/is-at-least
+share/zsh/${PKGVERSION}/functions/keeper
+share/zsh/${PKGVERSION}/functions/kill-word-match
+share/zsh/${PKGVERSION}/functions/match-words-by-style
+share/zsh/${PKGVERSION}/functions/mere
+share/zsh/${PKGVERSION}/functions/narrow-to-region
+share/zsh/${PKGVERSION}/functions/narrow-to-region-invisible
+share/zsh/${PKGVERSION}/functions/nslookup
+share/zsh/${PKGVERSION}/functions/pick-web-browser
+share/zsh/${PKGVERSION}/functions/predict-on
+share/zsh/${PKGVERSION}/functions/prompt_adam1_setup
+share/zsh/${PKGVERSION}/functions/prompt_adam2_setup
+share/zsh/${PKGVERSION}/functions/prompt_bart_setup
+share/zsh/${PKGVERSION}/functions/prompt_bigfade_setup
+share/zsh/${PKGVERSION}/functions/prompt_clint_setup
+share/zsh/${PKGVERSION}/functions/prompt_elite2_setup
+share/zsh/${PKGVERSION}/functions/prompt_elite_setup
+share/zsh/${PKGVERSION}/functions/prompt_fade_setup
+share/zsh/${PKGVERSION}/functions/prompt_fire_setup
+share/zsh/${PKGVERSION}/functions/prompt_off_setup
+share/zsh/${PKGVERSION}/functions/prompt_oliver_setup
+share/zsh/${PKGVERSION}/functions/prompt_redhat_setup
+share/zsh/${PKGVERSION}/functions/prompt_suse_setup
+share/zsh/${PKGVERSION}/functions/prompt_walters_setup
+share/zsh/${PKGVERSION}/functions/prompt_zefram_setup
+share/zsh/${PKGVERSION}/functions/promptinit
+share/zsh/${PKGVERSION}/functions/promptnl
+share/zsh/${PKGVERSION}/functions/quote-and-complete-word
+share/zsh/${PKGVERSION}/functions/read-from-minibuffer
+share/zsh/${PKGVERSION}/functions/relative
+share/zsh/${PKGVERSION}/functions/replace-string
+share/zsh/${PKGVERSION}/functions/run-help
+share/zsh/${PKGVERSION}/functions/select-word-style
+share/zsh/${PKGVERSION}/functions/smart-insert-last-word
+share/zsh/${PKGVERSION}/functions/tetris
+share/zsh/${PKGVERSION}/functions/throw
+share/zsh/${PKGVERSION}/functions/transpose-words-match
+share/zsh/${PKGVERSION}/functions/up-case-word-match
+share/zsh/${PKGVERSION}/functions/up-line-or-beginning-search
+share/zsh/${PKGVERSION}/functions/url-quote-magic
+share/zsh/${PKGVERSION}/functions/which-command
+share/zsh/${PKGVERSION}/functions/zargs
+share/zsh/${PKGVERSION}/functions/zcalc
+share/zsh/${PKGVERSION}/functions/zed
+share/zsh/${PKGVERSION}/functions/zed-set-file-name
+share/zsh/${PKGVERSION}/functions/zkbd
+share/zsh/${PKGVERSION}/functions/zmv
+share/zsh/${PKGVERSION}/functions/zrecompile
+share/zsh/${PKGVERSION}/functions/zsh-mime-handler
+share/zsh/${PKGVERSION}/functions/zsh-mime-setup
+share/zsh/${PKGVERSION}/functions/zsh-newuser-install
+share/zsh/${PKGVERSION}/functions/zstyle+
+share/zsh/${PKGVERSION}/scripts/newuser
+@exec ${MKDIR} %D/share/zsh/site-functions
+@dirrm share/zsh/site-functions
+@dirrm share/zsh/${PKGVERSION}/scripts
+@dirrm share/zsh/${PKGVERSION}/functions
+@dirrm share/zsh/${PKGVERSION}
+@dirrm share/zsh
+@dirrm share/doc/zsh
diff --git a/shells/zsh-current/PLIST.dynamic b/shells/zsh-current/PLIST.dynamic
new file mode 100644
index 00000000000..309ac2e8683
--- /dev/null
+++ b/shells/zsh-current/PLIST.dynamic
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST.dynamic,v 1.3 2006/03/11 13:20:15 uebayasi Exp $
+lib/zsh/${PKGVERSION}/zsh/cap.so
+lib/zsh/${PKGVERSION}/zsh/clone.so
+lib/zsh/${PKGVERSION}/zsh/compctl.so
+lib/zsh/${PKGVERSION}/zsh/complete.so
+lib/zsh/${PKGVERSION}/zsh/complist.so
+lib/zsh/${PKGVERSION}/zsh/computil.so
+lib/zsh/${PKGVERSION}/zsh/datetime.so
+lib/zsh/${PKGVERSION}/zsh/deltochar.so
+lib/zsh/${PKGVERSION}/zsh/example.so
+lib/zsh/${PKGVERSION}/zsh/files.so
+lib/zsh/${PKGVERSION}/zsh/langinfo.so
+lib/zsh/${PKGVERSION}/zsh/mapfile.so
+lib/zsh/${PKGVERSION}/zsh/mathfunc.so
+lib/zsh/${PKGVERSION}/zsh/net/socket.so
+lib/zsh/${PKGVERSION}/zsh/net/tcp.so
+lib/zsh/${PKGVERSION}/zsh/newuser.so
+lib/zsh/${PKGVERSION}/zsh/parameter.so
+lib/zsh/${PKGVERSION}/zsh/rlimits.so
+lib/zsh/${PKGVERSION}/zsh/sched.so
+lib/zsh/${PKGVERSION}/zsh/stat.so
+lib/zsh/${PKGVERSION}/zsh/system.so
+lib/zsh/${PKGVERSION}/zsh/termcap.so
+lib/zsh/${PKGVERSION}/zsh/zftp.so
+lib/zsh/${PKGVERSION}/zsh/zle.so
+lib/zsh/${PKGVERSION}/zsh/zleparameter.so
+lib/zsh/${PKGVERSION}/zsh/zprof.so
+lib/zsh/${PKGVERSION}/zsh/zpty.so
+lib/zsh/${PKGVERSION}/zsh/zselect.so
+lib/zsh/${PKGVERSION}/zsh/zutil.so
+share/zsh/${PKGVERSION}/functions/tcp_alias
+share/zsh/${PKGVERSION}/functions/tcp_close
+share/zsh/${PKGVERSION}/functions/tcp_command
+share/zsh/${PKGVERSION}/functions/tcp_expect
+share/zsh/${PKGVERSION}/functions/tcp_fd_handler
+share/zsh/${PKGVERSION}/functions/tcp_log
+share/zsh/${PKGVERSION}/functions/tcp_open
+share/zsh/${PKGVERSION}/functions/tcp_output
+share/zsh/${PKGVERSION}/functions/tcp_point
+share/zsh/${PKGVERSION}/functions/tcp_proxy
+share/zsh/${PKGVERSION}/functions/tcp_read
+share/zsh/${PKGVERSION}/functions/tcp_rename
+share/zsh/${PKGVERSION}/functions/tcp_send
+share/zsh/${PKGVERSION}/functions/tcp_sess
+share/zsh/${PKGVERSION}/functions/tcp_shoot
+share/zsh/${PKGVERSION}/functions/tcp_spam
+share/zsh/${PKGVERSION}/functions/tcp_talk
+share/zsh/${PKGVERSION}/functions/tcp_wait
+share/zsh/${PKGVERSION}/functions/zfanon
+share/zsh/${PKGVERSION}/functions/zfautocheck
+share/zsh/${PKGVERSION}/functions/zfcd
+share/zsh/${PKGVERSION}/functions/zfcd_match
+share/zsh/${PKGVERSION}/functions/zfcget
+share/zsh/${PKGVERSION}/functions/zfclose
+share/zsh/${PKGVERSION}/functions/zfcput
+share/zsh/${PKGVERSION}/functions/zfdir
+share/zsh/${PKGVERSION}/functions/zffcache
+share/zsh/${PKGVERSION}/functions/zfgcp
+share/zsh/${PKGVERSION}/functions/zfget
+share/zsh/${PKGVERSION}/functions/zfget_match
+share/zsh/${PKGVERSION}/functions/zfgoto
+share/zsh/${PKGVERSION}/functions/zfhere
+share/zsh/${PKGVERSION}/functions/zfinit
+share/zsh/${PKGVERSION}/functions/zfls
+share/zsh/${PKGVERSION}/functions/zfmark
+share/zsh/${PKGVERSION}/functions/zfopen
+share/zsh/${PKGVERSION}/functions/zfparams
+share/zsh/${PKGVERSION}/functions/zfpcp
+share/zsh/${PKGVERSION}/functions/zfput
+share/zsh/${PKGVERSION}/functions/zfrglob
+share/zsh/${PKGVERSION}/functions/zfrtime
+share/zsh/${PKGVERSION}/functions/zfsession
+share/zsh/${PKGVERSION}/functions/zfstat
+share/zsh/${PKGVERSION}/functions/zftp_chpwd
+share/zsh/${PKGVERSION}/functions/zftp_progress
+share/zsh/${PKGVERSION}/functions/zftransfer
+share/zsh/${PKGVERSION}/functions/zftype
+share/zsh/${PKGVERSION}/functions/zfuget
+share/zsh/${PKGVERSION}/functions/zfuput
+@dirrm lib/zsh/${PKGVERSION}/zsh/net
+@dirrm lib/zsh/${PKGVERSION}/zsh
+@dirrm lib/zsh/${PKGVERSION}
+@dirrm lib/zsh
diff --git a/shells/zsh-current/PLIST.shlibs b/shells/zsh-current/PLIST.shlibs
new file mode 100644
index 00000000000..2813f00dfa8
--- /dev/null
+++ b/shells/zsh-current/PLIST.shlibs
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.shlibs,v 1.3 2006/03/11 13:20:15 uebayasi Exp $
+lib/zsh/libzsh-${PKGVERSION}.so
diff --git a/shells/zsh-current/PLIST.terminfo b/shells/zsh-current/PLIST.terminfo
new file mode 100644
index 00000000000..aca6af37884
--- /dev/null
+++ b/shells/zsh-current/PLIST.terminfo
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.terminfo,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
+lib/zsh/${PKGVERSION}/zsh/terminfo.so
diff --git a/shells/zsh-current/distinfo b/shells/zsh-current/distinfo
new file mode 100644
index 00000000000..b6c45269816
--- /dev/null
+++ b/shells/zsh-current/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.8 2006/03/11 13:20:15 uebayasi Exp $
+
+SHA1 (zsh-4.3.2.tar.bz2) = a6dd50c7578812bdb30f4cb65c8ac280c86dbfc3
+RMD160 (zsh-4.3.2.tar.bz2) = 2bb4431db21cffdb2da4751c0fdaeca5efd0b61e
+Size (zsh-4.3.2.tar.bz2) = 2263544 bytes
+SHA1 (patch-aa) = b066925bacaf5bbeb0da2ab0863c4e93288fc3da
+SHA1 (patch-ab) = 6ffe8b8b82d04bb27c5e4fb43b75f7f8de64f7c9
+SHA1 (patch-ac) = 95e15527e75685cbc140066efeec12127a4863ce
+SHA1 (patch-ae) = dbf50ba5bb5141ea4583c02963d7e114e402d022
diff --git a/shells/zsh-current/options.mk b/shells/zsh-current/options.mk
new file mode 100644
index 00000000000..db8222a85e9
--- /dev/null
+++ b/shells/zsh-current/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.zsh
+PKG_SUPPORTED_OPTIONS= zsh-multibyte
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mzsh-multibyte)
+CONFIGURE_ARGS+= --enable-multibyte
+.endif
diff --git a/shells/zsh-current/patches/patch-aa b/shells/zsh-current/patches/patch-aa
new file mode 100644
index 00000000000..f0e44b906e4
--- /dev/null
+++ b/shells/zsh-current/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2006/03/11 13:20:15 uebayasi Exp $
+
+--- Doc/Makefile.in.orig 2005-10-29 01:40:15.000000000 +0900
++++ Doc/Makefile.in
+@@ -37,7 +37,7 @@ INSTALL = @INSTALL@
+
+ @DEFS_MK@
+
+-MAKEINFO = makeinfo
++MAKEINFO = makeinfo --no-split
+ TEXI2DVI = texi2dvi
+ DVIPS = dvips
+ TEXI2HTML = texi2html --output . --ifinfo --split=chapter
diff --git a/shells/zsh-current/patches/patch-ab b/shells/zsh-current/patches/patch-ab
new file mode 100644
index 00000000000..0b2d544727e
--- /dev/null
+++ b/shells/zsh-current/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
+
+--- Src/zsh.h.orig 2006-01-17 19:40:06.000000000 +0900
++++ Src/zsh.h
+@@ -1690,6 +1690,7 @@ struct ttyinfo {
+ #endif
+ };
+
++#ifndef __INTERIX
+ /* defines for whether tabs expand to spaces */
+ #if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H)
+ #define SGTTYFLAG shttyinfo.tio.c_oflag
+@@ -1705,6 +1706,7 @@ struct ttyinfo {
+ #define SGTABTYPE XTABS
+ # endif
+ # endif
++#endif
+
+ /* flags for termflags */
+
diff --git a/shells/zsh-current/patches/patch-ac b/shells/zsh-current/patches/patch-ac
new file mode 100644
index 00000000000..206d44ffff6
--- /dev/null
+++ b/shells/zsh-current/patches/patch-ac
@@ -0,0 +1,32 @@
+$NetBSD: patch-ac,v 1.3 2006/03/11 13:20:15 uebayasi Exp $
+
+--- configure.orig 2006-02-28 23:44:59.000000000 +0900
++++ configure
+@@ -16066,6 +16066,10 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6
+ DLLD="${DLLD=$CC}"
+ DLLDARG=""
+ ;;
++ *interix*)
++ DLLD="${DLLD=$CC}"
++ DLLDARG=""
++ ;;
+ * )
+ DLLD="${DLLD=ld}"
+ DLLDARG=""
+@@ -16076,6 +16080,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6
+ case "$host_os" in
+ hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;;
++ interix*) DLCFLAGS="${DLCFLAGS=}" ;;
+ *) DLCFLAGS="${DLCFLAGS=-fPIC}" ;;
+ esac
+ else
+@@ -16089,7 +16094,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6
+ esac
+ fi
+ case "$host_os" in
+- *freebsd*|linux*|irix*|osf*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
++ *freebsd*|linux*|irix*|osf*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
+ sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
+ netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
diff --git a/shells/zsh-current/patches/patch-ae b/shells/zsh-current/patches/patch-ae
new file mode 100644
index 00000000000..857b6cfd4bc
--- /dev/null
+++ b/shells/zsh-current/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
+
+--- Src/mkmakemod.sh.orig 2005-08-09 18:55:18.000000000 +0900
++++ Src/mkmakemod.sh
+@@ -112,8 +112,7 @@ if $first_stage; then
+ module_list="${bin_mods}${dyn_mods}"
+
+ # check both 2.13 and 2.50 syntax
+- if grep '%@D@%D%' config.status >/dev/null ||
+- grep ',@D@,D,' config.status >/dev/null; then
++ if grep '^#[ \t]*define[ \t][ \t]*DYNAMIC[ \t]' config.h >/dev/null; then
+ is_dynamic=true
+ else
+ is_dynamic=false