From ef4d843864194d2827e898f9b9419219534b69a1 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 27 Aug 2002 05:52:23 +0000 Subject: Add japanese/drpl, whch replaces words in a Japanese text using dictionaries. PR: ports/38221 (w/ NOPORTDOCS bits added) Submitted by: Kimura Fuyuki --- japanese/drpl/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ japanese/drpl/distinfo | 1 + japanese/drpl/pkg-comment | 1 + japanese/drpl/pkg-descr | 10 ++++++++++ japanese/drpl/pkg-plist | 17 +++++++++++++++++ 5 files changed, 68 insertions(+) create mode 100644 japanese/drpl/Makefile create mode 100644 japanese/drpl/distinfo create mode 100644 japanese/drpl/pkg-comment create mode 100644 japanese/drpl/pkg-descr create mode 100644 japanese/drpl/pkg-plist (limited to 'japanese/drpl') 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 +# +# $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 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 -- cgit v1.2.3