1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Take care of empty directories after uninstall

PR:		ports/75192
Submitted by:	Nicolas Jombart <ecu@ipv42.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-12-18 15:26:01 +00:00
parent 88de31623a
commit 7088054b34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124384
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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