aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Spec
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-Spec
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-Spec')
-rw-r--r--devel/p5-File-Spec/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/p5-File-Spec/pkg-plist b/devel/p5-File-Spec/pkg-plist
index 24b9babfb668..ca1e9c77b4fb 100644
--- a/devel/p5-File-Spec/pkg-plist
+++ b/devel/p5-File-Spec/pkg-plist
@@ -8,4 +8,5 @@ lib/perl5/site_perl/%%PERL_VER%%/File/Spec/Win32.pm
lib/perl5/site_perl/%%PERL_VER%%/File/Spec.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Spec
@dirrm lib/perl5/site_perl/%%PERL_VER%%/File/Spec
-@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