head	1.30;
access;
symbols
	pkgsrc-2013Q2:1.30.0.2
	pkgsrc-2013Q2-base:1.30
	pkgsrc-2012Q4:1.29.0.4
	pkgsrc-2012Q4-base:1.29
	pkgsrc-2012Q3:1.29.0.2
	pkgsrc-2012Q3-base:1.29
	pkgsrc-2012Q2:1.28.0.2
	pkgsrc-2012Q2-base:1.28
	pkgsrc-2012Q1:1.26.0.2
	pkgsrc-2012Q1-base:1.26
	pkgsrc-2011Q4:1.24.0.2
	pkgsrc-2011Q4-base:1.24
	pkgsrc-2011Q3:1.23.0.2
	pkgsrc-2011Q3-base:1.23
	pkgsrc-2011Q2:1.21.0.2
	pkgsrc-2011Q2-base:1.21
	pkgsrc-2011Q1:1.19.0.8
	pkgsrc-2011Q1-base:1.19
	pkgsrc-2010Q4:1.19.0.6
	pkgsrc-2010Q4-base:1.19
	pkgsrc-2010Q3:1.19.0.4
	pkgsrc-2010Q3-base:1.19
	pkgsrc-2010Q2:1.19.0.2
	pkgsrc-2010Q2-base:1.19
	pkgsrc-2010Q1:1.17.0.2
	pkgsrc-2010Q1-base:1.17
	pkgsrc-2009Q4:1.16.0.10
	pkgsrc-2009Q4-base:1.16
	pkgsrc-2009Q3:1.16.0.8
	pkgsrc-2009Q3-base:1.16
	pkgsrc-2009Q2:1.16.0.6
	pkgsrc-2009Q2-base:1.16
	pkgsrc-2009Q1:1.16.0.4
	pkgsrc-2009Q1-base:1.16
	pkgsrc-2008Q4:1.16.0.2
	pkgsrc-2008Q4-base:1.16
	pkgsrc-2008Q3:1.15.0.4
	pkgsrc-2008Q3-base:1.15
	cube-native-xorg:1.15.0.2
	cube-native-xorg-base:1.15
	pkgsrc-2008Q2:1.14.0.2
	pkgsrc-2008Q2-base:1.14
	cwrapper:1.13.0.6
	pkgsrc-2008Q1:1.13.0.4
	pkgsrc-2008Q1-base:1.13
	pkgsrc-2007Q4:1.13.0.2
	pkgsrc-2007Q4-base:1.13
	pkgsrc-2007Q3:1.12.0.2
	pkgsrc-2007Q3-base:1.12
	pkgsrc-2007Q2:1.9.0.12
	pkgsrc-2007Q2-base:1.9
	pkgsrc-2007Q1:1.9.0.10
	pkgsrc-2007Q1-base:1.9
	pkgsrc-2006Q4:1.9.0.8
	pkgsrc-2006Q4-base:1.9
	pkgsrc-2006Q3:1.9.0.6
	pkgsrc-2006Q3-base:1.9
	pkgsrc-2006Q2:1.9.0.4
	pkgsrc-2006Q2-base:1.9
	pkgsrc-2006Q1:1.9.0.2
	pkgsrc-2006Q1-base:1.9
	pkgsrc-2005Q4:1.7.0.16
	pkgsrc-2005Q4-base:1.7
	pkgsrc-2005Q3:1.7.0.14
	pkgsrc-2005Q3-base:1.7
	pkgsrc-2005Q2:1.7.0.12
	pkgsrc-2005Q2-base:1.7
	pkgsrc-2005Q1:1.7.0.10
	pkgsrc-2005Q1-base:1.7
	pkgsrc-2004Q4:1.7.0.8
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.7.0.6
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.4
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.7.0.2
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	buildlink2-base:1.2
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.30
date	2013.01.31.09.36.01;	author wiz;	state dead;
branches;
next	1.29;

1.29
date	2012.07.22.10.04.32;	author ryoon;	state Exp;
branches;
next	1.28;

1.28
date	2012.04.14.16.03.41;	author ryoon;	state Exp;
branches;
next	1.27;

1.27
date	2012.04.14.16.02.45;	author ryoon;	state Exp;
branches;
next	1.26;

1.26
date	2012.03.03.12.54.21;	author wiz;	state Exp;
branches;
next	1.25;

1.25
date	2012.01.14.14.39.18;	author ryoon;	state Exp;
branches;
next	1.24;

1.24
date	2011.12.14.11.09.33;	author wiz;	state Exp;
branches;
next	1.23;

1.23
date	2011.07.30.11.53.52;	author ryoon;	state Exp;
branches;
next	1.22;

1.22
date	2011.07.22.12.28.26;	author ryoon;	state Exp;
branches;
next	1.21;

1.21
date	2011.04.05.15.03.44;	author ryoon;	state Exp;
branches;
next	1.20;

1.20
date	2011.04.05.13.54.24;	author ryoon;	state Exp;
branches;
next	1.19;

1.19
date	2010.05.07.12.02.45;	author jmmv;	state Exp;
branches;
next	1.18;

1.18
date	2010.04.29.22.23.37;	author wiz;	state Exp;
branches;
next	1.17;

1.17
date	2010.02.27.18.19.02;	author snj;	state Exp;
branches;
next	1.16;

1.16
date	2008.12.21.16.53.45;	author uebayasi;	state Exp;
branches;
next	1.15;

1.15
date	2008.07.25.09.14.48;	author ghen;	state Exp;
branches;
next	1.14;

1.14
date	2008.07.13.18.26.24;	author tonnerre;	state Exp;
branches;
next	1.13;

1.13
date	2007.11.07.09.59.27;	author bjs;	state Exp;
branches;
next	1.12;

1.12
date	2007.10.01.04.16.07;	author uebayasi;	state Exp;
branches;
next	1.11;

1.11
date	2007.09.21.05.24.43;	author uebayasi;	state Exp;
branches;
next	1.10;

1.10
date	2007.08.07.18.54.31;	author jlam;	state Exp;
branches;
next	1.9;

1.9
date	2006.03.18.01.02.21;	author uebayasi;	state Exp;
branches;
next	1.8;

1.8
date	2006.03.11.13.20.15;	author uebayasi;	state Exp;
branches;
next	1.7;

1.7
date	2004.03.28.14.27.29;	author uebayasi;	state dead;
branches;
next	1.6;

1.6
date	2003.08.05.13.37.52;	author seb;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.17.22.53.24;	author grant;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.29.04.24.57;	author uebayasi;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.29.03.05.28;	author uebayasi;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.05.04.10.04;	author jtb;	state dead;
branches;
next	1.1;

1.1
date	2001.05.18.20.31.19;	author jtb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.05.18.20.31.19;	author jtb;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.06.29.03.00.47;	author uebayasi;	state Exp;
branches;
next	;


desc
@@


1.30
log
@Remove zsh-current -- for some time now it is much older than shells/zsh.
@
text
@# $NetBSD: Makefile,v 1.29 2012/07/22 10:04:32 ryoon Exp $

.include "../../shells/zsh/Makefile.common"

ZSH_VERSION=	4.3.17
ZSH_MAINTAINER=	ryoon@@NetBSD.org

USE_TOOLS+=	env

CONFIGURE_ARGS+=	--disable-gdbm

SUBST_CLASSES+=	prefix-fixup
SUBST_STAGE.prefix-fixup=	pre-configure
SUBST_FILES.prefix-fixup= \
	Misc/globtests \
	Misc/globtests.ksh \
	Test/ztst.zsh \
	Util/reporter \
	Functions/Calendar/calendar_add \
	Functions/Misc/run-help \
	Functions/Misc/checkmail \
	Functions/Misc/sticky-note \
	Functions/Misc/zcalc \
	Functions/Misc/zkbd \
	Functions/Misc/zed \
	Functions/Example/cat
SUBST_SED.prefix-fixup= \
	-e 's|^\#\!/bin/env|\#\!${TOOLS_PATH.env}|g' \
	-e 's|^\#\! /bin/env|\#\! ${TOOLS_PATH.env}|g' \
	-e 's|^\#\!/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
	-e 's|^\#\! /bin/zsh|\#\! ${PREFIX}/bin/zsh|g' \
	-e 's|^\#\!/usr/local/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
	-e 's|^\#\! /usr/local/bin/zsh|\#\! ${PREFIX}/bin/zsh|g'

.include "../../mk/bsd.pkg.mk"
@


1.29
log
@PLIST.xattr is moved to zsh/Makefile.common.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2012/04/14 16:03:41 ryoon Exp $
@


1.28
log
@Remove PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2012/04/14 16:02:45 ryoon Exp $
a11 5
PLIST_VARS+=	xattr
.if exists(/usr/include/sys/xattr.h)
PLIST.xattr=	yes
.endif

@


1.27
log
@Update to 4.3.17

Changelog:
* Fix some completion bugs
* Add command completions
* Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2012/03/03 12:54:21 wiz Exp $
a3 1
PKGREVISION=1
@


1.26
log
@More pcre PKGREVISION bumps.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2012/01/14 14:39:18 ryoon Exp $
d6 1
a6 1
ZSH_VERSION=	4.3.15
d13 1
a13 1
PLIST_VARS+=   xattr
d15 1
a15 1
PLIST.xattr=   yes
@


1.25
log
@Update to 4.3.15

Changelog:
* Bugfixes.
* Many improvements especially functions and completion.

Tested on NetBSD/i386 5.99.59 and 5.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2011/12/14 11:09:33 wiz Exp $
d4 1
@


1.24
log
@Let mplayer autocomplete .webm files.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2011/07/30 11:53:52 ryoon Exp $
d5 1
a5 2
ZSH_VERSION=	4.3.12
PKGREVISION=	1
@


1.23
log
@Update to 4.3.12

Changes:
Improved error handling in POSIX emulation, ${NAME:OFFSET:LENGTH}
syntax supports negative LENGTHs, new parameter expansion flag
(g:opts:) which escapes sequences like the echo and print builtins,
the region_highlight array is now updated dynamically as the command
line is edited and the zsh/parameter module has a new array $usergroups
which contains the names of system groups.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2011/07/22 12:28:26 ryoon Exp $
d6 1
@


1.22
log
@Fix PR pkg/45109

* Include obache@@'s patches.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2011/04/05 15:03:44 ryoon Exp $
d5 1
a5 1
ZSH_VERSION=	4.3.11
@


1.21
log
@* Remove PLIST.DragonFly, now CHECK_BUILTIN.curses is used.
* Disable gdbm support explicitly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2011/04/05 13:54:24 ryoon Exp $
d12 5
@


1.20
log
@Update to 4.3.11.

Changelog is too long.
Please read NEWS and Changelog file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2010/05/07 12:02:45 jmmv Exp $
d10 2
@


1.19
log
@Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2010/04/29 22:23:37 wiz Exp $
d5 2
a6 3
ZSH_VERSION=	4.3.10
PKGREVISION=	2
ZSH_MAINTAINER=	uebayasi@@NetBSD.org
d23 1
@


1.18
log
@Replace /bin/zsh in one more file. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2010/02/27 18:19:02 snj Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.17
log
@Update to 4.3.10.

Some highlighted changes (for full details, see the ChangeLog):

The command "emulate <mode> -c ..." evaluates an expression in a given
emulation.  The emulation is sticky for functions defined within the
expression.

The variable CORRECT_IGNORE gives a pattern that can be ignored
in spelling correction.  CORRECT_IGNORE='_*' ignores completion functions.

The option POSIX_ALIASES improves compatibility of aliases with other
shells.

The variable ZSH_PATCHLEVEL can be used to test for unreleased versions of
the shell; it is present but less useful in released versions.

The variables ZLE_REMOVE_SUFFIX_CHARS and ZLE_SPACE_SUFFIX_CHARS allow more
control over the way automatically removed suffixes are treated in
completion.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2008/12/21 16:53:45 uebayasi Exp $
d6 1
d21 1
@


1.16
log
@Update zsh-current to 4.3.9.

Changes from NEWS:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<

Major changes between versions 4.3.6 and 4.3.9
----------------------------------------------

The option COMBINING_CHARS has been added.  When it is set, the
line editor assumes the terminal is capable of displaying zero-width
combining characters (typically accents) correctly as modifications
to the base character, and will act accordingly.  Note it is not set
by default owing to vagaries of terminals.  The system is reported
to work on MacOS, where this is particularly important as accented
characters in file names are stored in their decomposed form (i.e.
with base and combining characters).

The option HIST_FCNTL_LOCK has been added to provide locking of history
files using the system call fcntl().  On recent NFS implementations this
may provide better reliability.

The syntax ~[...] provides a dynamic form of directory naming,
supplementing the existing static ~name syntax.  A user-defined shell
function, zsh_directory_name, is used to handle both expansion of names to
directories and contraction of directories to names.

Patterns can now be used in incremental searches with the new widgets
history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward.  These are not bound to
keys by default.

Highlighting and colouring of sections of the command line is now
supported, controlled by the array parameter zle_highlight and the ZLE
special parameter region_highlight.

Colouring of prompts is now supported within the shell by prompt
escapes.  The prompt theme system has been updated.

Various changes have been added to make debugging of shell code easier:
  - As noted in README, the option DEBUG_BEFORE_CMD is now set by default.
  - In DEBUG traps, $ZSH_DEBUG_CMD gives the code for which the trap is
    called as a string.
  - "setopt ERR_EXIT" in a DEBUG trap causes the code not to be executed.
  - $ZSH_SUBSHELL indicates the subshell level at which code is being
    executed.
  - The zsh/parameter module has various additional arrays similar to
    the existing $funcstack and $functrace, namely $funcsourcetrace
    and $funcfiletrace.  The consistency and informativeness of
    the output of all these arrays has been improved.
  - Prompt escapes %x and %I show the source file and line number in
    debug prompts (compare %N and %i which show names and line numbers
    in the execution environment).
  - The option NO_MULTI_FUNCDEF can turn off multiple definition of
    functions at once, a rarely used feature that can cause problems
    with misplaced "()".
  - The "fc" builtin has been enhanced to make non-interactive use possible
    and output consistent when the history is manipulated with "print -s".

The completion style accept-exact-dirs has been added.  When true, this
suppresses attempts to complete non-final directory segments of a filename
path when the directory exists.  (For example, /home/pws/src/zsh/<TAB>
discovers that /home/pws/src/zsh exists and leaves the directory component
alone, while /h/p/s/z/<TAB> completes to /home/pws/src/zsh/... as before.)
This should improve completion behaviour noticeably in special cases, such
as remote paths under Cygwin.

Major changes between versions 4.3.5 and 4.3.6
----------------------------------------------

cd, chdir, pushd and popd now take a -q option to suppress side effects
including printing the directory stack (for pushd and popd) and executing
the chpwd hook functions (for all four).

The parameter subscript (e) flag now forces the argument to be treated
as a string where it would previously have been treated as a pattern,
for example ${array[(ie)*]} substitutes the index of the element whose
value is "*".

Major changes between versions 4.3.4 and 4.3.5
----------------------------------------------

- The new extended globbing flag (#cN,M) behaves similarly to the extended
  regular expression syntax {N,M}.

- The zsh/datetime module has been enhanced and a calendar function
  system has been added along the lines of (but much enhanced from)
  the traditional Unix "calendar" utility.  This is still under
  development.  See the zshcalsys manual.  (The calendar functions
  were in 4.3.4 but were not listed in this file.  There have been
  significant enhancements since 4.3.4.)

- A new module zsh/curses provides a builtin zcurses for access to
  to the curses screen manipulation package.  See the entry for zsh/curses
  in the zshmodules manual.

- The module system has been enhanced to support the notion of "features"
  that give more control over which builtins, parameters, conditions
  and math functions are loaded from a module.  In particular,
  "zmodload -F zsh/stat b:zstat" makes the builtin previously called
  "stat" available as "zstat" (only) to avoid clashes with a system
  command named "stat".

>8-------->8-------->8-------->8-------->8-------->8-------->8--------
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
a5 1
ZSH_VERSION=	4.3.9
@


1.15
log
@Don't needlessly depend on a perl module for a perl script we do not install.
Bump PKGREVISION for zsh and zsh-current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2008/07/13 18:26:24 tonnerre Exp $
d5 1
a5 3
PKGREVISION=	3

ZSH_VERSION=	4.3.4
@


1.14
log
@Fix an insecure temp file creation vulnerability in zsh-current's difflog.pl
(CVE-2007-6209).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2007/11/07 09:59:27 bjs Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.13
log
@Add support for pcre to options.mk if ZSH_STATIC is undefined.  Bump rev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2007/10/01 04:16:07 uebayasi Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.12
log
@Fix embedded paths to /bin/env and /usr/local/bin/zsh.  Reported by joerg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2007/09/21 05:24:43 uebayasi Exp $
d5 2
@


1.11
log
@Update zsh-current to 4.3.4.

Several fixes of multi-byte character support.

Patch from Chris Ross, thanks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2007/08/07 18:54:31 jlam Exp $
d8 23
@


1.10
log
@Fix DESTDIR-handling for zsh-current by ensuring that the destdir-support
line is defined before bsd.prefs.mk is included.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2006/03/18 01:02:21 uebayasi Exp $
d5 1
a5 1
ZSH_VERSION=	4.3.2
a7 2
PKGREVISION=	1

@


1.9
log
@A missing file in PLIST; bump revision to 4.3.2p1.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.8 2006/03/11 13:20:15 uebayasi Exp $

.include "options.mk"
@


1.8
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
d10 2
@


1.7
log
@Now that the cutting-edge 4.2.0 release goes in shells/zsh.  No need
to catch up with the development releases any more.
@
text
@d1 4
a4 2
# $NetBSD: Makefile,v 1.6 2003/08/05 13:37:52 seb Exp $
#
d7 1
a7 1
ZSH_VERSION=	4.1.1
@


1.6
log
@Convert to USE_NEW_TEXINFO.
Use INSTALL_TARGET to install info files: this gives a proper
environment for USE_NEW_TEXINFO framework to work.

Fix makeinfo invocation for zsh-current via patch file so that
only _one_ info file is generated as PLIST seems to want it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/07/17 22:53:24 grant Exp $
@


1.5
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/06/29 04:24:57 uebayasi Exp $
a7 1
.include "../../mk/texinfo.mk"
@


1.4
log
@Share Makefile, update patch sum.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/06/29 03:05:28 uebayasi Exp $
d6 1
a6 1
ZSH_MAINTAINER=	uebayasi@@netbsd.org
@


1.3
log
@Um, re-do previous.
@
text
@d1 1
a1 46
# $NetBSD: Makefile,v 1.39 2003/03/14 19:37:55 jlam Exp $

DISTNAME=       zsh-4.1.1
CATEGORIES=	shells
MASTER_SITES=   ftp://ftp.rge.com/pub/shells/zsh/ \
		ftp://sunsite.auc.dk/pub/unix/shells/zsh/ \
		ftp://ftp.uit.no/pub/unix/shells/zsh/ \
		ftp://ftp.net.lut.ac.uk/zsh/ \
		ftp://ftp.zsh.org/zsh/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	gcw@@zsh.org
HOMEPAGE=	http://sunsite.dk/zsh/
COMMENT=	The Z shell

USE_BUILDLINK2=		yes
USE_PKGINSTALL=		yes
GNU_CONFIGURE=		yes
INFO_FILES=		zsh.info
TEXINFO_OVERRIDE=	yes

.include "../../mk/bsd.prefs.mk"

.if defined(ZSH_STATIC)
CONFIGURE_ARGS+=--disable-dynamic
LDFLAGS+=	-static
.else
.if ${OPSYS} == "SunOS"
PLIST_SRC=	${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
.else
LDFLAGS+=	-Wl,${RPATH_FLAG}${PREFIX}/lib/zsh
PLIST_SRC=	${PKGDIR}/PLIST.shlibs ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
.endif
.endif

.undef MANZ

PKG_SHELL=	${PREFIX}/bin/zsh

post-install:
	@@cd ${WRKSRC}/Doc; ${MAKE} install.info
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zsh
	@@cd ${WRKSRC}/Etc; ${INSTALL_DATA} BUGS FAQ FEATURES NEWS	\
		${PREFIX}/share/doc/zsh

# Utilize Zsh's test framework.
d3 1
a3 11
.PHONY: do-test do-su-test real-su-test

do-test: do-su-test

do-su-test:
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	${ECHO_MSG} "*** Warning: This test needs to be run as root"
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	realtarget="real-su-test";					\
	action="install";						\
	${_SU_TARGET}
d5 2
a6 5
real-su-test:
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	${ECHO_MSG} "${_PKGSRC_IN}> Testing for ${PKGNAME}"
	@@cd ${WRKSRC} && ${MAKE} check
	@@cd ${WRKSRC}/Test && ${MAKE} clean
@


1.2
log
@zsh-current has been outdated by zsh4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2001/05/18 20:31:19 jtb Exp $
d3 1
a3 1
DISTNAME=       zsh-3.1.9
a7 1
		ftp://ftp.cenatls.cena.dgac.fr/shells/zsh/ \
d10 1
d12 2
a13 2
MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://sunsite.auc.dk/zsh/
d16 5
a20 4
CONFLICTS=	zsh-3.0.*

GNU_CONFIGURE=	yes
INFO_FILES=	zsh.info
d25 1
d28 6
a33 1
PLIST+=		PLIST.dynamic
d36 4
d41 24
a64 4
	@@cd ${WRKSRC}/Doc; make install.info
	${CP} /etc/shells /etc/shells.bak
	(${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/zsh) >/etc/shells
	${RM} /etc/shells.bak
d66 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
@


1.1.1.1
log
@Initial import of zsh-current.

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).

Package provided in private mail by Masao Uebayashi <uebayasi@@soum.co.jp>
as a followup to pkg/12721.
@
text
@@


1.1.1.2
log
@Initial import of Zsh 4.1.1 into the NetBSD Packages Collection.

This is a development version of Zsh having more features than 4.0.x releases.

New features between zsh versions 4.0 and 4.1.1
-----------------------------------------------

Configuration:
- upgraded to use autoconf post-2.50
- improved compatibility with other shells through shell options,
  builtin arguments and improved builtin option parsing

Syntax and builtins:
- new printf builtin
- `+=' to append to parameters which works for scalars, arrays and (with
  pairs) associative arrays.
- enhanced multiple parameter `for' loops:
    for key value in key1 value1 key2 value2 ...
  maintaining full compatibility with POSIX syntax

Add-on modules and functions:
- zsh/net/tcp module provides builtin interface to TCP through ztcp
  builtin.  Function suite for interactive and script use with expect-style
  pattern matching.
- zsh/net/socket module provides zsocket builtin.
- zcalc calculator function with full line editing.
- builtin interface to pcre library
- zsh/zselect module provides zselect builtin as interface to select
  system call

Completion system:
- general improvements to command and context support, low-level functions,
  display code.
- in verbose mode, matches with the same description are grouped
- highly configurable completions for values of specific parameters,
  specific redirections for specific commands
- support for bash completion functions (typically zsh native functions are
  more powerful where available)
- New completions provided for (some of these may be in later 4.0
  releases):  valgrind, tidy, texinfo, infocmp, Java classes, larch, limit,
  locale parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange
  (dch), email addresses, file system types, Perforce, xsltproc.

Line editor:
- special parameters $PREDISPLAY, $POSTDISPLAY available in function
  widgets to configure uneditable text (for narrowing)
- recursive editing
- supplied widgets read-from-minibuffer, replace-string use these features
  (more intuitive prompting and argument reading than 4.0)
- access to killed text via $CUTBUFFER and $killring
- supplied highly configurable word widgets forward-word-match etc., can
  set what constitutes a word interactively or in startup script
  (implement bash-style behaviour, replacing previous bash-* word widgets)
- interface to incremental search via $LASTSEARCH
- better handling of keymaps in zle and widgets
- better support for output from user-defined widgets while zle is active
- tetris game which runs entirely in zle

Local internal improvements:
- disowned jobs are automatically restarted
- \u and \U print escapes for Unicode
- line numbers in error messages and $PS4 output are more consistent
- `=prog' expands only paths, no longer aliases for consistency
- job display in prompts; `jobs' command output can be piped
- prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
- rand48() function for better randomness in arithmetic
  (if the corresponding math library function is present)
- $SECONDS parameter can be made floating point via `typeset -F SECONDS'
  for better timing accuracy
- improvements to command line history mechanism
- many bugfixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2003/03/14 19:37:55 jlam Exp $
d3 1
a3 1
DISTNAME=       zsh-4.1.1
d8 1
a10 1
EXTRACT_SUFX=	.tar.bz2
d12 2
a13 2
MAINTAINER=	gcw@@zsh.org
HOMEPAGE=	http://sunsite.dk/zsh/
d16 4
a19 5
USE_BUILDLINK2=		yes
USE_PKGINSTALL=		yes
GNU_CONFIGURE=		yes
INFO_FILES=		zsh.info
TEXINFO_OVERRIDE=	yes
a23 1
CONFIGURE_ARGS+=--disable-dynamic
d26 1
a26 6
.if ${OPSYS} == "SunOS"
PLIST_SRC=	${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
.else
LDFLAGS+=	-Wl,${RPATH_FLAG}${PREFIX}/lib/zsh
PLIST_SRC=	${PKGDIR}/PLIST.shlibs ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
.endif
a28 4
.undef MANZ

PKG_SHELL=	${PREFIX}/bin/zsh

d30 4
a33 24
	@@cd ${WRKSRC}/Doc; ${MAKE} install.info
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zsh
	@@cd ${WRKSRC}/Etc; ${INSTALL_DATA} BUGS FAQ FEATURES NEWS	\
		${PREFIX}/share/doc/zsh

# Utilize Zsh's test framework.
#
.PHONY: do-test do-su-test real-su-test

do-test: do-su-test

do-su-test:
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	${ECHO_MSG} "*** Warning: This test needs to be run as root"
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	realtarget="real-su-test";					\
	action="install";						\
	${_SU_TARGET}

real-su-test:
	@@${_PKG_SILENT}${_PKG_DEBUG}					\
	${ECHO_MSG} "${_PKGSRC_IN}> Testing for ${PKGNAME}"
	@@cd ${WRKSRC} && ${MAKE} check
	@@cd ${WRKSRC}/Test && ${MAKE} clean
a34 1
.include "../../mk/texinfo.mk"
@

