summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-10 18:47:25 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-10 18:47:25 +0000
commit2d8fae5264b16792c130d1aca37b23db745d7049 (patch)
tree02fb0eef3c5bfe2f0498e94d2424ec720614afc8 /japanese
parentPoint the qt-gui explicitly at ${X11BASE}/include/qt2. This should fix (diff)
Add ruby-uconv, Unicode conversion library with Japanese codesets support
for Ruby.
Notes
Notes: svn path=/head/; revision=31483
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/ruby-uconv/Makefile50
-rw-r--r--japanese/ruby-uconv/distinfo1
-rw-r--r--japanese/ruby-uconv/pkg-comment1
-rw-r--r--japanese/ruby-uconv/pkg-descr7
-rw-r--r--japanese/ruby-uconv/pkg-plist13
6 files changed, 73 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 2ff87c8c474e..411ac36ff06c 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -227,6 +227,7 @@
SUBDIR += qkc
SUBDIR += recjis
SUBDIR += rogue_s
+ SUBDIR += ruby-uconv
SUBDIR += rubytk
SUBDIR += rxvt
SUBDIR += samba
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile
new file mode 100644
index 000000000000..13a3cc94aa6b
--- /dev/null
+++ b/japanese/ruby-uconv/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Ruby-uconv
+# Date created: 9 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= uconv
+PORTVERSION= 0.4.4
+CATEGORIES= japanese converters # ruby
+MASTER_SITES= http://www.bekkoame.ne.jp/~yoshidam/
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+INSTALL_TARGET= site-install
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml \
+ trilang.xml unicode2euc.rb xmlconv.rb
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby-
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/ruby/uconv/ja
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${PREFIX}/share/examples/ruby/uconv/ja
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ruby/uconv/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/uconv/
+ ${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/share/doc/ruby/uconv/ja/
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/japanese/ruby-uconv/distinfo b/japanese/ruby-uconv/distinfo
new file mode 100644
index 000000000000..eaa7ffe1e94f
--- /dev/null
+++ b/japanese/ruby-uconv/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/uconv-0.4.4.tar.gz) = 777f1b8ae033c41d475a9b1d0e71af74
diff --git a/japanese/ruby-uconv/pkg-comment b/japanese/ruby-uconv/pkg-comment
new file mode 100644
index 000000000000..a741a5a0aef6
--- /dev/null
+++ b/japanese/ruby-uconv/pkg-comment
@@ -0,0 +1 @@
+Unicode conversion library with Japanese codesets support for Ruby
diff --git a/japanese/ruby-uconv/pkg-descr b/japanese/ruby-uconv/pkg-descr
new file mode 100644
index 000000000000..b7d28c5cc57d
--- /dev/null
+++ b/japanese/ruby-uconv/pkg-descr
@@ -0,0 +1,7 @@
+This is an Unicode conversion library with Japanese codesets support
+for Ruby.
+
+Supported character encoding schemes are UCS-4, UTF-16, UTF-8, EUC-JP,
+CP932 (a variant of Shift_JIS for Japanese Windows).
+
+WWW: http://www.yoshidam.net/Ruby.html#uconv
diff --git a/japanese/ruby-uconv/pkg-plist b/japanese/ruby-uconv/pkg-plist
new file mode 100644
index 000000000000..6589840701d2
--- /dev/null
+++ b/japanese/ruby-uconv/pkg-plist
@@ -0,0 +1,13 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/uconv.so
+share/examples/ruby/uconv/ja/euc2unicode.rb
+share/examples/ruby/uconv/ja/test_euc.txt
+share/examples/ruby/uconv/ja/test_euc.xml
+share/examples/ruby/uconv/ja/trilang.xml
+share/examples/ruby/uconv/ja/unicode2euc.rb
+share/examples/ruby/uconv/ja/xmlconv.rb
+@dirrm share/examples/ruby/uconv/ja
+@dirrm share/examples/ruby/uconv
+share/doc/ruby/uconv/README
+share/doc/ruby/uconv/ja/README.ja
+@dirrm share/doc/ruby/uconv/ja
+@dirrm share/doc/ruby/uconv