aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-08-27 05:52:23 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-08-27 05:52:23 +0000
commitef4d843864194d2827e898f9b9419219534b69a1 (patch)
treee1075606535678e15dbd7dd4adaf44063edb2e32 /japanese
parent8c9ace4cb983b0c6ced1a0f294ed5c224b04875c (diff)
downloadports-ef4d843864194d2827e898f9b9419219534b69a1.tar.gz
ports-ef4d843864194d2827e898f9b9419219534b69a1.zip
Add japanese/drpl, whch replaces words in a Japanese text using
dictionaries. PR: ports/38221 (w/ NOPORTDOCS bits added) Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Notes
Notes: svn path=/head/; revision=65083
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/drpl/Makefile39
-rw-r--r--japanese/drpl/distinfo1
-rw-r--r--japanese/drpl/pkg-comment1
-rw-r--r--japanese/drpl/pkg-descr10
-rw-r--r--japanese/drpl/pkg-plist17
6 files changed, 69 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 6701d8cc42ed..3b5ce4574ece 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -37,6 +37,7 @@
SUBDIR += devil-fpw
SUBDIR += diclookup-emacs20
SUBDIR += diclookup-mule
+ SUBDIR += drpl
SUBDIR += dserver
SUBDIR += dvi2dvi
SUBDIR += dvi2ps
diff --git a/japanese/drpl/Makefile b/japanese/drpl/Makefile
new file mode 100644
index 000000000000..9921436c1e5a
--- /dev/null
+++ b/japanese/drpl/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: drpl
+# Date created: 18 May 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= drpl
+PORTVERSION= 1.04
+CATEGORIES= japanese textproc perl5
+MASTER_SITES= http://www.yk.rim.or.jp/~tomoto/archives/drpl/
+
+MAINTAINER= fuyuki@mj.0038.net
+
+USE_PERL5= yes
+
+DICSDIR= ${PREFIX}/share/${PORTNAME}
+SCRIPTS= drpl revdic
+
+post-patch:
+.for i in ${SCRIPTS}
+ ${PERL} -pi -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${i}
+.endfor
+
+do-build:
+.for i in maruyaex osaka yarumaex
+ ${PERL} ${WRKSRC}/drpl -u -D ${WRKSRC}/dic/${i}.dic /dev/null
+.endfor
+
+do-install:
+ cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
+ ${MKDIR} ${DICSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dic/* ${DICSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} *.TXT *.man misc/*.htm ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/drpl/distinfo b/japanese/drpl/distinfo
new file mode 100644
index 000000000000..b914d376f85d
--- /dev/null
+++ b/japanese/drpl/distinfo
@@ -0,0 +1 @@
+MD5 (drpl-1.04.tar.gz) = fd7c0c9766b8397d221c401c26540ad7
diff --git a/japanese/drpl/pkg-comment b/japanese/drpl/pkg-comment
new file mode 100644
index 000000000000..31077820f396
--- /dev/null
+++ b/japanese/drpl/pkg-comment
@@ -0,0 +1 @@
+Replaces words in a Japanese text using dictionaries
diff --git a/japanese/drpl/pkg-descr b/japanese/drpl/pkg-descr
new file mode 100644
index 000000000000..777bc3562cc9
--- /dev/null
+++ b/japanese/drpl/pkg-descr
@@ -0,0 +1,10 @@
+This package includes a script that replaces words in a Japanese text
+and two dictionaries below to use with the script.
+
+- Old characters and former kana usage in writing
+- Osaka language
+
+WWW: http://www.yk.rim.or.jp/~tomoto/archives/drpl/
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/japanese/drpl/pkg-plist b/japanese/drpl/pkg-plist
new file mode 100644
index 000000000000..8e766a1e1422
--- /dev/null
+++ b/japanese/drpl/pkg-plist
@@ -0,0 +1,17 @@
+bin/drpl
+bin/revdic
+share/drpl/maruyaex.db
+share/drpl/maruyaex.dic
+share/drpl/maruyaex.try
+share/drpl/osaka.db
+share/drpl/osaka.dic
+share/drpl/osaka.try
+share/drpl/yarumaex.db
+share/drpl/yarumaex.dic
+share/drpl/yarumaex.try
+@dirrm share/drpl
+%%PORTDOCS%%share/doc/drpl/README.TXT
+%%PORTDOCS%%share/doc/drpl/bap_maruya_mod.htm
+%%PORTDOCS%%share/doc/drpl/bap_maruya_ref.htm
+%%PORTDOCS%%share/doc/drpl/drpl.man
+%%PORTDOCS%%@dirrm share/doc/drpl