diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-05-19 15:36:36 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-05-19 15:36:36 +0800 |
commit | 28aee945ed3f0c57c5762b2bae869a0eab02565b (patch) | |
tree | cf672df3d0aab13251893176c2ad2d84229c9341 /japanese/groff/files | |
parent | d02b9106c830a917f6f362a0e8dc4f52688c2255 (diff) | |
download | freebsd-ports-gnome-28aee945ed3f0c57c5762b2bae869a0eab02565b.tar.gz freebsd-ports-gnome-28aee945ed3f0c57c5762b2bae869a0eab02565b.tar.zst freebsd-ports-gnome-28aee945ed3f0c57c5762b2bae869a0eab02565b.zip |
Update to jgroff-0.100 based on groff-1.15
PR: 18494
Submitted by: maintainer
Diffstat (limited to 'japanese/groff/files')
-rw-r--r-- | japanese/groff/files/eucJP | 233 | ||||
-rw-r--r-- | japanese/groff/files/locale-list | 32 | ||||
-rw-r--r-- | japanese/groff/files/patch-af | 19 | ||||
-rw-r--r-- | japanese/groff/files/patch-ag | 15 | ||||
-rw-r--r-- | japanese/groff/files/patch-ah | 11 | ||||
-rw-r--r-- | japanese/groff/files/patch-ai | 48 | ||||
-rw-r--r-- | japanese/groff/files/rc.diff | 14 |
7 files changed, 365 insertions, 7 deletions
diff --git a/japanese/groff/files/eucJP b/japanese/groff/files/eucJP new file mode 100644 index 000000000000..989dce4f31d0 --- /dev/null +++ b/japanese/groff/files/eucJP @@ -0,0 +1,233 @@ +.\" -*- coding: japanese-iso-8bit-unix; -*- +.\" +.\" Copyright (C) 2000 FreeBSD JPMAN Project, <man-jp@jp.FreeBSD.org> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE FREEBSD JPMAN PROJECT AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE +.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +.\" THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.\" This file is addition to groff package. It allows to translate Section +.\" Headers (.Sh) and correctly display man page header and footer. It +.\" also contains translated version of .Dt macros (.DtL). +.\" Current translation: Japanese (ja_JP.eucJP) +.\" +.\" +.\" Localized (japanese) .Sh macro version for troff +.\" Original code derived from mdoc/doc-ditroff +.\" +.if t \{\ +. rm Sh +. de Sh +. nr nS 0 +. nr sE 0 +. nr iS 0 +' ad +. ie "\\$1"NAME" \{\ +. hK +' in 0 +. \} +. el \{\ +. ie "\\$1"名称" \{\ +. hK +' in 0 +. \} +. el \{\ +. nr nS 0 +. nr nA 0 +. nr nF 0 +. nr nT 0 +. nr nY 0 +. nr oT 0 +. if "\\$1"SYNOPSIS" \{\ +. na +. nr nS 1 +. \} +. if "\\$1"DESCRIPTION" \{\ +. nr fY 0 +. nr fZ 0 +. nr fB 0 +. nr Fb 0 +. ds Fb +. \} +. if "\\$1"SEE" \{\ +. nr nA 1 +. na +. \} +. if "\\$1"FILES" .nr nF 1 +. if "\\$1"STANDARDS" .nr nT 1 +. if "\\$1"AUTHORS" .nr nY 1 +. if "\\$1"SEE" .nr sE 1 +.\" +.\" japanese chapter names +.\" +. if "\\$1"書式" \{\ +. na +. nr nS 1 +. \} +. if "\\$1"解説" \{\ +. nr fY 0 +. nr fZ 0 +. nr fB 0 +. nr Fb 0 +. ds Fb +. \} +. if "\\$1"関連項目" \{\ +. nr nA 1 +. na +. \} +. if "\\$1"関連ファイル" .nr nF 1 +. if "\\$1"規格" .nr nT 1 +. if "\\$1"作者" .nr nY 1 +. if "\\$1"関連項目" .nr sE 1 +. in 0 +. nr aN 0 +. \} +. \} +. pL +' sp +. ns +. ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i +. if !\\n(cR .ne 3 +' fi +\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9 +\&\fP\s0\& +. in \\n(.iu+\\n(Tiu +. ns +.. +. \} +.\" +.\" Localized .Sh macro version for nroff +.\" Original code derived from mdoc/doc-nroff +.\" +.if n \{\ +. rm Sh +. de Sh +. nr nS 0 +. nr sE 0 +. nr iS 0 +. ie "\\$1"NAME" \{\ +. hK +' in 0 +. \} +. el \{\ +. ie "\\$1"名称" \{\ +. hK +' in 0 +. \} +. el \{\ +. nr nS 0 +. nr nA 0 +. nr nF 0 +. nr nT 0 +. nr nY 0 +. nr aN 0 +. nr oT 0 +. if "\\$1"SEE" .nr nA 1 +. if "\\$1"FILES" .nr nF 1 +. if "\\$1"STANDARDS" .nr nT 1 +. if "\\$1"SYNOPSIS" .nr nS 1 +. if "\\$1"DESCRIPTION" \{\ +. rr fB +. rr Fb +. ds Fb +. nr fY 0 +. nr fZ 0 +. \} +. if "\\$1"AUTHORS" .nr nY 1 +.\" +.\" japanese chapters names +.\" +. if "\\$1"関連項目" .nr nA 1 +. if "\\$1"関連ファイル" .nr nF 1 +. if "\\$1"規格" .nr nT 1 +. if "\\$1"書式" .nr nS 1 +. if "\\$1"解説" \{\ +. rr fB +. rr Fb +. ds Fb +. nr fY 0 +. nr fZ 0 +. \} +. if "\\$1"作者" .nr nY 1 +. in 0 +. \} +. \} +. pL +' sp +. ns +. ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i +. if !\\n(cR .ne 3 +' fi +\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9 +\&\fP\s0\& +. in \\n(.iu+\\n(Tiu +. if "\\$1"SEE" .nr sE 1 +. if "\\$1"関連項目" .nr sE 1 +. ns +.. +.\} +.\" +.\" .Dt macro replacement for localized manpages (.DtL) +.\" Original code derived from mdoc/doc-common +.\" +.de DtL +.ds dT UNTITLED +.ds vT LOCAL +.ds cH Null +.if !"\\$1"" .ds dT \\$1 +.if !"\\$2"" \{\ +. ds cH \\$2 +. if \\$2>=1 .if \\$2<=9 \{\ +. ds vT FreeBSD Reference Manual +. if "\\$2"1" .ds vT FreeBSD General Commands Manual +. if "\\$2"2" .ds vT FreeBSD System Calls Manual +. if "\\$2"3" .ds vT FreeBSD Library Functions Manual +. if "\\$2"4" .ds vT FreeBSD Kernel Interfaces Manual +. if "\\$2"5" .ds vT FreeBSD File Formats Manual +. if "\\$2"6" .ds vT FreeBSD Games Manual +. if "\\$2"7" .ds vT FreeBSD Miscellaneous Information Manual +. if "\\$2"8" .ds vT FreeBSD System Manager's Manual +. if "\\$2"9" .ds vT FreeBSD Kernel Developer's Manual +. nr sN \\$2 +. \} +. if "\\$2"unass" .ds vT DRAFT +. if "\\$2"draft" .ds vT DRAFT +. if "\\$2"paper" .ds vT UNTITLED +.\} +.if !"\\$3"" \{\ +. if "\\$3"USD" .ds vT FreeBSD User's Supplementary Documents +. if "\\$3"PS1" .ds vT FreeBSD Programmers's Supplementary Documents +. if "\\$3"AMD" .ds vT FreeBSD Ancestral Manual Documents +. if "\\$3"SMM" .ds vT FreeBSD System Manager's Manual +. if "\\$3"URM" .ds vT FreeBSD Reference Manual +. if "\\$3"PRM" .ds vT FreeBSD Programmers's Manual +. if "\\$3"IND" .ds vT FreeBSD Manual Master Index +. if "\\$3"LOCAL" .ds vT FreeBSD Local Manual +. if "\\$3"tahoe" .as vT \ (Tahoe Architecture) +. if "\\$3"vax" .as vT \ (VAX Architecture) +. if "\\$3"hp300" .as vT \ (HP300 Architecture) +. if "\\$3"i386" .as vT \ (i386 Architecture) +. if "\\$3"Alpha" .as vT \ (Alpha Architecture) +. if "\\*(vT"LOCAL" .ds vT \\$3 +.\} +.. diff --git a/japanese/groff/files/locale-list b/japanese/groff/files/locale-list new file mode 100644 index 000000000000..0beba8a5ae35 --- /dev/null +++ b/japanese/groff/files/locale-list @@ -0,0 +1,32 @@ +.\" +.\" Copyright (C) 1999, 2000 Alexey Zelkin <phantom@cris.net>, +.\" Simferopol, Crimea, Urkaine. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE ALEXEY ZELKIN AND CONTRIBUTORS ``AS IS'' +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" %FreeBSD: src/contrib/groff/tmac/locale/locale-list,v 1.2 2000/05/04 18:21:11 phantom Exp % +.\" +.\" Include [tg]roff japanese translated if [tg]roff invoked with -Tnippon. +.\" +.if "\*[.T]"nippon" \{\ +. sOl eucJP +.\} diff --git a/japanese/groff/files/patch-af b/japanese/groff/files/patch-af new file mode 100644 index 000000000000..b3cfe227d5d1 --- /dev/null +++ b/japanese/groff/files/patch-af @@ -0,0 +1,19 @@ +--- indxbib/indxbib.cc.~2~ Wed Mar 8 00:23:35 2000 ++++ indxbib/indxbib.cc Wed Mar 8 00:31:02 2000 +@@ -222,10 +222,16 @@ + else { + temp_index_file = strsave(TEMP_INDEX_TEMPLATE); + } ++#ifndef HAVE_MKSTEMP + if (!mktemp(temp_index_file) || !temp_index_file[0]) + fatal("cannot create file name for temporary file"); ++#endif + catch_fatal_signals(); ++#ifdef HAVE_MKSTEMP ++ int fd = mkstemp(temp_index_file); ++#else + int fd = creat(temp_index_file, S_IRUSR|S_IRGRP|S_IROTH); ++#endif + if (fd < 0) + fatal("can't create temporary index file: %1", strerror(errno)); + indxfp = fdopen(fd, "w"); diff --git a/japanese/groff/files/patch-ag b/japanese/groff/files/patch-ag new file mode 100644 index 000000000000..2756581fba68 --- /dev/null +++ b/japanese/groff/files/patch-ag @@ -0,0 +1,15 @@ +--- aclocal.m4.orig Tue Dec 14 22:18:56 1999 ++++ aclocal.m4 Wed Apr 26 19:36:35 2000 +@@ -424,7 +424,11 @@ + g=g + else + AC_MSG_RESULT(no) +- g= ++ if test "x$program_prefix" != xNONE; then ++ g="$program_prefix" ++ else ++ g= ++ fi + fi + AC_SUBST(g) + ])dnl diff --git a/japanese/groff/files/patch-ah b/japanese/groff/files/patch-ah new file mode 100644 index 000000000000..84341742ed01 --- /dev/null +++ b/japanese/groff/files/patch-ah @@ -0,0 +1,11 @@ +--- Makefile.in.~1~ Mon May 1 10:10:40 2000 ++++ Makefile.in Mon May 1 10:15:10 2000 +@@ -81,7 +81,7 @@ + fontdir=$(datasubdir)/font + + # fontpath says where to look for dev*/*. +-fontpath=.:$(fontdir):/usr/lib/font ++fontpath=.:$(fontdir):/usr/share/groff_font + + # tmacdir says where to install macros. + tmacdir=$(datasubdir)/tmac diff --git a/japanese/groff/files/patch-ai b/japanese/groff/files/patch-ai new file mode 100644 index 000000000000..5a8639baa2e6 --- /dev/null +++ b/japanese/groff/files/patch-ai @@ -0,0 +1,48 @@ +--- tmac.orig/tmac.doc Fri May 21 13:50:47 1999 ++++ tmac/tmac.doc Thu Sep 23 07:36:16 1999 +@@ -30,6 +30,7 @@ + .\" SUCH DAMAGE. + .\" + .\" @(#)doc 5.8 (Berkeley) 8/5/91 ++.\" %FreeBSD: src/contrib/groff/tmac/tmac.doc,v 1.4 1999/09/22 22:36:16 phantom Exp % + .\" Modified by jjc@jclark.com as follows: the doc-* files are assumed to be + .\" installed as mdoc/doc-* rather than tmac.doc-* (the filename + .\" `tmac.doc-common' would be too long); when using groff, the doc-* files +@@ -49,6 +50,9 @@ + .de sO + .mso mdoc/\\$1 + .. ++.de sOl ++.sO locale/\\$1 ++.. + .if t \{\ + . sO doc-ditroff + .\} +@@ -57,6 +61,7 @@ + .\} + .sO doc-common + .sO doc-syms ++.sOl locale-list + .\" NS Db macro - start/stop DEBUG MODE + .\" NS Db register DEBUG MODE + .\" NS iN register DEBUG MODE (inline if 1, to stderr if 0 (default)) +@@ -1536,7 +1541,7 @@ + . if "\\$1"-literal" \&\\*(lI\c + . if "\\$1"-symbolic" \&\\*(sY\c + .\} +-.el .tm Usage .Bf [Em | emphasis | Li | literal | Sy | symbolic] (#\\n(.c) ++.el .tm Usage .Bf [Em | -emphasis | Li | -literal | Sy | -symbolic] (#\\n(.c) + .. + .de Ef + .ds mN Ef +@@ -3417,7 +3422,9 @@ + .\" . nr fV \\n(.$-1 + . if "\\$1"-std" \{\ + . nr cH \\*(cH +-. if (\\n(cH<2):(\\n(cH>3) .tm Usage: .Rv -std sections 2 and 3 only ++.\" This macro also allowed for 7 section because mdoc.samples.7 will show ++.\" actual information (not hardcoded) ++. if !((\\n(cH=2):(\\n(cH=3):(\\n(cH=7)) .tm Usage: .Rv -std sections 2 and 3 only + . br + \&The + .Fn \\$2 diff --git a/japanese/groff/files/rc.diff b/japanese/groff/files/rc.diff index 1bb111dacb8a..788fc3ef8ff9 100644 --- a/japanese/groff/files/rc.diff +++ b/japanese/groff/files/rc.diff @@ -1,6 +1,6 @@ ---- tmac/eqnrc.orig Tue Mar 25 23:40:57 1997 -+++ tmac/eqnrc Fri May 2 23:37:04 1997 -@@ -51,6 +51,7 @@ +--- tmac/eqnrc.orig Thu Mar 16 10:18:38 2000 ++++ tmac/eqnrc Fri Apr 28 20:59:24 2000 +@@ -53,6 +53,7 @@ ifdef ascii ! define n %1% ! ifdef latin1 ! define n %1% ! ifdef koi8-r ! define n %1% ! @@ -8,13 +8,13 @@ ifdef n ! set nroff 1 ! ---- tmac/troffrc.orig Tue Mar 25 23:40:57 1997 -+++ tmac/troffrc Fri May 2 23:37:43 1997 -@@ -13,6 +13,7 @@ +--- tmac/troffrc.orig Thu Mar 16 10:18:38 2000 ++++ tmac/troffrc Fri Apr 28 20:59:24 2000 +@@ -14,6 +14,7 @@ .do ds troffrc!ascii tmac.tty .do ds troffrc!latin1 tmac.tty .do ds troffrc!koi8-r tmac.tty +.do ds troffrc!nippon tmac.tty .do ds troffrc!lj4 tmac.lj4 + .do ds troffrc!html tmac.html .do if d troffrc!\*[.T] \ - . do mso \*[troffrc!\*[.T]] |