freebsd-ports/net/jwhois/pkg-plist
Makoto Matsushita b39c04de34 Fix the problem that the jwhois datacache mechanism is not working properly.
In src/Makefile.am rev 1.18, install-exec-hook: is disappeared (I dunno
why, CVS commit log doesn't answer my question).  As a result, jwhois
binary is not chgrp(1)ed, so do it in Makefile.  pkg-plist should be
fixed to include (empty) datacache directory (that's long standing bug
since the beginning of this port, sorry).
2002-03-15 16:53:34 +00:00

19 lines
895 B
Text

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
@unexec install-info --delete %D/info/jwhois.info %D/info/dir
info/jwhois.info
@exec install-info %D/info/jwhois.info %D/info/dir
share/locale/es/LC_MESSAGES/jwhois.mo
share/locale/fr/LC_MESSAGES/jwhois.mo
share/locale/ru/LC_MESSAGES/jwhois.mo
share/locale/sv/LC_MESSAGES/jwhois.mo
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/* 2>/dev/null || true
@unexec rmdir %D/share/locale 2>/dev/null || true
@exec mkdir -p %D/var/jwhois 2>/dev/null || true
@unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true
@unexec rmdir %D/var/jwhois 2>/dev/null || true
@unexec rmdir %D/var 2>/dev/null || true
@unexec rmdir -p %D/man/sv/man1 2>/dev/null || true