summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-19 08:23:22 +0000
committerknu <knu@FreeBSD.org>2001-03-19 08:23:22 +0000
commit879fd6eed4058a7eda8f7b9058f94372131b1cce (patch)
tree924037d3a49f7fb978b95b89ca31140423b69796 /lang
parent57aa3282b830ea7486811ee4d25aa8e658c700a3 (diff)
downloadFreeBSD-ports-879fd6eed4058a7eda8f7b9058f94372131b1cce.zip
FreeBSD-ports-879fd6eed4058a7eda8f7b9058f94372131b1cce.tar.gz
Remove RUBY_DOCDIR if empty.
Submitted by: bento
Diffstat (limited to 'lang')
-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 6372ae2fd..5a0d6ea 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
OpenPOWER on IntegriCloud