aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2008-12-05 13:20:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2008-12-05 13:20:00 +0000
commit175c869d3fcd7b341b62c3a9ef4c08026a0fd8a4 (patch)
tree4fab29b648d1c5498eac3195cb508ae06e42d112 /shells
parentb555c3ef0035c4c0fd798f9af44a32205f72b180 (diff)
downloadports-175c869d3fcd7b341b62c3a9ef4c08026a0fd8a4.tar.gz
ports-175c869d3fcd7b341b62c3a9ef4c08026a0fd8a4.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile8
-rw-r--r--shells/zsh/pkg-plist24
2 files changed, 31 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 0bfcf1fe8724..b351cb7907a6 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zsh
PORTVERSION= 4.3.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= shells
MASTER_SITES= SF
.if !defined(NOPORTDOCS)
@@ -124,5 +124,11 @@ post-install:
@(${GREP} -v ${PREFIX}/bin/zsh ${SHELLS}.bak; \
${ECHO_CMD} ${PREFIX}/bin/zsh) > ${SHELLS}
@${RM} ${SHELLS}.bak
+ @${PREFIX}/bin/zsh -fc ' \
+ setopt extendedglob; \
+ for i in ${DATADIR}/${ZSH_VER}/functions/**/*(/) ; do \
+ zcompile -U -M $$i.zwc $$i/*~*.zwc(^/) ; \
+ chmod 644 $$i.zwc ; \
+ done'
.include <bsd.port.post.mk>
diff --git a/shells/zsh/pkg-plist b/shells/zsh/pkg-plist
index 36979bfa0d9d..6d6a4dacc93b 100644
--- a/shells/zsh/pkg-plist
+++ b/shells/zsh/pkg-plist
@@ -830,6 +830,30 @@ bin/zsh-%%ZSH_VER%%
%%DATADIR%%/%%ZSH_VER%%/functions/Zle/which-command
%%DATADIR%%/%%ZSH_VER%%/functions/Zle/zed-set-file-name
%%DATADIR%%/%%ZSH_VER%%/scripts/newuser
+%%DATADIR%%/%%ZSH_VER%%/functions/Zle.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Zftp.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/VCS_Info/Backends.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/VCS_Info.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/TCP.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Prompts.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Newuser.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Misc.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/MIME.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Exceptions.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/X.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Redhat.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Mandriva.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Linux.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Debian.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Darwin.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Cygwin.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Base.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/BSD.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion/AIX.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Completion.zwc
+%%DATADIR%%/%%ZSH_VER%%/functions/Calendar.zwc
@dirrm %%DATADIR%%/%%ZSH_VER%%/functions/Zle
@dirrm %%DATADIR%%/%%ZSH_VER%%/functions/Zftp
@dirrm %%DATADIR%%/%%ZSH_VER%%/functions/VCS_Info/Backends