summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/tkhonyaku/Makefile38
-rw-r--r--japanese/tkhonyaku/distinfo1
-rw-r--r--japanese/tkhonyaku/files/patch-aa19
-rw-r--r--japanese/tkhonyaku/pkg-comment1
-rw-r--r--japanese/tkhonyaku/pkg-descr10
-rw-r--r--japanese/tkhonyaku/pkg-plist7
7 files changed, 77 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index beea4e74f88e..404c09999108 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -266,6 +266,7 @@
SUBDIR += tk42
SUBDIR += tk80
SUBDIR += tkdesk
+ SUBDIR += tkhonyaku
SUBDIR += tkstep80
SUBDIR += today
SUBDIR += truetypefonts
diff --git a/japanese/tkhonyaku/Makefile b/japanese/tkhonyaku/Makefile
new file mode 100644
index 000000000000..8514490b9861
--- /dev/null
+++ b/japanese/tkhonyaku/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: tkhonyaku
+# Date created: 10 July 2000
+# Whom: Daichi T.GOTO
+#
+# $FreeBSD$
+#
+
+PORTNAME= tkhonyaku
+PORTVERSION= 1.0
+CATEGORIES= japanese
+MASTER_SITES= http://www.yk.rim.or.jp/~kawagisi/
+
+MAINTAINER= daichi@ongs.net
+
+RUN_DEPENDS= ${LOCALBASE}/bin/wish8.0jp:${PORTSDIR}/japanese/tk80
+
+NO_BUILD= yes
+
+PLIST_SUB= DISTNAME="${DISTNAME}"
+
+pre-patch:
+ ${MKDIR} ${WRKSRC}
+ @${MV} ${WRKSRC}/../colors.gif ${WRKSRC}
+ @${MV} ${WRKSRC}/../tkhonyaku ${WRKSRC}
+ @${MV} ${WRKSRC}/../tkhonyaku-readme ${WRKSRC}
+ @${MV} ${WRKSRC}/../tkhonyaku.gif ${WRKSRC}
+ @${MV} ${WRKSRC}/../tkhonyaku.xpm ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/doc/tkhonyaku
+ ${MKDIR} ${PREFIX}/tkhonyaku
+ @${CP} ${WRKSRC}/tkhonyaku-readme ${PREFIX}/share/doc/tkhonyaku/
+ @${CP} ${WRKSRC}/colors.gif ${PREFIX}/tkhonyaku
+ @${CP} ${WRKSRC}/tkhonyaku.gif ${PREFIX}/tkhonyaku/
+ @${CP} ${WRKSRC}/tkhonyaku.xpm ${PREFIX}/tkhonyaku/
+ @${CP} ${WRKSRC}/tkhonyaku ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/japanese/tkhonyaku/distinfo b/japanese/tkhonyaku/distinfo
new file mode 100644
index 000000000000..7f9ab5fdf40d
--- /dev/null
+++ b/japanese/tkhonyaku/distinfo
@@ -0,0 +1 @@
+MD5 (tkhonyaku-1.0.tar.gz) = 929a3544de64739820b066fe40d142ec
diff --git a/japanese/tkhonyaku/files/patch-aa b/japanese/tkhonyaku/files/patch-aa
new file mode 100644
index 000000000000..8fef964eef06
--- /dev/null
+++ b/japanese/tkhonyaku/files/patch-aa
@@ -0,0 +1,19 @@
+--- tkhonyaku.orig Mon Jul 10 05:56:43 2000
++++ tkhonyaku Mon Jul 10 05:56:47 2000
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ # the next line restart using wish \
+-exec wish "$0" "$@"
++exec wish8.0jp "$0" "$@"
+
+ #===========================================================================
+ # 『Tk翻訳』version 1.0
+@@ -87,7 +87,7 @@
+ set respdir ~/.tkhonyaku/ ;# レスポンスファイルのディレクトリ
+ set logdir ~/.tkhonyaku/ ;# エラーログのディレクトリ
+ set conf_file ~/.tkhonyaku/tkhonyaku.conf ;# 設定ファイルのフルパス
+- set helpdir /usr/doc/tkhonyaku-1.0 ;# ヘルプファイルのディレクトリ
++ set helpdir /usr/local/share/doc/tkhonyaku ;# ヘルプファイルのディレクトリ
+ set gifdir /usr/local/tkhonyaku ;# GIF ファイルのディレクトリ
+ }
+ windows {
diff --git a/japanese/tkhonyaku/pkg-comment b/japanese/tkhonyaku/pkg-comment
new file mode 100644
index 000000000000..97c105bb1fe3
--- /dev/null
+++ b/japanese/tkhonyaku/pkg-comment
@@ -0,0 +1 @@
+Yet another Honyaku-Damashii client with rich functionality
diff --git a/japanese/tkhonyaku/pkg-descr b/japanese/tkhonyaku/pkg-descr
new file mode 100644
index 000000000000..ff4b474c64f8
--- /dev/null
+++ b/japanese/tkhonyaku/pkg-descr
@@ -0,0 +1,10 @@
+TkHonyaku is yet another Honyaku-Damashii client with rich functionality.
+If you have Honyaku-Damashii and are using xhonyaku, give this a try
+instead of xhonyaku.
+
+(Honyaku-Damashii is a Japanese <-> English translator)
+
+WWW: http://www.yk.rim.or.jp/~kawagisi/tkhonyaku.html
+
+- Daichi T.GOTO
+daichi@ongs.net
diff --git a/japanese/tkhonyaku/pkg-plist b/japanese/tkhonyaku/pkg-plist
new file mode 100644
index 000000000000..ed369363e37a
--- /dev/null
+++ b/japanese/tkhonyaku/pkg-plist
@@ -0,0 +1,7 @@
+share/doc/tkhonyaku/tkhonyaku-readme
+tkhonyaku/colors.gif
+tkhonyaku/tkhonyaku.gif
+tkhonyaku/tkhonyaku.xpm
+bin/tkhonyaku
+@dirrm share/doc/tkhonyaku
+@dirrm tkhonyaku