summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-03-07 16:43:57 +0000
committertaca <taca@pkgsrc.org>2013-03-07 16:43:57 +0000
commit8919586f889617e2b6e30ecead1246257f2c2f01 (patch)
treeffbb6b206cea99a0c41016104b9d2fc7a1a311ff /graphics
parentf27ae1821588142b038155cde6f0a12680827f77 (diff)
downloadpkgsrc-8919586f889617e2b6e30ecead1246257f2c2f01.tar.gz
* Switch to use OVERRIDE_GEMSPEC instead of pre-generated gemspec.
* Makefile clean up.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-imlib2/Makefile15
-rw-r--r--graphics/ruby-imlib2/files/gemspec80
2 files changed, 5 insertions, 90 deletions
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile
index 3874069ffc5..a940a45864f 100644
--- a/graphics/ruby-imlib2/Makefile
+++ b/graphics/ruby-imlib2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2013/02/16 11:22:29 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2013/03/07 16:43:57 taca Exp $
DISTNAME= imlib2-ruby-0.5.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= graphics
MASTER_SITES= http://pablotron.org/files/gems/
@@ -11,18 +11,13 @@ HOMEPAGE= http://pablotron.org/software/imlib2-ruby/
COMMENT= Imlib2 bindings for Ruby
LICENSE= mit
-GEM_CLEANBUILD= Makefile *.o imlib2.${RUBY_DLEXT} mkmf.log
+GEM_CLEANBUILD= Makefile *.o imlib2.${RUBY_DLEXT} mkmf.log
+OVERRIDE_GEMSPEC= :name=imlib2-ruby
+BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.2.0nb2
pre-configure:
${CHMOD} -R g-w ${WRKSRC}
.include "../../lang/ruby/gem.mk"
-
-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/files/gemspec b/graphics/ruby-imlib2/files/gemspec
deleted file mode 100644
index c7e18d73670..00000000000
--- a/graphics/ruby-imlib2/files/gemspec
+++ /dev/null
@@ -1,80 +0,0 @@
---- !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: []
-
-