aboutsummaryrefslogtreecommitdiff
path: root/japanese/drpl
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/drpl
parent8c9ace4cb983b0c6ced1a0f294ed5c224b04875c (diff)
downloadports-ef4d843864194d2827e898f9b9419219534b69a1.tar.gz
ports-ef4d843864194d2827e898f9b9419219534b69a1.zip
Notes
Diffstat (limited to 'japanese/drpl')
-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
5 files changed, 68 insertions, 0 deletions
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