summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 15:26:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 15:26:01 +0000
commit7088054b3460a243ed9c3e7884f3c3a6cb889499 (patch)
treeac089d35986b40b4f99400286d51903c41b645e5 /net
parent- Update to 2004.12.16 (diff)
- Take care of empty directories after uninstall
PR: ports/75192 Submitted by: Nicolas Jombart <ecu@ipv42.net> (maintainer)
Notes
Notes: svn path=/head/; revision=124384
Diffstat (limited to 'net')
-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 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