1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net/jwhois/pkg-plist
Edwin Groothuis 508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00

28 lines
1.1 KiB
Plaintext

bin/jwhois
@unexec if cmp -s %D/etc/jwhois.conf %D/etc/jwhois.conf.sample; then rm -f %D/etc/jwhois.conf; fi
etc/jwhois.conf.sample
@exec if [ ! -f %B/jwhois.conf ]; then cp %B/%f %B/jwhois.conf; fi
%%NLS%%share/locale/es/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/fr/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/hu/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/id/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/it/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/nl/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/pl/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/ro/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/ru/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/rw/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/sv/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/tr/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/vi/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/jwhois.mo
@exec mkdir -p %D/var/jwhois 2>/dev/null || true
@unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true
@dirrmtry var/jwhois
@dirrmtry var
@dirrmtry man/sv/man1
@dirrmtry man/sv
@unexec rmdir %D/share/locale/rw/LC_MESSAGES
@unexec rmdir %D/share/locale/rw