freebsd-ports/net/jwhois/pkg-plist
Makoto Matsushita 0c035503c7 Cleanup.
- Fix pkg-plist, add missing files to the list (gimme a pointy hat to me...)
- Introduce INFO variable.
- Don't touch share/locale/ directory.
- Employ WITHOUT_NLS macro as other ports did.

Since pkg-plist is changed, bump PORTREVISION.

Submitted by:	sf
2004-04-15 13:21:02 +00:00

21 lines
993 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
%%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/ru/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/sv/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/tr/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
@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