aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-01 17:41:05 +0800
committerknu <knu@FreeBSD.org>2001-05-01 17:41:05 +0800
commit4c325c93345971c78c71d23f8f4c124a2733bfd6 (patch)
tree410e129423fefd5f39c81f5d33522d961ac42077 /japanese
parentcab14163775359712139b9537b6fe886052276d7 (diff)
downloadfreebsd-ports-graphics-4c325c93345971c78c71d23f8f4c124a2733bfd6.tar.gz
freebsd-ports-graphics-4c325c93345971c78c71d23f8f4c124a2733bfd6.tar.zst
freebsd-ports-graphics-4c325c93345971c78c71d23f8f4c124a2733bfd6.zip
Add ja-ruby-romkan, a Romaji <-> Kana conversion library for Ruby.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/ruby-romkan/Makefile45
-rw-r--r--japanese/ruby-romkan/distinfo1
-rw-r--r--japanese/ruby-romkan/pkg-comment1
-rw-r--r--japanese/ruby-romkan/pkg-descr10
-rw-r--r--japanese/ruby-romkan/pkg-plist9
6 files changed, 67 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index ffa44d6e655..3dfc0d96077 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -276,6 +276,7 @@
SUBDIR += ruby-eb
SUBDIR += ruby-kakasi
SUBDIR += ruby-man
+ SUBDIR += ruby-romkan
SUBDIR += ruby-slang
SUBDIR += ruby-uconv
SUBDIR += ruby-tcltklib
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
new file mode 100644
index 00000000000..9447ec5d234
--- /dev/null
+++ b/japanese/ruby-romkan/Makefile
@@ -0,0 +1,45 @@
+# Ports collection makefile for: Ruby/Romkan
+# Date created: 1 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= romkan
+PORTVERSION= 0.1
+CATEGORIES= japanese converters ruby
+MASTER_SITES= http://namazu.org/~satoru/ruby-romkan/
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+EXAMPLES_JA= test.rb
+DOCS_EN= ChangeLog romkan-en.html
+DOCS_JA= romkan-ja.html
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja
+.for f in ${EXAMPLES_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/japanese/ruby-romkan/distinfo b/japanese/ruby-romkan/distinfo
new file mode 100644
index 00000000000..def2811ed8a
--- /dev/null
+++ b/japanese/ruby-romkan/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-romkan-0.1.tar.gz) = 9633fc30a6f575723dc76b4fc3526fd9
diff --git a/japanese/ruby-romkan/pkg-comment b/japanese/ruby-romkan/pkg-comment
new file mode 100644
index 00000000000..d6002def3f5
--- /dev/null
+++ b/japanese/ruby-romkan/pkg-comment
@@ -0,0 +1 @@
+A Romaji <-> Kana conversion library for Ruby
diff --git a/japanese/ruby-romkan/pkg-descr b/japanese/ruby-romkan/pkg-descr
new file mode 100644
index 00000000000..11e84e3eb3f
--- /dev/null
+++ b/japanese/ruby-romkan/pkg-descr
@@ -0,0 +1,10 @@
+Ruby/Romkan: a Romaji <-> Kana conversion library for Ruby
+
+What's Ruby/Romkan?
+
+Ruby/Romkan is a Romaji <-> Kana conversion library for Ruby. It can
+convert a Japanese Romaji string to a Japanese Kana string or vice
+versa.
+
+WWW: http://namazu.org/~satoru/ruby-romkan/index.html.en
+Author: Satoru Takabayashi <satoru@namazu.org>
diff --git a/japanese/ruby-romkan/pkg-plist b/japanese/ruby-romkan/pkg-plist
new file mode 100644
index 00000000000..37ef8472608
--- /dev/null
+++ b/japanese/ruby-romkan/pkg-plist
@@ -0,0 +1,9 @@
+%%RUBY_SITELIBDIR%%/romkan.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/romkan/ja/test.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/romkan/ja
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/romkan
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/romkan-en.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ja/romkan-ja.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/romkan/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/romkan