Cleanup empty directories for localized manpages.[1]

Readd pkg-plist, because PLIST_DIRS does not support
conditional @unexec rmdir

PR:		64901
Reported by:	dinoex
This commit is contained in:
Tilman Keskinoz 2004-03-30 09:29:47 +00:00
parent 6cdda55cf0
commit ac231e0b90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105682
2 changed files with 6 additions and 3 deletions

View file

@ -34,8 +34,5 @@ USE_PERL5= yes
MAN1= help2man.1
INFO= help2man
PLIST_FILES= bin/help2man %%NLS%%lib/hacklocaledir.so \
%%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo \
%%NLS%%share/locale/pl/LC_MESSAGES/help2man.mo
.include <bsd.port.mk>

6
misc/help2man/pkg-plist Normal file
View file

@ -0,0 +1,6 @@
bin/help2man
%%NLS%%lib/hacklocaledir.so
%%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo
%%NLS%%share/locale/pl/LC_MESSAGES/help2man.mo
%%NLS%%@unexec rmdir %D/man/fr/man1 2>/dev/null || true
%%NLS%%@unexec rmdir %D/man/pl/man1 2>/dev/null || true