summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-03-03 07:41:07 +0000
committertaca <taca@pkgsrc.org>2012-03-03 07:41:07 +0000
commitc92a2a7a1fb6dbcc08dab6c980e47a3e685b53cf (patch)
treeaea6ace672f2ca61aabfa113c30a2b0f66dd2af2 /devel
parent28ca9cb0f8ab027d49232cd8911cea3056d4b187 (diff)
downloadpkgsrc-c92a2a7a1fb6dbcc08dab6c980e47a3e685b53cf.tar.gz
Use OVERRIDE_GEMSPEC to modify gemspec file instead of patch.
Diffstat (limited to 'devel')
-rw-r--r--devel/rake/Makefile6
-rw-r--r--devel/rake/patches/patch-ab39
2 files changed, 5 insertions, 40 deletions
diff --git a/devel/rake/Makefile b/devel/rake/Makefile
index ebce144a566..5f16a56f0f2 100644
--- a/devel/rake/Makefile
+++ b/devel/rake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/08/12 16:01:39 taca Exp $
+# $NetBSD: Makefile,v 1.19 2012/03/03 07:41:07 taca Exp $
DISTNAME= rake-0.8.7
PKGREVISION= 2
@@ -11,6 +11,10 @@ LICENSE= mit
USE_TOOLS+= gzip
+OVERRIDE_GEMSPEC+= :executables rake=rake${RUBY_VER} \
+ :files bin/rake=bin/rake${RUBY_VER} doc/rake.1.gz=doc/rake.1 \
+ test/data/unittest/subdir=
+
FIX_PERM= doc/release_notes/rake-0.7.3.rdoc \
lib/rake/ruby182_test_unit_fix.rb
diff --git a/devel/rake/patches/patch-ab b/devel/rake/patches/patch-ab
deleted file mode 100644
index 3b8f360af26..00000000000
--- a/devel/rake/patches/patch-ab
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2011/08/12 16:01:39 taca Exp $
-
---- ../rake-0.8.7.gemspec.orig 2011-08-07 22:25:39.000000000 +0000
-+++ ../rake-0.8.7.gemspec
-@@ -20,7 +20,7 @@ dependencies: []
- description: Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax.
- email: jim@weirichhouse.org
- executables:
--- rake
-+- rake18
- extensions: []
-
- extra_rdoc_files:
-@@ -57,7 +57,7 @@ files:
- - Rakefile
- - README
- - TODO
--- bin/rake
-+- bin/rake18
- - lib/rake/alt_system.rb
- - lib/rake/classic_namespace.rb
- - lib/rake/clean.rb
-@@ -131,7 +131,6 @@ files:
- - test/data/namespace/Rakefile
- - test/data/statusreturn/Rakefile
- - test/data/unittest/Rakefile
--- test/data/unittest/subdir
- - doc/command_line_usage.rdoc
- - doc/example
- - doc/example/a.c
-@@ -142,7 +141,7 @@ files:
- - doc/glossary.rdoc
- - doc/jamis.rb
- - doc/proto_rake.rdoc
--- doc/rake.1.gz
-+- doc/rake.1
- - doc/rakefile.rdoc
- - doc/rational.rdoc
- - doc/release_notes