aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-03-30 17:29:47 +0800
committerarved <arved@FreeBSD.org>2004-03-30 17:29:47 +0800
commit1454d352cc1c710771fafd566e3a63b299c84ec8 (patch)
tree76b39165cdb60ee1a3bac873983006233570ad64
parentb875afba2df0a630c1d9d1552499849e541c8c99 (diff)
downloadfreebsd-ports-gnome-1454d352cc1c710771fafd566e3a63b299c84ec8.tar.gz
freebsd-ports-gnome-1454d352cc1c710771fafd566e3a63b299c84ec8.tar.zst
freebsd-ports-gnome-1454d352cc1c710771fafd566e3a63b299c84ec8.zip
Cleanup empty directories for localized manpages.[1]
Readd pkg-plist, because PLIST_DIRS does not support conditional @unexec rmdir PR: 64901 Reported by: dinoex
-rw-r--r--misc/help2man/Makefile3
-rw-r--r--misc/help2man/pkg-plist6
2 files changed, 6 insertions, 3 deletions
diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile
index 9df4ce0f9f42..3bcee1827421 100644
--- a/misc/help2man/Makefile
+++ b/misc/help2man/Makefile
@@ -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>
diff --git a/misc/help2man/pkg-plist b/misc/help2man/pkg-plist
new file mode 100644
index 000000000000..fb54cc8b62d5
--- /dev/null
+++ b/misc/help2man/pkg-plist
@@ -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