freebsd-ports/net/jwhois/pkg-plist
FUJISHIMA Satsuki 8e0191fc0f unbreak if jwhois.conf existed.
found by:	# portupgrade jwhois
2001-04-02 05:29:06 +00:00

15 lines
718 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/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
@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