aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-04-14 22:31:52 +0000
committerSteve Price <steve@FreeBSD.org>2001-04-14 22:31:52 +0000
commitd73ba718faf26d7121b77abe23bcdde4471ffd37 (patch)
tree933c4cf888a3e578c5dc57fa7101d4811c5bbd1a /net
parent528bd5316b1d513249603d42e06673dde2743fb5 (diff)
downloadports-d73ba718faf26d7121b77abe23bcdde4471ffd37.tar.gz
ports-d73ba718faf26d7121b77abe23bcdde4471ffd37.zip
Remove empty directories on uninstall.
Notes
Notes: svn path=/head/; revision=41387
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-IPv4Addr/pkg-plist2
-rw-r--r--net/p5-Net-Netmask/pkg-plist2
-rw-r--r--net/p5-Net-Patricia/pkg-plist2
-rw-r--r--net/p5-Socks/pkg-plist3
4 files changed, 9 insertions, 0 deletions
diff --git a/net/p5-Net-IPv4Addr/pkg-plist b/net/p5-Net-IPv4Addr/pkg-plist
index bd8cac8c4d6e..0a3f254d4f64 100644
--- a/net/p5-Net-IPv4Addr/pkg-plist
+++ b/net/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/p5-Net-Netmask/pkg-plist b/net/p5-Net-Netmask/pkg-plist
index 6696839b04e0..6a04e9c5fa62 100644
--- a/net/p5-Net-Netmask/pkg-plist
+++ b/net/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
diff --git a/net/p5-Net-Patricia/pkg-plist b/net/p5-Net-Patricia/pkg-plist
index fda73cd1faa9..890c195a76a6 100644
--- a/net/p5-Net-Patricia/pkg-plist
+++ b/net/p5-Net-Patricia/pkg-plist
@@ -3,3 +3,5 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Patricia/Patricia.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Patricia/.packlist
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Patricia.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Patricia
+@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%%/%%PERL_ARCH%%/Net 2>/dev/null || true
diff --git a/net/p5-Socks/pkg-plist b/net/p5-Socks/pkg-plist
index 8b965835f49c..9989db8a57c4 100644
--- a/net/p5-Socks/pkg-plist
+++ b/net/p5-Socks/pkg-plist
@@ -20,3 +20,6 @@ lib/perl5/site_perl/%%PERL_VER%%/auto/Net/SOCKS/_user_response5.al
lib/perl5/site_perl/%%PERL_VER%%/auto/Net/SOCKS/_validate.al
@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Net/SOCKS
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SOCKS
+@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