summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-11-03 15:49:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-11-03 15:49:06 +0000
commit47e3fac3c68db337b84612c8116550e4d128bd3b (patch)
treeaad43c8ca8e7c07f3b420abc30726bbe2f4b1097 /devel
parent- Update to 2.2; (diff)
Remove RUBY_EXAMPLESDIR on deinstallation if it's empty. As byaccr
doesn't RUN_DEPENDS on ruby, it has to remove the directory by itself.
Notes
Notes: svn path=/head/; revision=34744
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-byaccr/Makefile1
-rw-r--r--devel/ruby-byaccr/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile
index 0321644ebd9f..6449c1a277b5 100644
--- a/devel/ruby-byaccr/Makefile
+++ b/devel/ruby-byaccr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= byaccr
PORTVERSION= 0.0
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= http://kt-www.jaist.ac.jp:8000/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
diff --git a/devel/ruby-byaccr/pkg-plist b/devel/ruby-byaccr/pkg-plist
index 098b2b8bb1fc..4427a8bf77d7 100644
--- a/devel/ruby-byaccr/pkg-plist
+++ b/devel/ruby-byaccr/pkg-plist
@@ -3,3 +3,4 @@ bin/byaccr
%%RUBY_EXAMPLESDIR%%/byaccr/Test.rb
%%RUBY_EXAMPLESDIR%%/byaccr/cal.y
@dirrm %%RUBY_EXAMPLESDIR%%/byaccr
+@unexec rmdir %D/%%RUBY_EXAMPLESDIR%% 2>/dev/null || true