diff options
author | taca <taca> | 2011-02-28 15:46:08 +0000 |
---|---|---|
committer | taca <taca> | 2011-02-28 15:46:08 +0000 |
commit | 5886e6f4d1c19f4dd04574a162258e422ffe5512 (patch) | |
tree | 811f0ce657dd4126ea341548ea05d58c01168026 /graphics/ruby-imlib2 | |
parent | 4032c3afc51fa3d9f51b4f57c49a8f2194777c74 (diff) | |
download | pkgsrc-5886e6f4d1c19f4dd04574a162258e422ffe5512.tar.gz |
Fix build problem with ruby18.
Give up to patch gemspec but use pre-generated one.
Diffstat (limited to 'graphics/ruby-imlib2')
-rw-r--r-- | graphics/ruby-imlib2/Makefile | 6 | ||||
-rw-r--r-- | graphics/ruby-imlib2/distinfo | 3 | ||||
-rw-r--r-- | graphics/ruby-imlib2/files/gemspec | 80 | ||||
-rw-r--r-- | graphics/ruby-imlib2/patches/patch-aa | 13 |
4 files changed, 86 insertions, 16 deletions
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile index 5a2c6f5caee..ec01ccf72cb 100644 --- a/graphics/ruby-imlib2/Makefile +++ b/graphics/ruby-imlib2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2011/02/21 16:01:17 taca Exp $ +# $NetBSD: Makefile,v 1.25 2011/02/28 15:46:08 taca Exp $ DISTNAME= imlib2-ruby-0.5.2 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} @@ -20,5 +20,9 @@ pre-configure: BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.2.0nb2 +# use pre-generated gemspec file to avoid rubygems's incompatibility. +post-extract: + ${CP} ${FILESDIR}/gemspec ${WRKDIR}/${DISTNAME}.gemspec + .include "../../graphics/imlib2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/ruby-imlib2/distinfo b/graphics/ruby-imlib2/distinfo index 861f9fb518e..54ac2bfa383 100644 --- a/graphics/ruby-imlib2/distinfo +++ b/graphics/ruby-imlib2/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.6 2010/09/10 06:49:22 taca Exp $ +$NetBSD: distinfo,v 1.7 2011/02/28 15:46:08 taca Exp $ SHA1 (imlib2-ruby-0.5.2.gem) = 2d723441dae7630f7bec8c55486333a8efb2dbf1 RMD160 (imlib2-ruby-0.5.2.gem) = ebc3cdbcbefd90d38c6723dc620ed82fa4abff8b Size (imlib2-ruby-0.5.2.gem) = 119296 bytes -SHA1 (patch-aa) = 7922179aad42bfaf340a85ef7611422696dfdab3 SHA1 (patch-ab) = 04f72f6b839756c00b65feddc8bbec6ac6703642 diff --git a/graphics/ruby-imlib2/files/gemspec b/graphics/ruby-imlib2/files/gemspec new file mode 100644 index 00000000000..c7e18d73670 --- /dev/null +++ b/graphics/ruby-imlib2/files/gemspec @@ -0,0 +1,80 @@ +--- !ruby/object:Gem::Specification +name: imlib2-ruby +version: !ruby/object:Gem::Version + version: 0.5.2 +platform: ruby +authors: +- Paul Duncan +autorequire: imlib2 +bindir: bin +cert_chain: +date: 2005-06-11 +default_executable: +dependencies: [] + +description: Imlib2 bindings for Ruby. +email: pabs@pablotron.org +executables: [] + +extensions: +- extconf.rb +extra_rdoc_files: [] + +files: +- ChangeLog +- AUTHORS +- COPYING +- examples +- MANIFEST +- README +- TODO +- depend +- extconf.rb +- imlib2.c +- imlib2.gemspec +- examples/fonts +- examples/checkerboard.rb +- examples/oo-board.rb +- examples/test_attach.rb +- examples/test_font.rb +- examples/test_imlib2.rb +- examples/test_poly.rb +- examples/images +- examples/fonts/yudit.ttf +- examples/images/bill_gates.jpg +- examples/images/clown.jpg +has_rdoc: true +homepage: http://www.pablotron.org/software/imlib2-ruby/ +licenses: +post_install_message: +rdoc_options: +- --title +- Imlib2-Ruby API Documentation +- --webcvs +- http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/imlib2-ruby/ +- imlib2.c +- README +- ChangeLog +- AUTHORS +- COPYING +- TODO +require_paths: +- lib +required_ruby_version: !ruby/object:Gem::Requirement + requirements: + - - ">" + - !ruby/object:Gem::Version + version: 0.0.0 + version: +required_rubygems_version: +requirements: +- Imlib2, version 1.2.0 (or newer) +- Ruby, version 1.8.2 (or newer) +rubyforge_project: imlib2-ruby +rubygems_version: 1.3.7 +signing_key: +specification_version: 1 +summary: Imlib2 bindings for Ruby. +test_files: [] + + diff --git a/graphics/ruby-imlib2/patches/patch-aa b/graphics/ruby-imlib2/patches/patch-aa deleted file mode 100644 index 5940114000b..00000000000 --- a/graphics/ruby-imlib2/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2010/09/10 06:49:22 taca Exp $ - -Fix gem's name to lower case. - ---- ../imlib2-ruby-0.5.2.gemspec.orig 2010-09-09 02:53:49.000000000 +0000 -+++ ../imlib2-ruby-0.5.2.gemspec -@@ -1,5 +1,5 @@ - --- !ruby/object:Gem::Specification --name: Imlib2-Ruby -+name: imlib2-ruby - version: !ruby/object:Gem::Version - version: 0.5.2 - platform: ruby |