diff options
author | knu <knu@FreeBSD.org> | 2000-08-10 18:47:25 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-10 18:47:25 +0000 |
commit | c34e04996d4f26e3d8e46994035c3d980ba16a5a (patch) | |
tree | f713a34e197da56672c735336047a0fb321fbef3 /japanese | |
parent | 4e722d344e493e7ad063a38b8bbe4c6c3481baa4 (diff) | |
download | FreeBSD-ports-c34e04996d4f26e3d8e46994035c3d980ba16a5a.zip FreeBSD-ports-c34e04996d4f26e3d8e46994035c3d980ba16a5a.tar.gz |
Add ruby-uconv, Unicode conversion library with Japanese codesets support
for Ruby.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/ruby-uconv/Makefile | 50 | ||||
-rw-r--r-- | japanese/ruby-uconv/distinfo | 1 | ||||
-rw-r--r-- | japanese/ruby-uconv/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/ruby-uconv/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/ruby-uconv/pkg-plist | 13 |
6 files changed, 73 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 2ff87c8..411ac36 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 0000000..13a3cc9 --- /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 0000000..eaa7ffe --- /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 0000000..a741a5a --- /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 0000000..b7d28c5 --- /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 0000000..6589840 --- /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 |