diff options
author | pav <pav@FreeBSD.org> | 2004-12-18 23:26:01 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-18 23:26:01 +0800 |
commit | ed81aafd2acd00195028054b87b73b1196768d68 (patch) | |
tree | 5e2054b94a1a29f64190a9cdf11c178460498358 | |
parent | 1b03592d82007587e00d044cc9fb1d2808108b06 (diff) | |
download | freebsd-ports-gnome-ed81aafd2acd00195028054b87b73b1196768d68.tar.gz freebsd-ports-gnome-ed81aafd2acd00195028054b87b73b1196768d68.tar.zst freebsd-ports-gnome-ed81aafd2acd00195028054b87b73b1196768d68.zip |
- Take care of empty directories after uninstall
PR: ports/75192
Submitted by: Nicolas Jombart <ecu@ipv42.net> (maintainer)
-rw-r--r-- | net/p5-Net-Divert/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-Divert/pkg-plist | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/net/p5-Net-Divert/Makefile b/net/p5-Net-Divert/Makefile index 61c433b28660..1cf2f73776bb 100644 --- a/net/p5-Net-Divert/Makefile +++ b/net/p5-Net-Divert/Makefile @@ -6,6 +6,7 @@ PORTNAME= Net-Divert PORTVERSION= 0.01 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net diff --git a/net/p5-Net-Divert/pkg-plist b/net/p5-Net-Divert/pkg-plist index 2c12b2593ad8..df9266792210 100644 --- a/net/p5-Net-Divert/pkg-plist +++ b/net/p5-Net-Divert/pkg-plist @@ -1,6 +1,8 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Divert/.packlist %%SITE_PERL%%/Net/Divert.pm %%SITE_PERL%%/auto/Net/Divert/autosplit.ix -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Divert/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Divert +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true @dirrm %%SITE_PERL%%/auto/Net/Divert @unexec rmdir %D/%%SITE_PERL%%/auto/Net 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true |