1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/jwhois/pkg-plist
Makoto Matsushita 7e92a1d951 Update to version 4.0.
Also fixes to pkg-plist to 1) forget to chmod/chown db directory for
package and 2) shut-up error message to remove ${PREFIX}/share/locale/rw
(that is not listed in BSD.local.dist, and other applications such as bison
may be used this directory.)

jwhois.conf is also updated to the latest revision (1.137) from jwhois
CVS repository.

Pressure for update from:	nork
2008-05-26 05:21:13 +00:00

30 lines
1.2 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
@exec chown :nogroup %D/var/jwhois
@exec chmod g+w %D/var/jwhois
@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 2>/dev/null || true
@unexec rmdir %D/share/locale/rw 2>/dev/null || true