summaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Divert
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-18 15:26:01 +0000
committerpav <pav@FreeBSD.org>2004-12-18 15:26:01 +0000
commited81aafd2acd00195028054b87b73b1196768d68 (patch)
tree5e2054b94a1a29f64190a9cdf11c178460498358 /net/p5-Net-Divert
parent1b03592d82007587e00d044cc9fb1d2808108b06 (diff)
downloadFreeBSD-ports-ed81aafd2acd00195028054b87b73b1196768d68.zip
FreeBSD-ports-ed81aafd2acd00195028054b87b73b1196768d68.tar.gz
- Take care of empty directories after uninstall
PR: ports/75192 Submitted by: Nicolas Jombart <ecu@ipv42.net> (maintainer)
Diffstat (limited to 'net/p5-Net-Divert')
-rw-r--r--net/p5-Net-Divert/Makefile1
-rw-r--r--net/p5-Net-Divert/pkg-plist4
2 files changed, 4 insertions, 1 deletions
diff --git a/net/p5-Net-Divert/Makefile b/net/p5-Net-Divert/Makefile
index 61c433b..1cf2f73 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 2c12b25..df92667 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
OpenPOWER on IntegriCloud