Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 12:53:01 +0900 (JST)
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3635: Update port(jp-groff-0.99):japanese/groff.
Message-ID:  <199705200353.MAA02385@kiri.toba-cmt.ac.jp>
Resent-Message-ID: <199705200350.UAA07973@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3635
>Category:       ports
>Synopsis:       Update port(jp-groff-0.99):japanese/groff.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 20:50:01 PDT 1997
>Last-Modified:
>Originator:     Kazuhiko Kiriyama
>Organization:
Toba National College of Maritime Technology.
                 Department of Electronic Mechanical Engineering
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:
>Description:

	I've updated the port(jp-groff-0.99):japanese/groff.

	Current modifications are

		(1) Copy /usr/share/tmac/* to /usr/local/share/groff/tmac
		(2) Include japanese corrections by Kazuo Horikawa.

	I put the diff from ports-current(japanese/groff) in "Fix:".

	Newly added files are 

		files/rc.diff
		patches/patch-ac
	
>How-To-Repeat:
>Fix:
diff -aruN ../../current/ports/japanese/groff/Makefile ./Makefile
--- ../../current/ports/japanese/groff/Makefile	Sat Apr  5 16:31:12 1997
+++ ./Makefile	Fri May  2 23:44:06 1997
@@ -16,7 +16,7 @@
 PATCHFILES=	jgroff-0.99.diff.gz
 PATCH_DIST_STRIP=	-p1
 
-MAINTAINER=	graphite@taurus.bekkoame.or.jp
+MAINTAINER=	graphite@jp.freebsd.org
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
@@ -37,5 +37,19 @@
 		;; \
 	  esac; \
 	done
+
+post-install:
+	@${CP} -p /usr/share/tmac/tmac.an ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/tmac.andoc ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/tmac.groff_an ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/tmac.orig_me ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/tmac.vgrind ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/eqnrc ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/hyphen.us-ru ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/tcl.macros ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/troffrc ${PREFIX}/share/groff/tmac
+	@${CP} -p /usr/share/tmac/mdoc/doc-common ${PREFIX}/share/groff/tmac/mdoc
+	@${CP} -p /usr/share/tmac/mdoc/doc-syms ${PREFIX}/share/groff/tmac/mdoc
+	@/usr/bin/patch -d ${PREFIX}/share/groff/tmac < ${FILESDIR}/rc.diff
 
 .include <bsd.port.mk>
diff -aruN ../../current/ports/japanese/groff/files/rc.diff ./files/rc.diff
--- ../../current/ports/japanese/groff/files/rc.diff	Thu Jan  1 09:00:00 1970
+++ ./files/rc.diff	Fri May  2 23:38:51 1997
@@ -0,0 +1,20 @@
+--- tmac/eqnrc.orig	Tue Mar 25 23:40:57 1997
++++ tmac/eqnrc	Fri May  2 23:37:04 1997
+@@ -51,6 +51,7 @@
+ ifdef ascii ! define n %1% !
+ ifdef latin1 ! define n %1% !
+ ifdef koi8-r ! define n %1% !
++ifdef nippon ! define n %1% !
+ 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 @@
+ .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 if d troffrc!\*[.T] \
+ .	do mso \*[troffrc!\*[.T]]
diff -aruN ../../current/ports/japanese/groff/patches/patch-ac ./patches/patch-ac
--- ../../current/ports/japanese/groff/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ ./patches/patch-ac	Fri May  2 23:28:59 1997
@@ -0,0 +1,159 @@
+--- tmac/doc-ditroff.orig	Thu Feb 17 01:55:54 1994
++++ tmac/doc-ditroff	Fri May  2 01:53:41 1997
+@@ -240,33 +240,58 @@
+ '       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
++.	ie "\\$1"名称" \{\
++.		hk
++'		in 0
+ .	\}
+-.       if "\\$1"DESCRIPTION" \{\
+-.		nr fY 0
+-.		nr fZ 0
+-.		nr fB 0
+-.		nr Fb 0
+-.		ds Fb
++.	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"書式" \{\
++.			na
++.			nr nS 1
++.		\}
++.	       if "\\$1"DESCRIPTION" \{\
++.			nr fY 0
++.			nr fZ 0
++.			nr fB 0
++.			nr Fb 0
++.			ds Fb
++.		\}
++.	       if "\\$1"解説" \{\
++.			nr fY 0
++.			nr fZ 0
++.			nr fB 0
++.			nr Fb 0
++.			ds Fb
++.		\}
++.       	if "\\$1"SEE" \{\
++.               	nr nA 1
++.	               na
++.       	\}
++.       	if "\\$1"関連項目" \{\
++.               	nr nA 1
++.	               na
++.       	\}
++.		if "\\$1"FILES" .nr nF 1
++.		if "\\$1"関連ファイル" .nr nF 1
++.       	if "\\$1"STANDARDS" .nr nT 1
++.       	if "\\$1"規格" .nr nT 1
++.		if "\\$1"AUTHORS" .nr nY 1
++.		if "\\$1"作者" .nr nY 1
++.		if "\\$1"SEE" .nr sE 1
++.		if "\\$1"関連項目" .nr sE 1
++.		in 0
++.       	nr aN 0
+ .	\}
+-.       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
+-.       in 0
+-.       nr aN 0
+ .\}
+ .pL
+ 'sp
+--- tmac/doc-nroff.orig	Sat Jan  4 21:39:20 1992
++++ tmac/doc-nroff	Fri May  2 01:53:48 1997
+@@ -190,26 +190,44 @@
+ '       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
++.	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"関連項目" .nr nA 1
++.       	if "\\$1"FILES" .nr nF 1
++.       	if "\\$1"関連ファイル" .nr nF 1
++.       	if "\\$1"STANDARDS" .nr nT 1
++.       	if "\\$1"規格" .nr nT 1
++.       	if "\\$1"SYNOPSIS" .nr nS 1
++.       	if "\\$1"書式" .nr nS 1
++.       	if "\\$1"DESCRIPTION" \{\
++.               	rr fB
++.               	rr Fb
++.               	ds Fb
++.               	nr fY 0
++.               	nr fZ 0
++.       	\}
++.       	if "\\$1"解説" \{\
++.               	rr fB
++.               	rr Fb
++.               	ds Fb
++.               	nr fY 0
++.               	nr fZ 0
++.       	\}
++.		if "\\$1"AUTHORS" .nr nY 1
++.		if "\\$1"作者" .nr nY 1
++.       	in 0
+ .       \}
+-.	if "\\$1"AUTHORS" .nr nY 1
+-.       in 0
+ .\}
+ .pL
+ 'sp
+@@ -221,5 +239,6 @@
+ \&\fP\s0\&
+ .in \\n(.iu+\\n(Tiu
+ .if "\\$1"SEE" .nr sE 1
++.if "\\$1"関連項目" .nr sE 1
+ .ns
+ ..
diff -aruN ../../current/ports/japanese/groff/pkg/PLIST ./pkg/PLIST
--- ../../current/ports/japanese/groff/pkg/PLIST	Sun Nov 17 23:14:43 1996
+++ ./pkg/PLIST	Fri May  2 22:28:31 1997
@@ -53,8 +53,13 @@
 man/man7/groff_mmse.7.gz
 share/groff/eign
 share/groff/tmac/hyphen.us
+share/groff/tmac/hyphen.us-ru
 share/groff/tmac/tmac.an
 share/groff/tmac/tmac.andoc
+share/groff/tmac/tmac.groff_an
+share/groff/tmac/tmac.orig_me
+share/groff/tmac/tmac.vgrind
+share/groff/tmac/tcl.macros
 share/groff/tmac/tmac.pic
 share/groff/tmac/tmac.ps
 share/groff/tmac/tmac.psnew
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705200353.MAA02385>