| 1 | NAME = zsh |
|---|
| 2 | VERSION = 4.3.17 |
|---|
| 3 | CATEGORIES = devel |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Powerful UNIX shell |
|---|
| 7 | define BLURB |
|---|
| 8 | Zsh is a shell designed for interactive use, although it is also a |
|---|
| 9 | powerful scripting language. Many of the useful features of bash, |
|---|
| 10 | ksh, and tcsh were incorporated into zsh; many original features were added. |
|---|
| 11 | endef |
|---|
| 12 | |
|---|
| 13 | MASTER_SITES = $(SF_MIRRORS) |
|---|
| 14 | DISTFILES = $(NAME)-$(VERSION).tar.bz2 |
|---|
| 15 | DISTFILES += _pkgutil _mgar |
|---|
| 16 | |
|---|
| 17 | PACKAGES = CSWzsh |
|---|
| 18 | CATALOGNAME_CSWzsh = zsh |
|---|
| 19 | |
|---|
| 20 | LICENSE = LICENCE |
|---|
| 21 | |
|---|
| 22 | RUNTIME_DEP_PKGS = CSWlibiconv2 CSWlibncursesw5 CSWlibpcre1 CSWlibgdbm4 |
|---|
| 23 | BUILD_DEP_PKGS = CSWpcre |
|---|
| 24 | |
|---|
| 25 | SPKG_SOURCEURL = http://www.zsh.org |
|---|
| 26 | UPSTREAM_MASTER_SITES = http://www.zsh.org/pub/ |
|---|
| 27 | |
|---|
| 28 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 29 | CONFIGURE_ARGS += --enable-maildir-support |
|---|
| 30 | CONFIGURE_ARGS += --enable-fndir=$(sharedstatedir)/$(NAME)/functions |
|---|
| 31 | CONFIGURE_ARGS += --enable-pcre |
|---|
| 32 | |
|---|
| 33 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_units |
|---|
| 34 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_hg |
|---|
| 35 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_loadkeys |
|---|
| 36 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_ecasound |
|---|
| 37 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_path_commands |
|---|
| 38 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_lintian |
|---|
| 39 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_lsusb |
|---|
| 40 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/run-help |
|---|
| 41 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_cdrdao |
|---|
| 42 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/_setxkbmap |
|---|
| 43 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_units |
|---|
| 44 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/bin/zsh-$(VERSION) |
|---|
| 45 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/man/man1/zshcontrib.1 |
|---|
| 46 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_gcc |
|---|
| 47 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_urls |
|---|
| 48 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_path_files |
|---|
| 49 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zshmisc.1 |
|---|
| 50 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zshmodules.1 |
|---|
| 51 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zshoptions.1 |
|---|
| 52 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zshcontrib.1 |
|---|
| 53 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zshparam.1 |
|---|
| 54 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_complete_tag |
|---|
| 55 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/_twisted |
|---|
| 56 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/local|root/opt/csw/share/zsh/functions/compaudit |
|---|
| 57 | CHECKPKG_OVERRIDES_CSWzsh += file-with-bad-content|/usr/share|root/opt/csw/share/zsh/functions/mere |
|---|
| 58 | |
|---|
| 59 | ETCSHELLS = /opt/csw/bin/zsh |
|---|
| 60 | |
|---|
| 61 | include gar/category.mk |
|---|
| 62 | |
|---|
| 63 | # Use term.h from ncurses or we get compile errors |
|---|
| 64 | # http://www.zsh.org/mla/workers/2007/msg01236.html |
|---|
| 65 | CPPFLAGS := -I$(includedir)/ncursesw $(CPPFLAGS) |
|---|
| 66 | |
|---|
| 67 | post-install-modulated: |
|---|
| 68 | cp -p $(WORKDIR)/_pkgutil $(WORKDIR)/_mgar $(DESTDIR)$(sharedstatedir)/$(NAME)/functions |
|---|
| 69 | @$(MAKECOOKIE) |
|---|