aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Tools
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-04-15 06:31:52 +0800
committersteve <steve@FreeBSD.org>2001-04-15 06:31:52 +0800
commita44fd90d222009b3b26973f0a34c83d050b6e662 (patch)
tree4c946e97024df98783512cced0281e32054e212b /devel/p5-File-Tools
parentdaa7d9fbe3ad1fb3fc7564f0acb234122158ae1a (diff)
downloadfreebsd-ports-gnome-a44fd90d222009b3b26973f0a34c83d050b6e662.tar.gz
freebsd-ports-gnome-a44fd90d222009b3b26973f0a34c83d050b6e662.tar.zst
freebsd-ports-gnome-a44fd90d222009b3b26973f0a34c83d050b6e662.zip
Remove empty directories on uninstall.
Diffstat (limited to 'devel/p5-File-Tools')
-rw-r--r--devel/p5-File-Tools/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/p5-File-Tools/pkg-plist b/devel/p5-File-Tools/pkg-plist
index 704657f096da..1e88429512c8 100644
--- a/devel/p5-File-Tools/pkg-plist
+++ b/devel/p5-File-Tools/pkg-plist
@@ -1,4 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/File/Copy.pm
lib/perl5/site_perl/%%PERL_VER%%/File/Recurse.pm
lib/perl5/site_perl/%%PERL_VER%%/File/Tools.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/File
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true