summaryrefslogtreecommitdiff
path: root/converters/ruby-uconv
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:00:10 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:00:10 +0000
commite47ae0b8e6c937267b178cd03c82be0dfbcbe8b7 (patch)
tree4467e75d38b524edbb6afbdb09f996c60ec4c765 /converters/ruby-uconv
parent2e1f990eba651aa7588cdfba5940eaf34dd4bac6 (diff)
downloadpkgsrc-e47ae0b8e6c937267b178cd03c82be0dfbcbe8b7.tar.gz
Reimport of package ruby-uconv from japanese/ruby-uconv into converters/ruby-uconv.
This is part of the japanese category retirement. CATEGORIES and pathnames to japanese/ adjusted.
Diffstat (limited to 'converters/ruby-uconv')
-rw-r--r--converters/ruby-uconv/DESCR7
-rw-r--r--converters/ruby-uconv/Makefile35
-rw-r--r--converters/ruby-uconv/PLIST12
-rw-r--r--converters/ruby-uconv/distinfo4
4 files changed, 58 insertions, 0 deletions
diff --git a/converters/ruby-uconv/DESCR b/converters/ruby-uconv/DESCR
new file mode 100644
index 00000000000..b7d28c5cc57
--- /dev/null
+++ b/converters/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/converters/ruby-uconv/Makefile b/converters/ruby-uconv/Makefile
new file mode 100644
index 00000000000..7578eb9779a
--- /dev/null
+++ b/converters/ruby-uconv/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:10 seb 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/converters/ruby-uconv/PLIST b/converters/ruby-uconv/PLIST
new file mode 100644
index 00000000000..441112ef262
--- /dev/null
+++ b/converters/ruby-uconv/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:10 seb 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/converters/ruby-uconv/distinfo b/converters/ruby-uconv/distinfo
new file mode 100644
index 00000000000..2dcb97d7c97
--- /dev/null
+++ b/converters/ruby-uconv/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:00:10 seb Exp $
+
+SHA1 (ruby/uconv-0.4.9.tar.gz) = 28f5692fa4705fdefa19dc9fbc7470c0f01cc750
+Size (ruby/uconv-0.4.9.tar.gz) = 585698 bytes