Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17229/10.3/unstable/main/finkinfo/utils

Added Files:
        man.info man.patch 
Log Message:
added.

--- NEW FILE: man.info ---
Package: man
Version: 1.6c
Revision: 1
Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
Source: http://primates.ximian.com/~flucifredi/man/man-%v.tar.gz
Source-MD5: ac1e7d60dfedb7d1c6f398ae5b038996
Depends: jgroff, nkf
License: GPL
Homepage: http://primates.ximian.com/~flucifredi/man/
Description: Utility to show UNIX manpages
DescDetail: <<
This man command enables localized manpages, especially Japanese.

This is compatible with system man command (/usr/bin/man).
<<

ConfigureParams: +fhs +lang all
Patch: %n.patch
CompileScript: <<
./configure %c
./conf_script manpager src/man.conf.fink
mv src/man.conf.fink src/man.conf
make
<<
InstallScript: <<
make install DESTDIR=%d
install -m 755 manpager %i/bin
<<
DocFiles: COPYING README

--- NEW FILE: man.patch ---
diff -Naur man-1.6c.orig/configure man-1.6c/configure
--- man-1.6c.orig/configure     Thu Jan 12 01:24:20 2006
+++ man-1.6c/configure  Wed Mar 15 22:24:15 2006
@@ -1272,6 +1272,7 @@
   echo "$ce"                                                    >> $infile
   echo "Creating $infile from $infile.in"
   sed -e '
+s,@prefix@,$prefix,
 s,@version@,$version,
 s,@CC@,$CC,
 s,@BUILD_CC@,$BUILD_CC,
diff -Naur man-1.6c.orig/man2html/Makefile.in man-1.6c/man2html/Makefile.in
--- man-1.6c.orig/man2html/Makefile.in  Sat Aug 20 23:26:06 2005
+++ man-1.6c/man2html/Makefile.in       Wed Mar 15 22:24:15 2006
@@ -1,7 +1,7 @@
 CC = @CC@
 CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
 OBJECTS = man2html.o cgibase.o abbrev.o strdefs.o
-bindir = $(DESTDIR)$(PREFIX)/usr/bin
+bindir = $(DESTDIR)$(PREFIX)@bindir@
 mandir = $(DESTDIR)$(PREFIX)@mandir@
 vardir = $(DESTDIR)$(PREFIX)/var
 httpdir = $(DESTDIR)$(PREFIX)/home/httpd
diff -Naur man-1.6c.orig/manpager.in man-1.6c/manpager.in
--- man-1.6c.orig/manpager.in   Thu Jan  1 00:00:00 1970
+++ man-1.6c/manpager.in        Wed Mar 15 23:07:55 2006
@@ -0,0 +1,13 @@
+#! /bin/sh
+# Fink specific script to convert Japanese texts
+set -e
+pager=${FINK_MANPAGER-${MANPAGER-${PAGER-'less -isr'}}}
+case ${LC_ALL-${LANG}} in
+    ja*.SJIS|ja*.sjis|ja*.PCK) filter='@prefix@/bin/nkf -Es';;
+    ja*.UTF-8|ja*.utf-8) filter='@prefix@/bin/nkf -Ew';;
+    *) exec $pager "$@";;
+esac
+case $# in
+    0) $filter | $pager;;
+    *) for f in "$@"; do $filter "$f" | $pager; done;;
+esac
diff -Naur man-1.6c.orig/src/man.conf.fink.in man-1.6c/src/man.conf.fink.in
--- man-1.6c.orig/src/man.conf.fink.in  Thu Jan  1 00:00:00 1970
+++ man-1.6c/src/man.conf.fink.in       Wed Mar 15 23:05:38 2006
@@ -0,0 +1,142 @@
+# man.conf from @version@
+#
+# For more information about this file, see the man pages man(1)
+# and man.conf(5).
+#
+# This file is read by man to configure the default manpath (also used
+# when MANPATH contains an empty substring), to find out where the cat
+# pages corresponding to given man pages should be stored,
+# and to map each PATH element to a manpath element.
+# It may also record the pathname of the man binary. [This is unused.]
+# The format is:
+#
+# MANBIN               pathname
+# MANPATH              manpath_element [corresponding_catdir]
+# MANPATH_MAP          path_element    manpath_element
+#
+# If no catdir is given, it is assumed to be equal to the mandir
+# (so that this dir has both man1 etc. and cat1 etc. subdirs).
+# This is the traditional Unix setup.
+# Certain versions of the FSSTND recommend putting formatted versions
+# of /usr/.../man/manx/page.x into /var/catman/.../catx/page.x.
+# The keyword FSSTND will cause this behaviour.
+# Certain versions of the FHS recommend putting formatted versions of
+# /usr/.../share/man/[locale/]manx/page.x into
+# /var/cache/man/.../[locale/]catx/page.x.
+# The keyword FHS will cause this behaviour (and overrides FSSTND).
+# Explicitly given catdirs override.
+#
[EMAIL PROTECTED]@FSSTND
[EMAIL PROTECTED]@FHS
+#
+# This file is also read by man in order to find how to call nroff, less, etc.,
+# and to determine the correspondence between extensions and decompressors.
+#
+# MANBIN               /usr/local/bin/man
+#
+# Every automatically generated MANPATH includes these fields
+#
+MANPATH /usr/share/man
+MANPATH        /usr/local/man
+MANPATH        /usr/X11R6/man
+#
+# Uncomment if you want to include one of these by default
+#
+#MANPATH /opt/teTeX/man
+#MANPATH /usr/lib/perl5/man
+#MANPATH /usr/share/perl5/man
+#MANPATH /usr/share/tcl-8.0/man
+#MANPATH /usr/share/tk-8.0/man
+#MANPATH /usr/share/tix-4.1/man
+#MANPATH /usr/share/coas/man
+#MANPATH /usr/kerberos/man
+#
+# Set up PATH to MANPATH mapping
+#
+# If people ask for "man foo" and have "/dir/bin/foo" in their PATH
+# and the docs are found in "/dir/man", then no mapping is required.
+#
+# The below mappings are superfluous when the right hand side is
+# in the mandatory manpath already, but will keep man from statting
+# lots of other nearby files and directories.
+#
+MANPATH_MAP    /bin                    /usr/share/man
+MANPATH_MAP    /sbin                   /usr/share/man
+MANPATH_MAP    /usr/bin                /usr/share/man
+MANPATH_MAP    /usr/sbin               /usr/share/man
+MANPATH_MAP    /usr/local/bin          /usr/local/man
+MANPATH_MAP    /usr/local/sbin         /usr/local/man
+MANPATH_MAP    /usr/X11R6/bin          /usr/X11R6/man
+MANPATH_MAP    /usr/bin/X11            /usr/X11R6/man
+MANPATH_MAP    /usr/bin/mh             /usr/share/man
+#
+# NOAUTOPATH keeps man from automatically adding directories that look like
+# manual page directories to the path.
+#
+#NOAUTOPATH
+#
+# NOCACHE keeps man from creating cache pages ("cat pages")
+# (generally one enables/disable cat page creation by creating/deleting
+# the directory they would live in - man never does mkdir)
+# 
+#NOCACHE
+#
+# Useful paths - note that COL should not be defined when
+# NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
+# not only is it superfluous, but it actually damages the output.
+# For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
+# (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.)
+#
+# If you have a new troff (version 1.18.1?) and its colored output
+# causes problems, add the -c option to TROFF, NROFF, JNROFF.
+#
+TROFF          groff -Tps -mandoc
+NROFF          groff -Wall -mtty-char -Tlatin1 -mandoc -c
+JNROFF         LC_ALL=ja_JP.eucJP jgroff -Wall -mtty-char -Tnippon -mandocj -c
+EQN            eqn -Tps
+NEQN           eqn -Tlatin1
+JNEQN          LC_ALL=ja_JP.eucJP jeqn -Tnippon
+TBL            tbl
[EMAIL PROTECTED]@COL           col
+REFER          refer
+PIC            pic
+VGRIND         vgrind
+GRAP           
+PAGER          @prefix@/bin/manpager
+#BROWSER               @prefix@/bin/w3m -T text/html
+BROWSER                @prefix@/bin/manpager
+#HTMLPAGER     @prefix@/bin/w3m -T text/html -dump
+HTMLPAGER      /bin/cat
+CAT            /bin/cat
+#
+# The command "man -a xyzzy" will show all man pages for xyzzy.
+# When CMP is defined man will try to avoid showing the same
+# text twice. (But compressed pages compare unequal.)
+#
+CMP            /usr/bin/cmp -s
+#
+# Compress cat pages
+#
+COMPRESS       @prefix@/bin/bzip2
+COMPRESS_EXT   .bz2
+#
+# Default manual sections (and order) to search if -S is not specified
+# and the MANSECT environment variable is not set.
+#
+MANSECT                1:8:2:3:4:5:6:7:9:0p:1p:3p:tcl:n:l:p:o
+#
+# Default options to use when man is invoked without options
+# This is mainly for the benefit of those that think -a should be the default
+# Note that some systems have /usr/man/allman, causing pages to be shown twice.
+#
+#MANDEFOPTIONS -a
+#
+# Decompress with given decompressor when input file has given extension
+# The command given must act as a filter.
+#
+.gz            @prefix@/bin/gzip -cd
+.bz2           @prefix@/bin/bzip2 -cd
+.z             
+.Z             @prefix@/bin/gzip -cd
+.F             
+.Y             



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to