summaryrefslogtreecommitdiff
path: root/homebrew/zsh/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/zsh/.make.sh-auto')
-rw-r--r--homebrew/zsh/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/zsh/.make.sh-auto b/homebrew/zsh/.make.sh-auto
new file mode 100644
index 000000000..ca26bb339
--- /dev/null
+++ b/homebrew/zsh/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+pkg:configure --enable-fndir=${PKG_TAPF}/share/functions --enable-scriptdir=${PKG_TAPF}/share/scripts --enable-site-fndir=#{HOMEBREW_PREFIX}/share/zsh/site-functions --enable-site-scriptdir=#{HOMEBREW_PREFIX}/share/zsh/site-scripts --enable-runhelpdir=${PKG_TAPF}/share/help --enable-cap --enable-maildir-support --enable-multibyte --enable-pcre --enable-zsh-secure-free --enable-unicode9 --enable-etcdir=/etc --with-tcsetpgrp DL_EXT=bundle
+inreplace ["Makefile", "Src/Makefile"], "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)"
+make DESTDIR=${PKG_DEST} install.bin install.modules install.fns
+else
+make DESTDIR=${PKG_DEST} install
+make DESTDIR=${PKG_DEST} install.info
+resource("htmldoc").stage do
+(pkgshare/"htmldoc").install Dir["Doc/*.html"]
+end