summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-20 13:47:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-20 13:47:41 +0000
commit210d118f6e0e101e1b16011245f298a1d5f3b650 (patch)
treef208faa7b348d34415a0bdf5e4ebd1faef97e25f /devel
parentA qmail-queue replacement to filter mail traffic and more. (diff)
- Fix creation of empty directory when added from package
Notes
Notes: svn path=/head/; revision=139691
Diffstat (limited to 'devel')
-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