aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby-programmingruby/pkg-plist
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-19 08:23:22 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-19 08:23:22 +0000
commit82774083c47a347f663ee495873d18275a4b5c68 (patch)
treec0ff0ae84c67be1ccfff37b1695fc2604b1d712e /lang/ruby-programmingruby/pkg-plist
parent28b2e150ef63117b8b6449e0ac85221447880f03 (diff)
downloadports-82774083c47a347f663ee495873d18275a4b5c68.tar.gz
ports-82774083c47a347f663ee495873d18275a4b5c68.zip
Remove RUBY_DOCDIR if empty.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=40037
Diffstat (limited to 'lang/ruby-programmingruby/pkg-plist')
-rw-r--r--lang/ruby-programmingruby/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ruby-programmingruby/pkg-plist b/lang/ruby-programmingruby/pkg-plist
index 6372ae2fd085..5a0d6ea0132f 100644
--- a/lang/ruby-programmingruby/pkg-plist
+++ b/lang/ruby-programmingruby/pkg-plist
@@ -153,3 +153,4 @@
@dirrm %%RUBY_DOCDIR%%/programmingruby/html
@dirrm %%RUBY_DOCDIR%%/programmingruby/xml
@dirrm %%RUBY_DOCDIR%%/programmingruby
+@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true