diff options
author | knu <knu@FreeBSD.org> | 2002-08-27 13:52:23 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-08-27 13:52:23 +0800 |
commit | 23b617c8884dac79012e360030499e6ca364a528 (patch) | |
tree | 378eb41ec068fbbbfbaecb4a680225ee5b2ace7a /japanese | |
parent | 3c23e4de2d08620ca643bdf535510b0a9d7e0ea8 (diff) | |
download | freebsd-ports-gnome-23b617c8884dac79012e360030499e6ca364a528.tar.gz freebsd-ports-gnome-23b617c8884dac79012e360030499e6ca364a528.tar.zst freebsd-ports-gnome-23b617c8884dac79012e360030499e6ca364a528.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>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/drpl/Makefile | 39 | ||||
-rw-r--r-- | japanese/drpl/distinfo | 1 | ||||
-rw-r--r-- | japanese/drpl/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/drpl/pkg-descr | 10 | ||||
-rw-r--r-- | japanese/drpl/pkg-plist | 17 |
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 |