Commit graph

109 commits

Author SHA1 Message Date
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
uebayasi
652605de6a Update zsh to 4.2.6.
Better DragonFly support, new complete functions (arch_archives,
arch_namespace, bzr, cplay, date, dchroot, dlocate, dpkg-cross,
git, madison, module-assistant, piuparts, quilt, toolchain-source,
urxvt, and xpdf), bug fixes, etc.
2005-12-07 03:00:50 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
uebayasi
ef27f94532 Honour PKG_SYSCONFDIR. Bump revision.
PR32026 from Geert Hendrickx.
2005-11-26 15:41:16 +00:00
wiz
ee85d6015b Remove a master site that does not provide the distfile any longer. 2005-10-26 00:04:54 +00:00
rillig
5b0b143fb9 Fixed pkglint warnings. 2005-10-23 15:36:48 +00:00
joerg
e11995dcd3 Allow the one-true-shell to work on DragonFly. Patches are included
upstream already.
2005-10-11 12:43:00 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
hiramatsu
d1cbf81450 Fix PLIST on OpenBSD.
- Changed IRIX, Interix, Linux and OpenBSD share PLIST.terminfo,
  instead of PLIST for each OS.

- zsh doesn't build libzsh-4.2.5.so on OpenBSD, so PLIST.shlibs
  should be excluded.
2005-08-07 20:18:07 +00:00
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
2005-07-29 18:32:17 +00:00
minskim
f285dde647 Make this package build on Linux by correcting PLIST. Fixes PR pkg/29552. 2005-06-14 18:39:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
f3f2f5a5dd Changes 4.2.5:
* Bug-fix release
* Fixes few configuration problems, notably on MacOSX
2005-04-07 14:16:41 +00:00
jschauma
bba906c22c Make this work on IRIX.
NB: this needs an install-sh that supports "-S -f", as in rev. 1.3 of
bootstrap/files/install-sh.in.  After installing that install-sh, set
_STRIPFLAG_INSTALL?=    -S -f
in mk/platform/IRIX.mk and all should be peachy.  This will be done
correctly eventually, don't worry. :-)
2005-03-04 03:59:32 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
adam
dbf06dff04 Changes 4.2.4:
* Bug-fix release
2005-02-21 11:07:37 +00:00
tv
f8de7ad95c Pull in PLIST.${OPSYS} if existant. 2005-01-25 13:13:55 +00:00
tv
4aff0ffd55 Pick up previously orphaned terminfo.so installed file. 2005-01-25 13:11:16 +00:00
uebayasi
07332d225d Teach about Interix further. From Yoshifumi Hiramatsu. 2005-01-21 02:40:41 +00:00
uebayasi
2da652a15b Fix build on Interix. PR26847, from Hiramatsu Yoshifumi. 2005-01-18 12:44:53 +00:00
taca
3142579ba4 Add TEXINF_REQD to 4.0 to work on NetBSD 1.5.3.
Reported by mochida at Netside.
2004-11-25 16:12:54 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
tron
961af3b5fd Set "BUILDLINK_PASSTHRU_RPATHDIRS" to stop buildlink3 from removing "/lib"
from the run time shared library path instead of trying to defeat its
option parser.
2004-08-20 16:59:58 +00:00
tron
d3d855a78c Improve handling of "ZSH_STATIC" again:
1.) Only create a dynamically linked "zsh" binary if "MKDYNAMICROOT"
    is defined and set to "yes". This way people who still use statically
    linked binaries on their root filesystem will get a static binary.
2.) Link the "zsh" binary so that it use "/libexec/ld.elf_so" and
    shared libraries from "/lib". It now works without the "/usr"
    filesystem being mounted.
2004-08-20 11:48:46 +00:00
tron
c358f9e4d0 Don't create a statically linked "zsh" binary on NetBSD system which have
dynamic library support on the root partition (e.g. 2.0 and newer). It is
enough that the "zsh" binary does *not* depend on its own shared libraries
which won't be on the root partition and we get a shell with proper I18N
support this way. Approved by Masao Uebayashi.
2004-08-20 10:36:12 +00:00
recht
3c61724371 update to zsh-4.2.1
Changes since zsh version 4.2.0
-------------------------------

- The autoload and related builtins take options -k and -z to indicate
  ksh or zsh autoloading style for given functions, making it possible
  to mix and match.

- Assignments to associative arrays can use the i and r index flags.
  For example,
    assoc[(i)alpha*]=bravo
  sets the value for the element whose key matches the pattern `alpha*';
    assoc[(r)activ*]=passive
  sets the value for the element whose current value matches the pattern
  `activ*'.

- The glob qualifier F indicates a non-empty directory.  Hence *(F)
  indicates all subdirectories with entries, *(/^F) means all
  subdirectories with no entries.

- fc -p and fc -P provide push/pop for the status of the shell's
  history (both internal and using the history file).  With automatic
  scoping (fc -ap) it becomes easy to use a temporary history in a
  function.  This has been added to the calculator function zcalc to make
  its internal history work more seamlessly.

- A new `try block' and `always block' syntax has been introduced
  to make it easier to ensure the shell runs important tidy-up code
  in the event of an error.  It also runs after a break, continue, or
  return, including a return forced by the ERR_RETURN option
  (but not an exit, which is immediate).  The syntax is:
    `{'  try-block-list `}' `always' `{' always-block-list `}'
  where no newline or semicolon may appear between `}' and `always'.
  This is compatible with all previous valid zsh syntax as an `always'
  at that point used to be a syntax error.  For example,
    { echo Code run in current shell } always { echo Tidy-up code }

- A new zle widget reset-prompt has been added to re-expand the current
  prompt.  Changes to the variable in use as well as changes in its
  expanions are both taken into account.  The same effect is now forced by
  a job change notification, making the %j prompt escape and %(j..) ternary
  expression more useful.

- The zftp module supports ports following the hostname in the normal suffix
  notation, `host:port'.  This requires IPv6 colon-style addresses to be
  specified in suitably quoted square brackets, for example:

  zftp open '[f000::baaa]'
  zftp open '[f000::baaa]:ftp'

  (the two are equivalent).

- Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG
  and EXIT are no longer executed inside other traps.  This caused
  unnecessary confusion if, for example, both DEBUG and EXIT traps
  were set.  The new behaviour is more compatible with other shells.

- New option TRAPS_ASYNC which if set allows traps to run while the
  shell is waiting for a child process.  This is the traditional zsh
  behaviour; POSIX requires the option to be unset.  In sh/ksh
  compatibility mode the option is turned off by default and the option
  letter -T turns it on, for compatibility with FreeBSD sh.
2004-08-16 16:17:39 +00:00
minskim
af505085b2 Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi
in PR pkg/25946.
2004-08-04 03:33:40 +00:00
salo
0ac98a26de Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
2004-07-11 01:23:29 +00:00
cube
5ae8c7a8ea Enable pkgviews installation. 2004-05-06 22:29:36 +00:00
snj
64b64af3bb Convert to buildlink3. 2004-04-18 04:41:12 +00:00
minskim
d00e9f9a6a Add a missing file to PLIST. Noted by Kouichirou Hiratsuka in PR pkg/24976.
Bump PKGREVISION.
2004-03-30 16:09:56 +00:00
recht
27034c090f Add missing patch-ae.
Note by Geoff Wing
2004-03-28 18:35:45 +00:00
recht
ea1e8f68b5 Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@

New features between zsh versions 4.0 and 4.2
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.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
  `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
  zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
  aliases. Supplied function pick-web-browser is suitable for finding a browser
  to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.

Add-on modules and functions:

* zsh/datetime modules makes date formatting and seconds since EPOCH available
  inside the shell.
* 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. Plus many others.

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
* several other contributed widgets

Local internal improvements:

* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* 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 in zsh/mathfunc 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
* job table is dynamically sized, preventing overflow (typically seen
  previously in complex completions).
* many bugfixes
2004-03-28 10:30:13 +00:00
seb
31c3e475ec Remove info files entries from PLIST. 2004-03-10 00:58:44 +00:00
jlam
0ee68ead27 The zsh build process inspects the generated config.status file for the
presence of some strings to decide how to build zsh.  This is, of course,
a stupid thing to do, but we must not override config.status to "fix"
this build.  This fixes PR 24483.
2004-02-19 06:37:27 +00:00
jlam
4547c184e2 We no longer need to set CONFIG_STATUS_OVERRIDE to an empty value as
bsd.pkg.mk no longer overrides the ability of config.status to generate
new files.
2004-02-16 20:24:25 +00:00
jlam
48bb5272c4 The build process for zsh runs a shell script "Src/mkmakemod.sh" that
explicitly calls config.status to generate some Makefiles in certain
directories.  This particular package has a need for executing the real
config.status, so we need to avoid overriding it automatically.
2004-02-16 09:07:23 +00:00
uebayasi
8a9abd255f patch-ab is no longer needed. 2004-02-02 09:24:52 +00:00
uebayasi
406146460c Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PR
pkg/24297.

Changes since 4.0.7:
  - Many bug fixes.
  - Local improvements to various completion functions.
2004-02-02 08:48:40 +00:00
jmmv
f8a2024623 AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINER
accordingly.
2003-12-21 10:22:26 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
29aeeba7a6 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.
2003-08-05 13:37:51 +00:00
grant
57c9956e09 style nits 2003-06-30 13:46:04 +00:00
uebayasi
e5c8678258 Share Makefile, update patch sum. 2003-06-29 04:24:56 +00:00
uebayasi
cac7dd28bc Update to 4.0.7.
Bug fix release for stable version as well as a few completion
improvements.  Also includes more current MASTER_SITES.

PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
2003-06-20 05:59:02 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
uebayasi
ca5aa6ba12 Update my email address. 2003-02-06 04:24:11 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00