diff options
author | knu <knu@FreeBSD.org> | 2003-11-13 01:09:45 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-11-13 01:09:45 +0800 |
commit | f95e217db9620ed5ef13d3a7ec1685e5424fa80c (patch) | |
tree | cb9d004c4be011fb7ff498a7211427ce08b3f59e | |
parent | 443864f14b93ffce49509c3f0c51756d5ec04bf8 (diff) | |
download | freebsd-ports-gnome-f95e217db9620ed5ef13d3a7ec1685e5424fa80c.tar.gz freebsd-ports-gnome-f95e217db9620ed5ef13d3a7ec1685e5424fa80c.tar.zst freebsd-ports-gnome-f95e217db9620ed5ef13d3a7ec1685e5424fa80c.zip |
Temporarily adopt an independent version of the ruby-ming interface
made by Daisuke Ikegami, because the one bundled with Ming does not
work properly.
Submitted by: IWATSUKI Hiroyuki <don@na.rim.or.jp>
-rw-r--r-- | graphics/ruby-ming/Makefile | 53 | ||||
-rw-r--r-- | graphics/ruby-ming/files/patch-depend | 13 | ||||
-rw-r--r-- | graphics/ruby-ming/files/patch-ming.rb | 18 | ||||
-rw-r--r-- | graphics/ruby-ming/pkg-descr | 12 | ||||
-rw-r--r-- | graphics/ruby-ming/pkg-plist | 27 |
5 files changed, 42 insertions, 81 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile index ea8a6c6318ff..d6696683d1b7 100644 --- a/graphics/ruby-ming/Makefile +++ b/graphics/ruby-ming/Makefile @@ -3,54 +3,39 @@ # Whom: Akinori MUSHA aka knu <knu@idaemons.org> # # $FreeBSD$ -# PORTNAME= ming -PORTVERSION= 0.2a +PORTVERSION= 0.2a.${RUBY_MING_VERSION} CATEGORIES= graphics ruby -MASTER_SITES= # none +MASTER_SITES= http://madscientist.jp/~ikegami/sources/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTFILES= # none +DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION} +DIST_SUBDIR= ruby -MAINTAINER= knu@FreeBSD.org -COMMENT= Ruby module for Ming which allows you to create Flash 4/5 movies +MAINTAINER= don@na.rim.or.jp +COMMENT= Yet another Ming module for Ruby -EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch -BUILD_DEPENDS= ${SWIG}:${PORTSDIR}/devel/swig13 LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming -USE_RUBY= yes -USE_RUBY_EXTCONF= yes - -MD5_FILE= ${.CURDIR}/../ming/distinfo - -WRKSRC= ${WRKDIR}/${DISTNAME}/rb_ext -CONFIGURE_ARGS= --with-ming-include="${LOCALBASE}/include/ming" -MAKE_ARGS= SWIG="${SWIG}" -INSTALL_TARGET= site-install - -SWIG= swig1.3 +RUBY_MING_VERSION= 0.1.6 -EXAMPLES= ../examples/rb/*.rb - -do-extract: - ${MKDIR} ${WRKDIR} - ${LN} -s `cd ${PORTSDIR}/graphics/ming; ${MAKE} -V WRKDIR`/* ${WRKDIR}/ - -post-extract: - ${LN} -sf ../ming.i ${WRKSRC}/ +USE_RUBY= yes +USE_RUBY_SETUP= yes +CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib -pre-configure: - cd ${CONFIGURE_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} depend ${MAKE_ARGS} ming_wrap.c; \ - ${RM} -f depend +DOCS_EN= ChangeLog README.en Usage_en.txt fonts.en +DOCS_JA= README.ja Usage_ja.txt fonts.ja progress.rd post-install: - ${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/ .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} -.for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/ + ${MKDIR} ${RUBY_MODDOCDIR}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ .endfor .endif diff --git a/graphics/ruby-ming/files/patch-depend b/graphics/ruby-ming/files/patch-depend deleted file mode 100644 index 2cddb2e4a07c..000000000000 --- a/graphics/ruby-ming/files/patch-depend +++ /dev/null @@ -1,13 +0,0 @@ ---- depend.orig Wed Oct 25 07:02:39 2000 -+++ depend Wed Oct 25 13:23:57 2000 -@@ -4,8 +4,8 @@ - - ming_wrap.o: ming_wrap.c - --ming_wrap.c: ../ming.i -- swig -I.. -ruby ming.i -+ming_wrap.c: ming.i -+ ${SWIG} -ruby ming.i - - clean: clean_local - diff --git a/graphics/ruby-ming/files/patch-ming.rb b/graphics/ruby-ming/files/patch-ming.rb deleted file mode 100644 index 76f13f8b7e9b..000000000000 --- a/graphics/ruby-ming/files/patch-ming.rb +++ /dev/null @@ -1,18 +0,0 @@ ---- ming.rb.orig Mon Sep 17 20:48:39 2001 -+++ ming.rb Tue Sep 18 03:22:32 2001 -@@ -344,6 +344,7 @@ - - # deprecated - class SWFMovieClip <SWFSprite -+end - - class SWFGradient <SWFBase - def initialize -@@ -375,6 +376,7 @@ - - # deprecated - class SWFMorphShape <SWFMorph -+end - - class SWFFont <SWFBase - diff --git a/graphics/ruby-ming/pkg-descr b/graphics/ruby-ming/pkg-descr index bf60e8be8bd0..16dd3621b498 100644 --- a/graphics/ruby-ming/pkg-descr +++ b/graphics/ruby-ming/pkg-descr @@ -1,4 +1,10 @@ -This is a Ruby module for the Ming library based on Python module. -Ming allows you to create Flash 4/5 (TM) movies. +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: Kazuki Sakamoto <sakamoto@splhack.org> +WWW: http://madscientist.jp/~ikegami/ruby/ming/ + +Author: Daisuke Ikegami <ikegami@madscientist.jp> diff --git a/graphics/ruby-ming/pkg-plist b/graphics/ruby-ming/pkg-plist index 35ac36fd0197..c3c7c444f119 100644 --- a/graphics/ruby-ming/pkg-plist +++ b/graphics/ruby-ming/pkg-plist @@ -1,24 +1,25 @@ -%%RUBY_SITEARCHLIBDIR%%/mingc.so -%%RUBY_SITELIBDIR%%/ming.rb +%%RUBY_SITEARCHLIBDIR%%/ming/ming.so +@dirrm %%RUBY_SITEARCHLIBDIR%%/ming +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/action.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/alphafill.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/animation.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/bitmapxform.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/button.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cxform.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/drag.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/glyph.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradient.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradientxform.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/jpegfill.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keypress.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/morph.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mousetrack.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/newbutton.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/png.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pngalpha.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shape.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sparks.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sprite.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/streammp3.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/text.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%%@dirrm %%RUBY_MODDOCDIR%% |