Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/shells
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15299

Added Files:
        zsh-helpfiles.info 
Log Message:
zsh-helpfiles adds an optional run-help function to augment zsh documentation

--- NEW FILE: zsh-helpfiles.info ---
Package: zsh-helpfiles
Version: 4.2.5
Revision: 1
Depends: zsh (>= 4.2.5)
BuildDepends: zsh (>= 4.2.5)
CustomMirror: <<
  Master: ftp://ftp.zsh.org/pub/
  eur: ftp://ftp.lysator.liu.se/pub/unix/zsh/
  eur-NL: ftp://ftp.demon.nl/pub/mirrors/zsh/
  eur-DE: ftp://ftp.demon.nl/pub/mirrors/zsh/
  aus-AU: ftp://ftp.zsh.org/zsh/
  eur-DK: ftp://sunsite.dk/pub/unix/shells/zsh/
  eur-FI: ftp://sunsite.dk/pub/unix/shells/zsh/
  eur-FR: ftp://nephtys.lip6.fr/pub/unix/shells/zsh/
  eur-HU: ftp://ftp.cs.elte.hu/pub/zsh/
  eur-IL: ftp://ftp.math.technion.ac.il/pub/zsh/
  asi-JP: ftp://ftp.math.technion.ac.il/pub/zsh/
  asi-JP: ftp://ftp.ayamura.org/pub/zsh/
  asi-KR: ftp://ftp.ayamura.org/pub/zsh/
  eur-PL: ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/
  eur-RO: ftp://ftp.roedu.net/pub/mirrors/ftp.zsh.org/pub/zsh/
  eur-RO: ftp://ftp.kappa.ro/pub/mirrors/ftp.zsh.org/pub/zsh/
  eur-SE: ftp://ftp.lysator.liu.se/pub/unix/zsh/
  eur-UK: ftp://ftp.lysator.liu.se/pub/unix/zsh/ 
  nam-US: http://mirrors.theonlinerecordstore.com/zsh/
<<
Source: mirror:custom:/zsh-%v.tar.bz2
Source-MD5: e2060f743dcdf3b383e80e862a6548fe 
Source2: 
http://www.chemistry.ucsc.edu/~wgscott/mystuff/zsh/Library/init/zsh/local-functions/run-help
Source2-MD5: 371638ce4c255993ea9c528981b3d113
CompileScript:<<
#!/bin/zsh -f
# the perl magic token breaks Util/helpfiles
perl -pi.bak -e 's|/usr/local/bin/perl -- -\*-perl-\*-|/usr/bin/perl |g' 
Util/helpfiles
mkdir temp
cd temp
command man -M %p/share/man zshall | colcrt - |  ../Util/helpfiles
<<
InstallScript:<<
#!/bin/zsh -f
mkdir -p %i/share/zsh/zsh_help
cp temp/* %i/share/zsh/zsh_help/.
mkdir -p %i/share/zsh/site-functions
cp ../run-help %i/share/zsh/site-functions/.
#
mkdir -p  %i/etc/profile.d
#
cat >|  %i/etc/profile.d/zsh-helpfiles.sh  << eof-1
#
if [[ -n  \$ZSH_VERSION ]]; then                
    if [[ -z \$HELPDIR ]]; then                  
        HELPDIR=%p/share/zsh/zsh_help               
    else                                      
        HELPDIR=%p/share/zsh/zsh_help:\$HELPDIR     
    fi                                             
        export -TU HELPDIR helpdir
        typeset -U helpdir   #keeps helpdir and HELPDIR trimmed
                      
    #The directory containing run-help must be prepended to the \$FPATH
    FPATH=%p/share/zsh/site-functions:\$FPATH    
        export FPATH                               
        typeset -U fpath   # keeps fpath and FPATH trimmed
        autoload -U run-help
fi
#

eof-1
#
echo "# This file is an empty place-holder. "  >|  
%i/etc/profile.d/zsh-helpfiles.csh
#
chmod a+x %i/etc/profile.d/zsh-helpfiles.*sh
<< 
Description: Z Shell help files
DescDetail: <<
The helpfiles utility, found in the Util directory of the distribution,
is a Perl program that can be used to process the zsh manual to produce
a separate help file for each shell builtin and for  many  other  shell
features  as  well.  The autoloadable run-help function, found in Func-
tions/Misc, searches for these helpfiles  and  performs  several  other
tests to produce the most complete help possible for the command.  This 
package installs a corrected version of run-help that will not clobber
the $HELPDIR variable that at least one other (unrelated) fink package
declares.
<<
DescUsage: <<
Fink automatically issues the command "autoload -U run-help" upon z-shell 
startup. Then, for example, issuing "run-help zargs" will enable you to 
view a formatted helpfile extracted from the zsh man pages for the zsh 
function zargs.  The environment variable $HELPDIR should point to
/sw/share/zsh/zsh_help; this too is set up automatically by fink.
<<
License: GPL
Maintainer: W. Scott <[EMAIL PROTECTED]>
Homepage: http://zsh.sunsite.dk/



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to