aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
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 /net-mgmt
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 'net-mgmt')
-rw-r--r--net-mgmt/p5-Net-IPv4Addr/pkg-plist2
-rw-r--r--net-mgmt/p5-Net-Netmask/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-IPv4Addr/pkg-plist b/net-mgmt/p5-Net-IPv4Addr/pkg-plist
index bd8cac8c4d6e..0a3f254d4f64 100644
--- a/net-mgmt/p5-Net-IPv4Addr/pkg-plist
+++ b/net-mgmt/p5-Net-IPv4Addr/pkg-plist
@@ -3,5 +3,7 @@ lib/perl5/site_perl/%%PERL_VER%%/Net/IPv4Addr.pm
lib/perl5/site_perl/%%PERL_VER%%/auto/Net/IPv4Addr/autosplit.ix
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Net/IPv4Addr
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Net 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
diff --git a/net-mgmt/p5-Net-Netmask/pkg-plist b/net-mgmt/p5-Net-Netmask/pkg-plist
index 6696839b04e0..6a04e9c5fa62 100644
--- a/net-mgmt/p5-Net-Netmask/pkg-plist
+++ b/net-mgmt/p5-Net-Netmask/pkg-plist
@@ -2,3 +2,5 @@ lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pod
lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true