diff options
author | taca <taca@pkgsrc.org> | 2002-03-27 13:52:52 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-03-27 13:52:52 +0000 |
commit | c63ed717c8db04859b1fc9887e1b7c55d5436165 (patch) | |
tree | 6d43b1595b84cd9efc5a37151534fd8ed79fd901 /japanese | |
parent | 8f6f9401cb64dd2136c2ac94d3c8de5dcdc6625c (diff) | |
download | pkgsrc-c63ed717c8db04859b1fc9887e1b7c55d5436165.tar.gz |
Importing ruby-uconv 0.4.9 package. Here is quote from README.
Unicode Conversion Module for Ruby
version 0.4.9
Yoshida Masato
- Introduction
This is the module to convert ISO/IEC 10646 (Unicode) string
and Japanese string each other.
Supported character encodings are UCS-4, UTF-16, UTF-8,
EUC-JP, CP932 (a variant of Shift_JIS for Japanese Windows).
This cannot detect character encoding automatically.
Note that EUC-JP conversion table has been changed.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/ruby-uconv/DESCR | 7 | ||||
-rw-r--r-- | japanese/ruby-uconv/Makefile | 35 | ||||
-rw-r--r-- | japanese/ruby-uconv/PLIST | 12 | ||||
-rw-r--r-- | japanese/ruby-uconv/distinfo | 4 |
4 files changed, 58 insertions, 0 deletions
diff --git a/japanese/ruby-uconv/DESCR b/japanese/ruby-uconv/DESCR new file mode 100644 index 00000000000..b7d28c5cc57 --- /dev/null +++ b/japanese/ruby-uconv/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/Makefile b/japanese/ruby-uconv/Makefile new file mode 100644 index 00000000000..0d73aab8332 --- /dev/null +++ b/japanese/ruby-uconv/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/27 13:52:52 taca Exp $ +# FreeBSD: ports/japanese/ruby-uconv/Makefile,v 1.8 2001/01/30 19:26:22 knu Exp + +DISTNAME= uconv-0.4.9 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +CATEGORIES= japanese converters +MASTER_SITES= http://www.yoshidam.net/ + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://www.yoshidam.net/Ruby.html#uconv +COMMENT= Unicode conversion library with Japanese codesets support + +DIST_SUBDIR= ruby +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/uconv +INSTALL_TARGET= site-install + +REPLACE_RUBY= samples/euc2unicode.rb samples/unicode2euc.rb \ + samples/xmlconv.rb +EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml trilang.xml \ + unicode2euc.rb xmlconv.rb + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/uconv +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/uconv +.endfor + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/uconv + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/uconv + ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/uconv + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/japanese/ruby-uconv/PLIST b/japanese/ruby-uconv/PLIST new file mode 100644 index 00000000000..cea1e4f7a04 --- /dev/null +++ b/japanese/ruby-uconv/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/27 13:52:52 taca Exp $ +${RUBY_SITEARCHLIBDIR}/uconv.so +${RUBY_DOCDIR}/uconv/README +${RUBY_DOCDIR}/uconv/README.ja +@dirrm ${RUBY_DOCDIR}/uconv +${RUBY_EXAMPLESDIR}/uconv/euc2unicode.rb +${RUBY_EXAMPLESDIR}/uconv/test_euc.txt +${RUBY_EXAMPLESDIR}/uconv/test_euc.xml +${RUBY_EXAMPLESDIR}/uconv/trilang.xml +${RUBY_EXAMPLESDIR}/uconv/unicode2euc.rb +${RUBY_EXAMPLESDIR}/uconv/xmlconv.rb +@dirrm ${RUBY_EXAMPLESDIR}/uconv diff --git a/japanese/ruby-uconv/distinfo b/japanese/ruby-uconv/distinfo new file mode 100644 index 00000000000..dd228a29990 --- /dev/null +++ b/japanese/ruby-uconv/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/27 13:52:52 taca Exp $ + +SHA1 (ruby/uconv-0.4.9.tar.gz) = 28f5692fa4705fdefa19dc9fbc7470c0f01cc750 +Size (ruby/uconv-0.4.9.tar.gz) = 585698 bytes |