aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-04-15 06:31:52 +0800
committerSteve Price <steve@FreeBSD.org>2001-04-15 06:31:52 +0800
commitd73ba718faf26d7121b77abe23bcdde4471ffd37 (patch)
tree933c4cf888a3e578c5dc57fa7101d4811c5bbd1a /astro
parent528bd5316b1d513249603d42e06673dde2743fb5 (diff)
downloadfreebsd-ports-d73ba718faf26d7121b77abe23bcdde4471ffd37.tar.gz
freebsd-ports-d73ba718faf26d7121b77abe23bcdde4471ffd37.tar.zst
freebsd-ports-d73ba718faf26d7121b77abe23bcdde4471ffd37.zip
Remove empty directories on uninstall.
Notes
Notes: svn path=/head/; revision=41387
Diffstat (limited to 'astro')
-rw-r--r--astro/p5-Astro-MoonPhase/pkg-plist2
-rw-r--r--astro/p5-Astro-SunTime/pkg-plist2
-rw-r--r--astro/p5-GPS/pkg-plist4
-rw-r--r--astro/p5-Geo-METAR/pkg-plist2
4 files changed, 10 insertions, 0 deletions
diff --git a/astro/p5-Astro-MoonPhase/pkg-plist b/astro/p5-Astro-MoonPhase/pkg-plist
index d2c41f1bd22b..2a8617dd12c2 100644
--- a/astro/p5-Astro-MoonPhase/pkg-plist
+++ b/astro/p5-Astro-MoonPhase/pkg-plist
@@ -1,3 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/Astro/MoonPhase.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/MoonPhase/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/MoonPhase
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Astro 2>/dev/null || true
diff --git a/astro/p5-Astro-SunTime/pkg-plist b/astro/p5-Astro-SunTime/pkg-plist
index a45bf26cbb1c..a39f9c59c315 100644
--- a/astro/p5-Astro-SunTime/pkg-plist
+++ b/astro/p5-Astro-SunTime/pkg-plist
@@ -1,3 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/Astro/SunTime.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/SunTime/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/SunTime
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Astro 2>/dev/null || true
diff --git a/astro/p5-GPS/pkg-plist b/astro/p5-GPS/pkg-plist
index 657a7420f827..be5c71bd0a13 100644
--- a/astro/p5-GPS/pkg-plist
+++ b/astro/p5-GPS/pkg-plist
@@ -6,7 +6,11 @@ lib/perl5/site_perl/%%PERL_VER%%/GPS/Serial.pm
lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Garmin/Handler/autosplit.ix
lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Garmin/autosplit.ix
lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Serial/autosplit.ix
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/GPS/Garmin
@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Garmin/Handler
@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Garmin
@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/GPS/Serial
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GPS/Garmin
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GPS 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/GPS 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/GPS 2>/dev/null || true
diff --git a/astro/p5-Geo-METAR/pkg-plist b/astro/p5-Geo-METAR/pkg-plist
index 38644e95c142..7a78be3aa439 100644
--- a/astro/p5-Geo-METAR/pkg-plist
+++ b/astro/p5-Geo-METAR/pkg-plist
@@ -1,3 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/Geo/METAR.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/METAR/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/METAR
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Geo 2>/dev/null || true