summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/groff/Makefile18
-rw-r--r--japanese/groff/files/rc.diff20
-rw-r--r--japanese/groff/pkg-plist5
3 files changed, 41 insertions, 2 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index a8bf206b6b73..50456e6efc99 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -3,7 +3,7 @@
# Date created: 14 April 1995
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
-# $Id: Makefile,v 1.9 1997/01/24 10:18:53 asami Exp $
+# $Id: Makefile,v 1.10 1997/04/04 14:59:43 max Exp $
#
DISTNAME= groff-1.10
@@ -16,7 +16,7 @@ PATCH_SITES= ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
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
@@ -38,4 +38,18 @@ post-patch:
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 --git a/japanese/groff/files/rc.diff b/japanese/groff/files/rc.diff
new file mode 100644
index 000000000000..1bb111dacb8a
--- /dev/null
+++ b/japanese/groff/files/rc.diff
@@ -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 --git a/japanese/groff/pkg-plist b/japanese/groff/pkg-plist
index 9df1a643505c..4fc98c6ee4ea 100644
--- a/japanese/groff/pkg-plist
+++ b/japanese/groff/pkg-plist
@@ -53,8 +53,13 @@ man/man7/groff_mm.7.gz
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