diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-sdl/Makefile | 14 | ||||
-rw-r--r-- | devel/ruby-sdl/distinfo | 2 | ||||
-rw-r--r-- | devel/ruby-sdl/pkg-plist | 12 |
3 files changed, 16 insertions, 12 deletions
diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile index 7b2685b0250e..7cd6764ee6c9 100644 --- a/devel/ruby-sdl/Makefile +++ b/devel/ruby-sdl/Makefile @@ -6,8 +6,7 @@ # PORTNAME= sdl -PORTVERSION= 0.3 -PORTREVISION= 4 +PORTVERSION= 0.4 CATEGORIES= devel graphics audio ruby MASTER_SITES= http://www.kmc.kyoto-u.ac.jp/~ohai/rubysdl/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -30,17 +29,18 @@ USE_RUBY_RD= yes CONFIGURE_ARGS= --with-sdl-config="sdl11-config" INSTALL_TARGET= site-install +RD_DOCS_EN= rubysdl_doc.en.rd RD_DOCS_JA= rubysdl_doc.rd -DOCS_EN= rubysdl_const_list.txt -DOCS_JA= README ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd$/.html/} +DOCS_EN= README.en ${RD_DOCS_EN} ${RD_DOCS_EN:S/.rd$/.html/} +DOCS_JA= README.ja ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd$/.html/} -post-patch: - ${RUBY} -i -pe 'gsub /EVENT_RESERVED1/, "VIDEOEXPOSE"' ${WRKSRC}/*.c +post-extract: + ${RM} ${WRKSRC}/*.o ${WRKSRC}/*.so post-build: .if !defined(NOPORTDOCS) -.for f in ${RD_DOCS_JA} +.for f in ${RD_DOCS_EN} ${RD_DOCS_JA} @cd ${WRKSRC} && ${RUBY_RD} ${f} > ${f:S/.rd$/.html/} .endfor .endif diff --git a/devel/ruby-sdl/distinfo b/devel/ruby-sdl/distinfo index 09fe8176e30c..e58e7b9dc5b7 100644 --- a/devel/ruby-sdl/distinfo +++ b/devel/ruby-sdl/distinfo @@ -1 +1 @@ -MD5 (ruby/rubysdl-0.3.tar.gz) = e9d9c9f848440fd9c5b67949cd3bfdc6 +MD5 (ruby/rubysdl-0.4.tar.gz) = fd8f3765a84d7c880f33d0d83d14ecb9 diff --git a/devel/ruby-sdl/pkg-plist b/devel/ruby-sdl/pkg-plist index 3627aa79a308..5187b8f3a345 100644 --- a/devel/ruby-sdl/pkg-plist +++ b/devel/ruby-sdl/pkg-plist @@ -1,17 +1,21 @@ -%%RUBY_SITEARCHLIBDIR%%/rubysdl.so -%%RUBY_SITELIBDIR%%/rubysdl.rb +%%RUBY_SITEARCHLIBDIR%%/sdl.so +%%RUBY_SITELIBDIR%%/sdl.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/alpha.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/cdrom.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/font.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/icon.bmp %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/joy.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/movesp.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/playmod.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/playwave.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/rotate.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/sgetest.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sdl/testsprite.rb %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sdl -%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/rubysdl_const_list.txt -%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/ja/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/README.en +%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/rubysdl_doc.en.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/rubysdl_doc.en.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/ja/README.ja %%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/ja/rubysdl_doc.html %%PORTDOCS%%%%RUBY_DOCDIR%%/sdl/ja/rubysdl_doc.rd %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/sdl/ja |