- Switch to use vendor_dir with Ruby 1.8.7. Bump PKGREVISION.diff -r1.8 -r1.9 pkgsrc/multimedia/ruby-ming/Makefile
(taca)
@@ -1,28 +1,33 @@ | @@ -1,28 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2008/04/04 15:31:39 jlam Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2008/06/19 14:52:45 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= ming-ruby-${VER} | 3 | DISTNAME= ming-ruby-${VER} | |
4 | PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER} | 4 | PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER} | |
5 | PKGREVISION= 1 | |||
5 | CATEGORIES= multimedia | 6 | CATEGORIES= multimedia | |
6 | MASTER_SITES= http://rubyforge.org/frs/download.php/15678/ | 7 | MASTER_SITES= http://rubyforge.org/frs/download.php/15678/ | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://mingruby.rubyforge.org/ | 10 | HOMEPAGE= http://mingruby.rubyforge.org/ | |
10 | COMMENT= Ruby extension to drive the Ming SWF library | 11 | COMMENT= Ruby extension to drive the Ming SWF library | |
11 | 12 | |||
12 | USE_RUBY_SETUP= yes | 13 | USE_RUBY_SETUP= yes | |
13 | VER= 0.1.8 | 14 | VER= 0.1.8 | |
14 | 15 | |||
16 | CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \ | |||
17 | --siterubyver=${PREFIX}/${RUBY_VENDORLIB} \ | |||
18 | --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB} | |||
19 | ||||
15 | EXAMPLES= README.examples action.rb drag.rb \ | 20 | EXAMPLES= README.examples action.rb drag.rb \ | |
16 | gradient.rb gradientxform.rb hello.rb keypress.rb \ | 21 | gradient.rb gradientxform.rb hello.rb keypress.rb \ | |
17 | mousetrack.rb movieclip.rb newbutton.rb shape.rb | 22 | mousetrack.rb movieclip.rb newbutton.rb shape.rb | |
18 | REPLACE_RUBY_DIRS= examples | 23 | REPLACE_RUBY_DIRS= examples | |
24 | INSTALLATION_DIRS= ${RUBY_EG}/ming | |||
19 | 25 | |||
20 | post-install: | 26 | post-install: | |
21 | ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ming | |||
22 | .for f in ${EXAMPLES} | 27 | .for f in ${EXAMPLES} | |
23 | ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/ming | 28 | ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/ming | |
24 | .endfor | 29 | .endfor | |
25 | 30 | |||
26 | .include "../../multimedia/ming/buildlink3.mk" | 31 | .include "../../multimedia/ming/buildlink3.mk" | |
27 | .include "../../lang/ruby/modules.mk" | 32 | .include "../../lang/ruby/modules.mk" | |
28 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2006/09/13 15:58:48 obache Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2008/06/19 14:52:45 taca Exp $ | |
2 | ${RUBY_SITEARCHLIBDIR}/ming/mingc.${RUBY_DLEXT} | 2 | ${RUBY_VENDORARCHLIB}/ming/mingc.${RUBY_DLEXT} | |
3 | ${RUBY_SITELIBDIR}/ming/ming.rb | 3 | ${RUBY_VENDORLIB}/ming/ming.rb | |
4 | ${RUBY_EXAMPLESDIR}/ming/README.examples | 4 | ${RUBY_EG}/ming/README.examples | |
5 | ${RUBY_EXAMPLESDIR}/ming/action.rb | 5 | ${RUBY_EG}/ming/action.rb | |
6 | ${RUBY_EXAMPLESDIR}/ming/drag.rb | 6 | ${RUBY_EG}/ming/drag.rb | |
7 | ${RUBY_EXAMPLESDIR}/ming/gradient.rb | 7 | ${RUBY_EG}/ming/gradient.rb | |
8 | ${RUBY_EXAMPLESDIR}/ming/gradientxform.rb | 8 | ${RUBY_EG}/ming/gradientxform.rb | |
9 | ${RUBY_EXAMPLESDIR}/ming/hello.rb | 9 | ${RUBY_EG}/ming/hello.rb | |
10 | ${RUBY_EXAMPLESDIR}/ming/keypress.rb | 10 | ${RUBY_EG}/ming/keypress.rb | |
11 | ${RUBY_EXAMPLESDIR}/ming/mousetrack.rb | 11 | ${RUBY_EG}/ming/mousetrack.rb | |
12 | ${RUBY_EXAMPLESDIR}/ming/movieclip.rb | 12 | ${RUBY_EG}/ming/movieclip.rb | |
13 | ${RUBY_EXAMPLESDIR}/ming/newbutton.rb | 13 | ${RUBY_EG}/ming/newbutton.rb | |
14 | ${RUBY_EXAMPLESDIR}/ming/shape.rb | 14 | ${RUBY_EG}/ming/shape.rb | |
15 | @dirrm ${RUBY_SITEARCHLIBDIR}/ming | 15 | @dirrm ${RUBY_VENDORARCHLIB}/ming | |
16 | @dirrm ${RUBY_SITELIBDIR}/ming | 16 | @dirrm ${RUBY_VENDORLIB}/ming | |
17 | @dirrm ${RUBY_EXAMPLESDIR}/ming | 17 | @dirrm ${RUBY_EG}/ming |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2007/03/17 16:11:08 taca Exp $ | 1 | $NetBSD: distinfo,v 1.5 2008/06/19 14:52:45 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (ming-ruby-0.1.8.tar.gz) = 5c6bf4f84d578f5b9f0ede60bc2e45e7ac0bdbc2 | 3 | SHA1 (ming-ruby-0.1.8.tar.gz) = 5c6bf4f84d578f5b9f0ede60bc2e45e7ac0bdbc2 | |
4 | RMD160 (ming-ruby-0.1.8.tar.gz) = 43060ed6e903f27c17ca38512cfabaf747abcdcf | 4 | RMD160 (ming-ruby-0.1.8.tar.gz) = 43060ed6e903f27c17ca38512cfabaf747abcdcf | |
5 | Size (ming-ruby-0.1.8.tar.gz) = 158877 bytes | 5 | Size (ming-ruby-0.1.8.tar.gz) = 158877 bytes | |
6 | SHA1 (patch-aa) = 6a4ef5dc3611ed3b8909bedca34f72c07241d44e |
$NetBSD: patch-ab,v 1.1 2008/06/19 14:52:45 taca Exp $
--- setup.rb.orig 2004-10-30 14:17:39.000000000 +0000
+++ setup.rb
@@ -1109,7 +1109,7 @@ class Installer
def extconf
opt = @options['config-opt'].join(' ')
- command "#{config('rubyprog')} #{curr_srcdir()}/extconf.rb #{opt}"
+ command "#{config('rubyprog')} #{curr_srcdir()}/extconf.rb #{opt} --vendor"
end
def config_dir_data(rel)