aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-ming
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-19 04:20:54 +0800
committergarga <garga@FreeBSD.org>2006-04-19 04:20:54 +0800
commit0267e8b9c0943b9a43b6b2bea0b274e8a9adf35b (patch)
treef76ee7aa46ff216bfc0f0f5f852a11ed7b4ffdb6 /graphics/ruby-ming
parentc1a30a1c888d1091caee4748553154c42b46a47f (diff)
downloadfreebsd-ports-gnome-0267e8b9c0943b9a43b6b2bea0b274e8a9adf35b.tar.gz
freebsd-ports-gnome-0267e8b9c0943b9a43b6b2bea0b274e8a9adf35b.tar.zst
freebsd-ports-gnome-0267e8b9c0943b9a43b6b2bea0b274e8a9adf35b.zip
- Update to 0.3.0.0.1.7
PR: ports/95670 Submitted by: maintainer
Diffstat (limited to 'graphics/ruby-ming')
-rw-r--r--graphics/ruby-ming/Makefile18
-rw-r--r--graphics/ruby-ming/distinfo6
-rw-r--r--graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c20
-rw-r--r--graphics/ruby-ming/pkg-descr13
-rw-r--r--graphics/ruby-ming/pkg-plist25
5 files changed, 46 insertions, 36 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile
index d33bd5cb7fed..5f7cc0a56515 100644
--- a/graphics/ruby-ming/Makefile
+++ b/graphics/ruby-ming/Makefile
@@ -5,9 +5,9 @@
# $FreeBSD$
PORTNAME= ming
-PORTVERSION= 0.2a.${RUBY_MING_VERSION}
+PORTVERSION= 0.3.0.${RUBY_MING_VERSION}
CATEGORIES+= graphics ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/1765/
+MASTER_SITES= http://rubyforge.org/frs/download.php/1841/
PKGNAMEPREFIX?= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION}
DIST_SUBDIR= ruby
@@ -15,28 +15,24 @@ DIST_SUBDIR= ruby
MAINTAINER= don@na.rim.or.jp
COMMENT= Yet another Ming module for Ruby
-LIB_DEPENDS?= ming.3:${PORTSDIR}/graphics/ming
+LIB_DEPENDS?= ming.4:${PORTSDIR}/graphics/ming
-RUBY_MING_VERSION= 0.1.6
+RUBY_MING_VERSION= 0.1.7
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
+DOCS= ChangeLog ChangeLog.0 INSTALL LGPL NEWS README TODO
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
-.for f in ${DOCS_EN}
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
-.endfor
.endif
.include <bsd.port.mk>
diff --git a/graphics/ruby-ming/distinfo b/graphics/ruby-ming/distinfo
index 1565ccae0af8..5e3476a995fc 100644
--- a/graphics/ruby-ming/distinfo
+++ b/graphics/ruby-ming/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/ming-ruby-0.1.6.tar.gz) = df39e476dc4b93e8142c510d61369ffd
-SHA256 (ruby/ming-ruby-0.1.6.tar.gz) = 837b09bb2c6768e64314a31795916fa4cc3894c1fcd221434cb7b5d0bf371a94
-SIZE (ruby/ming-ruby-0.1.6.tar.gz) = 42844
+MD5 (ruby/ming-ruby-0.1.7.tar.gz) = af5fcde9feb2692b475c49ce41c4c2e6
+SHA256 (ruby/ming-ruby-0.1.7.tar.gz) = 2a5eade0914547423d4b178d9cf4d62a50864ce9b2cb09a405bace6b92a7bf7d
+SIZE (ruby/ming-ruby-0.1.7.tar.gz) = 41507
diff --git a/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c b/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c
new file mode 100644
index 000000000000..d98a970173f8
--- /dev/null
+++ b/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c
@@ -0,0 +1,20 @@
+--- ext/ming/mingc/swfmovie.c~ Sun Oct 31 22:52:10 2004
++++ ext/ming/mingc/swfmovie.c Wed Apr 12 23:42:58 2006
+@@ -228,7 +228,7 @@
+ level = NUM2INT(lobj);
+
+ Data_Get_Struct(self, struct RSWFMovie, m);
+- len = SWFMovie_output(m->this, simpleOutputMethod, NULL, level);
++ len = SWFMovie_output(m->this, simpleOutputMethod, NULL/*, level*/);
+
+ return INT2NUM(len);
+ }
+@@ -249,7 +249,7 @@
+ level = NUM2INT(lobj);
+
+ Data_Get_Struct(self, struct RSWFMovie, m);
+- count = SWFMovie_save(m->this, STR2CSTR(s), level);
++ count = SWFMovie_save(m->this, STR2CSTR(s)/*, level*/);
+
+ return INT2NUM(count);
+ }
diff --git a/graphics/ruby-ming/pkg-descr b/graphics/ruby-ming/pkg-descr
index 500352440a08..d4b63d7f0ced 100644
--- a/graphics/ruby-ming/pkg-descr
+++ b/graphics/ruby-ming/pkg-descr
@@ -1,10 +1,5 @@
-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.
+Ming/Ruby is a library for Ruby to generate Macromedia Flash (SWF).
+It is a wrapper around Ming (a SWF output library).
-WWW: http://mingruby.rubyforge.org/
-
-Author: Daisuke Ikegami <ikegami@madscientist.jp>
+Author: IKEGAMI Daisuke <ikegami@madscientist.jp>
+WWW: http://mingruby.rubyforge.org/
diff --git a/graphics/ruby-ming/pkg-plist b/graphics/ruby-ming/pkg-plist
index c3c7c444f119..e1c9555f03af 100644
--- a/graphics/ruby-ming/pkg-plist
+++ b/graphics/ruby-ming/pkg-plist
@@ -1,25 +1,24 @@
-%%RUBY_SITEARCHLIBDIR%%/ming/ming.so
+%%RUBY_SITELIBDIR%%/ming/ming.rb
+@dirrm %%RUBY_SITELIBDIR%%/ming
+%%RUBY_SITEARCHLIBDIR%%/ming/mingc.so
@dirrm %%RUBY_SITEARCHLIBDIR%%/ming
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README.examples
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/action.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/button.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/drag.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradient.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradientxform.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keypress.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mousetrack.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/movieclip.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/newbutton.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shape.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sparks.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sprite.rb
%%PORTDOCS%%@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%%%%RUBY_MODDOCDIR%%/ChangeLog.0
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/INSTALL
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LGPL
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%