aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-gems
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-gems')
-rw-r--r--devel/ruby-gems/Makefile1
-rw-r--r--devel/ruby-gems/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index c24363619a0d..672ad0417a1e 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gems
PORTVERSION= 0.8.10
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/3700/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
diff --git a/devel/ruby-gems/pkg-plist b/devel/ruby-gems/pkg-plist
index 9bc29dc93b4c..8c6c29a11279 100644
--- a/devel/ruby-gems/pkg-plist
+++ b/devel/ruby-gems/pkg-plist
@@ -34,6 +34,7 @@ lib/ruby/gems/%%RUBY_VER%%/specifications/sources-0.0.1.gemspec
%%RUBY_SITELIBDIR%%/rubygems/version.rb
%%RUBY_SITELIBDIR%%/rubygems.rb
%%RUBY_SITELIBDIR%%/ubygems.rb
+@exec mkdir -p %D/lib/ruby/gems/%%RUBY_VER%%/doc
@unexec rmdir %D/lib/ruby/gems/%%RUBY_VER%%/cache 2>/dev/null || true
@unexec rmdir %D/lib/ruby/gems/%%RUBY_VER%%/doc 2>/dev/null || true
@unexec rmdir %D/lib/ruby/gems/%%RUBY_VER%%/gems/sources-0.0.1/lib 2>/dev/null || true