aboutsummaryrefslogtreecommitdiffstats
path: root/audio
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 /audio
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 'audio')
-rw-r--r--audio/p5-MP3-ID3v1Tag/pkg-plist2
-rw-r--r--audio/p5-MP3-Info/pkg-plist3
2 files changed, 5 insertions, 0 deletions
diff --git a/audio/p5-MP3-ID3v1Tag/pkg-plist b/audio/p5-MP3-ID3v1Tag/pkg-plist
index 1499c373af7a..045d6c901ae4 100644
--- a/audio/p5-MP3-ID3v1Tag/pkg-plist
+++ b/audio/p5-MP3-ID3v1Tag/pkg-plist
@@ -1,3 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/MP3/ID3v1Tag.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3/ID3v1Tag/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3/ID3v1Tag
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/MP3 2>/dev/null || true
diff --git a/audio/p5-MP3-Info/pkg-plist b/audio/p5-MP3-Info/pkg-plist
index bbfc2bb677f6..c329e2ab8858 100644
--- a/audio/p5-MP3-Info/pkg-plist
+++ b/audio/p5-MP3-Info/pkg-plist
@@ -2,3 +2,6 @@ lib/perl5/site_perl/%%PERL_VER%%/MP3/Info.pm
lib/perl5/site_perl/%%PERL_VER%%/MPEG/MP3Info.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3/Info/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3/Info
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MP3 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/MPEG 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/MP3 2>/dev/null || true