diff options
author | taca <taca@pkgsrc.org> | 2007-09-21 10:14:37 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2007-09-21 10:14:37 +0000 |
commit | 36b94a98067c0e2861415dbae366f8af777d10fb (patch) | |
tree | dfbf24a797b9062f065eac2ff7318d8408d84f69 /devel/ruby-SDL | |
parent | de9db037a8fb1bb593b89fc15b48779880a2c89b (diff) | |
download | pkgsrc-36b94a98067c0e2861415dbae366f8af777d10fb.tar.gz |
Importing ruby-SDL package.
Ruby/SDL is the ruby extension library to use SDL.
SDL(Simple DirectMedia Layer) is a cross-platform multimedia library
designed to provide fast access to the graphics framebuffer and audio
device. See http://www.libsdl.org/ if you want to know SDL in detail.
Fix long standing PR pkg/30858.
Diffstat (limited to 'devel/ruby-SDL')
-rw-r--r-- | devel/ruby-SDL/DESCR | 4 | ||||
-rw-r--r-- | devel/ruby-SDL/Makefile | 46 | ||||
-rw-r--r-- | devel/ruby-SDL/PLIST | 46 | ||||
-rw-r--r-- | devel/ruby-SDL/distinfo | 5 |
4 files changed, 101 insertions, 0 deletions
diff --git a/devel/ruby-SDL/DESCR b/devel/ruby-SDL/DESCR new file mode 100644 index 00000000000..6c012a4aad3 --- /dev/null +++ b/devel/ruby-SDL/DESCR @@ -0,0 +1,4 @@ +Ruby/SDL is the ruby extension library to use SDL. +SDL(Simple DirectMedia Layer) is a cross-platform multimedia library +designed to provide fast access to the graphics framebuffer and audio +device. See http://www.libsdl.org/ if you want to know SDL in detail. diff --git a/devel/ruby-SDL/Makefile b/devel/ruby-SDL/Makefile new file mode 100644 index 00000000000..2915d96cfc1 --- /dev/null +++ b/devel/ruby-SDL/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/09/21 10:14:37 taca Exp $ +# + +DISTNAME= rubysdl-${VERS} +PKGNAME= ${RUBY_PKGPREFIX}-SDL-${VERS} +CATEGORIES= devel audio graphics ruby +MASTER_SITES= http://www.kmc.gr.jp/~ohai/rubysdl/ + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://www.kmc.gr.jp/~ohai/rubysdl.en.html +COMMENT= Ruby extension library to use SDL library + +VERS= 1.3.1 + +USE_RUBY_EXTCONF= yes +INSTALLATION_DIRS= ${RUBY_DOCDIR}/doc/sdl/ja ${RUBY_DOCDIR}/examples/sdl + +RD_SRCS= rubysdl_doc.en.rd rubysdl_doc_old.rd +DOCS_EN= NEWS.en README.en rubysdl_const_list.txt \ + rubysdl_doc.en.html rubysdl_doc.en.rd +DOCS_JA= NEWS.ja README.ja rubysdl_doc_old.html rubysdl_doc_old.rd \ + rubysdl_ref.html rubysdl_ref.rd + +post-build: +.for f in ${RD_SRCS} + cd ${WRKSRC}; ${RUBY_RD} ${f} > ${f:S/.rd/.html/} +.endfor + +post-install: +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/doc/sdl +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/doc/sdl/ja +.endfor + cd ${WRKSRC}/sample; ${INSTALL_DATA} * \ + ${DESTDIR}${RUBY_DOCDIR}/examples/sdl + +.include "../../devel/SDL/buildlink3.mk" +.include "../../devel/SDL_ttf/buildlink3.mk" +.include "../../audio/SDL_mixer/buildlink3.mk" +.include "../../graphics/SDL_image/buildlink3.mk" +.include "../../multimedia/smpeg/buildlink3.mk" +.include "../../lang/ruby/modules.mk" +.include "../../textproc/ruby-rdtool/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-SDL/PLIST b/devel/ruby-SDL/PLIST new file mode 100644 index 00000000000..4f464b267bb --- /dev/null +++ b/devel/ruby-SDL/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/21 10:14:37 taca Exp $ +${RUBY_SITEARCHLIBDIR}/sdl.${RUBY_DLEXT} +${RUBY_SITELIBDIR}/rubysdl_aliases.rb +${RUBY_SITELIBDIR}/sdl.rb +${RUBY_DOCDIR}/doc/sdl/NEWS.en +${RUBY_DOCDIR}/doc/sdl/README.en +${RUBY_DOCDIR}/doc/sdl/rubysdl_const_list.txt +${RUBY_DOCDIR}/doc/sdl/rubysdl_doc.en.html +${RUBY_DOCDIR}/doc/sdl/rubysdl_doc.en.rd +${RUBY_DOCDIR}/doc/sdl/ja/NEWS.ja +${RUBY_DOCDIR}/doc/sdl/ja/README.ja +${RUBY_DOCDIR}/doc/sdl/ja/rubysdl_doc_old.html +${RUBY_DOCDIR}/doc/sdl/ja/rubysdl_doc_old.rd +${RUBY_DOCDIR}/doc/sdl/ja/rubysdl_ref.html +${RUBY_DOCDIR}/doc/sdl/ja/rubysdl_ref.rd +${RUBY_DOCDIR}/examples/sdl/aadraw.rb +${RUBY_DOCDIR}/examples/sdl/alpha.rb +${RUBY_DOCDIR}/examples/sdl/alphadraw.rb +${RUBY_DOCDIR}/examples/sdl/bfont.rb +${RUBY_DOCDIR}/examples/sdl/cdrom.rb +${RUBY_DOCDIR}/examples/sdl/collision.rb +${RUBY_DOCDIR}/examples/sdl/cursor.bmp +${RUBY_DOCDIR}/examples/sdl/cursor.rb +${RUBY_DOCDIR}/examples/sdl/ellipses.rb +${RUBY_DOCDIR}/examples/sdl/event2.rb +${RUBY_DOCDIR}/examples/sdl/font.bmp +${RUBY_DOCDIR}/examples/sdl/font.rb +${RUBY_DOCDIR}/examples/sdl/fpstimer.rb +${RUBY_DOCDIR}/examples/sdl/icon.bmp +${RUBY_DOCDIR}/examples/sdl/joy2.rb +${RUBY_DOCDIR}/examples/sdl/kanji.rb +${RUBY_DOCDIR}/examples/sdl/movesp.rb +${RUBY_DOCDIR}/examples/sdl/playmod.rb +${RUBY_DOCDIR}/examples/sdl/plaympeg.rb +${RUBY_DOCDIR}/examples/sdl/playwave.rb +${RUBY_DOCDIR}/examples/sdl/randrect.rb +${RUBY_DOCDIR}/examples/sdl/sample.ttf +${RUBY_DOCDIR}/examples/sdl/sdlskk.rb +${RUBY_DOCDIR}/examples/sdl/sgetest.rb +${RUBY_DOCDIR}/examples/sdl/stetris.rb +${RUBY_DOCDIR}/examples/sdl/testgl.rb +${RUBY_DOCDIR}/examples/sdl/testsprite.rb +${RUBY_DOCDIR}/examples/sdl/transformblit.rb +@dirrm ${RUBY_DOCDIR}/examples/sdl +@dirrm ${RUBY_DOCDIR}/doc/sdl/ja +@dirrm ${RUBY_DOCDIR}/doc/sdl diff --git a/devel/ruby-SDL/distinfo b/devel/ruby-SDL/distinfo new file mode 100644 index 00000000000..8d830844ea9 --- /dev/null +++ b/devel/ruby-SDL/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/09/21 10:14:37 taca Exp $ + +SHA1 (rubysdl-1.3.1.tar.gz) = 5a60caa607f05f367a2b9b25ef7b75a943809598 +RMD160 (rubysdl-1.3.1.tar.gz) = 382aba7732f8f124922bcb82b2cd59989ab61230 +Size (rubysdl-1.3.1.tar.gz) = 264856 bytes |