aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/ruby-ming/Makefile52
-rw-r--r--japanese/ruby-ming/distinfo2
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-ming.c28
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfaction.c11
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfbitmap.c27
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c11
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c31
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfmovie.c47
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfmovieclip.c20
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swftext.c20
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swftextfield.c20
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-util.c17
-rw-r--r--japanese/ruby-ming/files/patch-setup.rb20
-rw-r--r--japanese/ruby-ming/pkg-descr9
-rw-r--r--japanese/ruby-ming/pkg-plist25
16 files changed, 0 insertions, 341 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 6a120b579975..81fb4da8f3ea 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -225,7 +225,6 @@
SUBDIR += rogue_s
SUBDIR += ruby-eb
SUBDIR += ruby-mecab
- SUBDIR += ruby-ming
SUBDIR += ruby-romkan
SUBDIR += ruby-uconv
SUBDIR += ruby-usersguide
diff --git a/japanese/ruby-ming/Makefile b/japanese/ruby-ming/Makefile
deleted file mode 100644
index f71d915a820e..000000000000
--- a/japanese/ruby-ming/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
-# $FreeBSD$
-
-PORTNAME= ming
-PORTVERSION= 0.2a.${RUBY_MING_VERSION}
-PORTREVISION= 2
-PORTEPOCH= 1
-CATEGORIES= japanese graphics ruby
-MASTER_SITES= RF
-MASTER_SITE_SUBDIR= mingruby
-DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION}
-DIST_SUBDIR= ruby
-
-MAINTAINER= don@na.rim.or.jp
-COMMENT= Yet another Ming module for Ruby built with Japanese support
-
-LIB_DEPENDS= libming.so:${PORTSDIR}/japanese/ming
-
-RUBY_MING_VERSION= 0.1.6
-
-USE_RUBY= yes
-USE_RUBY_SETUP= yes
-CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib
-
-DOCS_EN= ChangeLog README.en Usage_en.txt fonts.en
-DOCS_JA= README.ja Usage_ja.txt fonts.ja progress.rd
-
-DEPRECATED= RubyForge shutdown May 15 2014
-EXPIRATION_DATE= 2014-09-20
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options
-
-DOCSDIR= ${RUBY_MODDOCDIR}
-EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
-
-.include <bsd.port.pre.mk>
-
-PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
-
-post-install:
- @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
- @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/japanese/ruby-ming/distinfo b/japanese/ruby-ming/distinfo
deleted file mode 100644
index 3dd3ba6bbf6f..000000000000
--- a/japanese/ruby-ming/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ruby/ming-ruby-0.1.6.tar.gz) = 837b09bb2c6768e64314a31795916fa4cc3894c1fcd221434cb7b5d0bf371a94
-SIZE (ruby/ming-ruby-0.1.6.tar.gz) = 42844
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-ming.c b/japanese/ruby-ming/files/patch-ext-ming-ming-ming.c
deleted file mode 100644
index 0e2973506604..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-ming.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- ext/ming/ming/ming.c.orig 2003-09-28 13:51:44.000000000 +0900
-+++ ext/ming/ming/ming.c 2014-01-29 17:11:21.000000000 +0900
-@@ -56,10 +56,10 @@
- {
- if(TYPE(c) != T_STRING)
- rb_raise(rb_eMingError, "Argument must be a character on keyboard.");
-- if(RSTRING(c)->len != 1)
-+ if(RSTRING_LEN(c) != 1)
- rb_raise(rb_eMingError, "Size of argument must be just 1.");
-
-- return INT2FIX(SWFBUTTON_KEYPRESS(RSTRING(c)->ptr[0]));
-+ return INT2FIX(SWFBUTTON_KEYPRESS(RSTRING_PTR(c)[0]));
- }
-
- static VALUE
-@@ -68,10 +68,10 @@
- {
- if(TYPE(c) != T_STRING)
- rb_raise(rb_eMingError, "Argument must be character on keyboard.");
-- if(RSTRING(c)->len != 1)
-+ if(RSTRING_LEN(c) != 1)
- rb_raise(rb_eMingError, "Size of argument must be just 1.");
-
-- return INT2FIX(SWFBUTTON_ONKEYPRESS(RSTRING(c)->ptr[0]));
-+ return INT2FIX(SWFBUTTON_ONKEYPRESS(RSTRING_PTR(c)[0]));
- }
-
- void rb_Ming_raise(char *msg, ...)
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfaction.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfaction.c
deleted file mode 100644
index 5376e7575638..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swfaction.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/ming/ming/swfaction.c.orig 2003-09-28 13:30:00.000000000 +0900
-+++ ext/ming/ming/swfaction.c 2014-01-29 17:11:21.000000000 +0900
-@@ -36,7 +36,7 @@
- rb_SWFAction_s_new(self, s)
- VALUE self, s;
- {
-- char *script = STR2CSTR(s);
-+ char *script = StringValuePtr(s);
- struct RSWFAction *a = ALLOC(struct RSWFAction);
- VALUE obj;
-
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfbitmap.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfbitmap.c
deleted file mode 100644
index 3c9f9a872755..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swfbitmap.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- ext/ming/ming/swfbitmap.c.orig 2003-09-28 11:54:54.000000000 +0900
-+++ ext/ming/ming/swfbitmap.c 2014-01-29 17:11:21.000000000 +0900
-@@ -39,13 +39,13 @@
-
- rb_scan_args(argc, argv, "11", &f, &a);
-
-- filename = STR2CSTR(f);
-+ filename = StringValuePtr(f);
- fp = fopen(filename, "rb");
- if (fp == NULL)
- RAISE_NOF(filename);
-
- if(NIL_P(a)) {
-- len = RSTRING(f)->len;
-+ len = RSTRING_LEN(f);
- if(len > 5) {
- ext = &filename[len - 5];
- if(strncmp_ignore_case(ext, ".jpeg", 5) == 0) {
-@@ -64,7 +64,7 @@
- }
- } else {
-
-- alpha_filename = STR2CSTR(a);
-+ alpha_filename = StringValuePtr(a);
- afp = fopen(alpha_filename, "rb");
- if (afp == NULL) RAISE_NOF(alpha_filename);
-
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
deleted file mode 100644
index 4f0cc2ccbcec..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/ming/ming/swfdisplayitem.c.orig 2003-09-28 14:40:42.000000000 +0900
-+++ ext/ming/ming/swfdisplayitem.c 2014-01-29 17:11:21.000000000 +0900
-@@ -190,7 +190,7 @@
- struct RSWFDisplayItem *i;
-
- Data_Get_Struct(self, struct RSWFDisplayItem, i);
-- SWFDisplayItem_setName(i->this, STR2CSTR(n));
-+ SWFDisplayItem_setName(i->this, StringValuePtr(n));
-
- return self;
- }
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
deleted file mode 100644
index 7446c1295483..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- ext/ming/ming/swffont.c.orig 2003-09-28 12:51:28.000000000 +0900
-+++ ext/ming/ming/swffont.c 2014-01-29 17:11:21.000000000 +0900
-@@ -44,16 +44,16 @@
- VALUE self, n;
- {
- struct RSWFFont *f = ALLOC(struct RSWFFont);
-- char *name = STR2CSTR(n), *ext;
-+ char *name = StringValuePtr(n), *ext;
- size_t len;
- FILE *fp;
- VALUE obj;
-
- VALUE path = rb_cv_get(rb_cSWFFont, "@@font_path");
-- len = RSTRING(n)->len;
-+ len = RSTRING_LEN(n);
-
- if(len > 4) {
-- ext = &name[RSTRING(n)->len - 4];
-+ ext = &name[RSTRING_LEN(n) - 4];
-
- if (strncmp_ignore_case(ext, ".fdb", 4) == 0) {
- fp = search_file(path, name, "rb");
-@@ -92,7 +92,7 @@
-
- Data_Get_Struct(self, struct RSWFFont, f);
-
-- return rb_float_new(SWFFont_getStringWidth(f->this, STR2CSTR(s)));
-+ return rb_float_new(SWFFont_getStringWidth(f->this, StringValuePtr(s)));
- }
-
- static VALUE
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovie.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovie.c
deleted file mode 100644
index 7735d026dd81..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovie.c
+++ /dev/null
@@ -1,47 +0,0 @@
---- ext/ming/ming/swfmovie.c.orig 2003-09-28 13:22:16.000000000 +0900
-+++ ext/ming/ming/swfmovie.c 2014-01-29 17:11:21.000000000 +0900
-@@ -108,7 +108,7 @@
- int count;
-
- Data_Get_Struct(self, struct RSWFMovie, m);
-- count = SWFMovie_save(m->this, STR2CSTR(s));
-+ count = SWFMovie_save(m->this, StringValuePtr(s));
-
- return INT2NUM(count);
- }
-@@ -226,7 +226,7 @@
- struct RSWFMovie *m;
-
- Data_Get_Struct(self, struct RSWFMovie, m);
-- SWFMovie_labelFrame(m->this, STR2CSTR(label));
-+ SWFMovie_labelFrame(m->this, StringValuePtr(label));
-
- return self;
- }
-@@ -248,7 +248,7 @@
- VALUE self, n;
- {
- struct RSWFMovie *m;
-- char *name = STR2CSTR(n);
-+ char *name = StringValuePtr(n);
- FILE *fp;
- VALUE path = rb_cv_get(rb_cSWFMovie, "@@mp3_path");
- #ifdef SUPPORT_PCM
-@@ -286,7 +286,7 @@
- Data_Get_Struct(block, struct RSWFBlock, b);
-
- regist_references(m->table, n);
-- SWFMovie_addExport(m->this, b->this, STR2CSTR(n));
-+ SWFMovie_addExport(m->this, b->this, StringValuePtr(n));
-
- return self;
- }
-@@ -331,7 +331,7 @@
- {
- struct RSWFMovie *m;
- struct RSWFDisplayItem *i;
-- char *name = STR2CSTR(n);
-+ char *name = StringValuePtr(n);
- FILE *fp;
- VALUE obj, path = rb_cv_get(rb_cSWFMovie, "@@mp3_path");
- SWFSound sound;
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovieclip.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovieclip.c
deleted file mode 100644
index df3e2e2ab307..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swfmovieclip.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ext/ming/ming/swfmovieclip.c.orig 2003-09-28 12:33:14.000000000 +0900
-+++ ext/ming/ming/swfmovieclip.c 2014-01-29 17:11:21.000000000 +0900
-@@ -135,7 +135,7 @@
-
- Data_Get_Struct(self, struct RSWFMovieClip, m);
-
-- SWFMovieClip_labelFrame(m->this, STR2CSTR(s));
-+ SWFMovieClip_labelFrame(m->this, StringValuePtr(s));
-
- return self;
- }
-@@ -158,7 +158,7 @@
- VALUE self, n, r;
- {
- struct RSWFMovie *m;
-- char *name = STR2CSTR(n);
-+ char *name = StringValuePtr(n);
- FILE *fp;
- VALUE path = rb_cv_get(rb_cSWFMovie, "@@mp3_path");
- #ifdef SUPPORT_PCM
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swftext.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swftext.c
deleted file mode 100644
index b950392e1d57..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swftext.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ext/ming/ming/swftext.c.orig 2003-09-28 13:30:34.000000000 +0900
-+++ ext/ming/ming/swftext.c 2014-01-29 17:11:21.000000000 +0900
-@@ -143,7 +143,7 @@
-
- Data_Get_Struct(self, struct RSWFText, p);
-
-- SWFText_addString(p->this, STR2CSTR(s), NULL);
-+ SWFText_addString(p->this, StringValuePtr(s), NULL);
- return self;
- }
-
-@@ -154,7 +154,7 @@
- struct RSWFText *p;
-
- Data_Get_Struct(self, struct RSWFText, p);
-- return rb_float_new(SWFText_getStringWidth(p->this, STR2CSTR(s)));
-+ return rb_float_new(SWFText_getStringWidth(p->this, StringValuePtr(s)));
- }
-
- static VALUE
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swftextfield.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swftextfield.c
deleted file mode 100644
index c17060aaa19d..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swftextfield.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ext/ming/ming/swftextfield.c.orig 2003-09-28 12:01:42.000000000 +0900
-+++ ext/ming/ming/swftextfield.c 2014-01-29 17:11:21.000000000 +0900
-@@ -209,7 +209,7 @@
- struct RSWFTextField *t;
-
- Data_Get_Struct(self, struct RSWFTextField, t);
-- SWFTextField_addString(t->this, STR2CSTR(s));
-+ SWFTextField_addString(t->this, StringValuePtr(s));
-
- return self;
- }
-@@ -245,7 +245,7 @@
- struct RSWFTextField *t;
-
- Data_Get_Struct(self, struct RSWFTextField, t);
-- SWFTextField_setVariableName(t->this, STR2CSTR(n));
-+ SWFTextField_setVariableName(t->this, StringValuePtr(n));
-
- return self;
- }
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-util.c b/japanese/ruby-ming/files/patch-ext-ming-ming-util.c
deleted file mode 100644
index ae5d3161fc36..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-util.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- ext/ming/ming/util.c.orig 2003-09-28 13:30:20.000000000 +0900
-+++ ext/ming/ming/util.c 2014-01-29 17:11:17.000000000 +0900
-@@ -83,10 +83,10 @@
- if (fp != NULL)
- return fp;
-
-- for(i = 0; i < RARRAY(path)->len; i++) {
-- item = RARRAY(path)->ptr[i];
-- dir = STR2CSTR(item);
-- dir_len = RSTRING(item)->len;
-+ for(i = 0; i < RARRAY_LEN(path); i++) {
-+ item = RARRAY_PTR(path)[i];
-+ dir = StringValuePtr(item);
-+ dir_len = RSTRING_LEN(item);
-
- if(strncmp(&dir[dir_len - 1], delimiter, 1) != 0) {
- total_len = dir_len + len + 2;
diff --git a/japanese/ruby-ming/files/patch-setup.rb b/japanese/ruby-ming/files/patch-setup.rb
deleted file mode 100644
index 3a4522cd2569..000000000000
--- a/japanese/ruby-ming/files/patch-setup.rb
+++ /dev/null
@@ -1,20 +0,0 @@
---- setup.rb.orig 2003-09-28 15:35:08.000000000 +0900
-+++ setup.rb 2014-01-29 17:12:49.000000000 +0900
-@@ -204,7 +204,7 @@
-
- class ConfigTable
-
-- c = ::Config::CONFIG
-+ c = ::RbConfig::CONFIG
-
- rubypath = c['bindir'] + '/' + c['ruby_install_name']
-
-@@ -787,7 +787,7 @@
- raise InstallError, "no ruby extention exists: 'ruby #{$0} setup' first"
- end
-
-- DLEXT = /\.#{ ::Config::CONFIG['DLEXT'] }\z/
-+ DLEXT = /\.#{ ::RbConfig::CONFIG['DLEXT'] }\z/
-
- def _ruby_extentions( dir )
- Dir.open(dir) {|d|
diff --git a/japanese/ruby-ming/pkg-descr b/japanese/ruby-ming/pkg-descr
deleted file mode 100644
index 7241f4a44b34..000000000000
--- a/japanese/ruby-ming/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Ming/Ruby is yet another implementation of Ming embedding for Ruby
-extension library without SWIG. Ming/Ruby also supports JaMing which
-is an improvement of Ming to display Japanese characters and to play
-sounds. To use Japanese fonts with JaMing, the letters must be
-followed the UTF-8 formats. Uconv, which is an UTF-8 extension library
-for Ruby, can be used to convert other Kanji encodings into Unicode.
-
-Author: Daisuke Ikegami <ikegami@madscientist.jp>
-WWW: http://mingruby.rubyforge.org/
diff --git a/japanese/ruby-ming/pkg-plist b/japanese/ruby-ming/pkg-plist
deleted file mode 100644
index f29e299e3460..000000000000
--- a/japanese/ruby-ming/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-%%RUBY_SITEARCHLIBDIR%%/ming/ming.so
-@dirrm %%RUBY_SITEARCHLIBDIR%%/ming
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/README
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/action.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/button.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/drag.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gradient.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gradientxform.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/keypress.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/mousetrack.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/newbutton.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/shape.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sparks.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sprite.rb
-%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Usage_en.txt
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fonts.en
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Usage_ja.txt
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/fonts.ja
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/progress.rd
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%