diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-22 10:10:05 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-22 10:10:05 +0000 |
commit | 7c0d215faf1827a85b8280eb1d84a085110bd6be (patch) | |
tree | d6e689cd85254749a24a46270f5762eee718ca3c /net/jwhois | |
parent | 42b4feb8a8dc887d2cabff9a0503997153a5b632 (diff) | |
download | ports-7c0d215faf1827a85b8280eb1d84a085110bd6be.tar.gz ports-7c0d215faf1827a85b8280eb1d84a085110bd6be.zip |
Notes
Diffstat (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 5 | ||||
-rw-r--r-- | net/jwhois/distinfo | 2 | ||||
-rw-r--r-- | net/jwhois/pkg-plist | 5 |
3 files changed, 8 insertions, 4 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile index 3762aa97c14a..a7c1edf332be 100644 --- a/net/jwhois/Makefile +++ b/net/jwhois/Makefile @@ -6,7 +6,7 @@ # PORTNAME= jwhois -PORTVERSION= 2.4.1 +PORTVERSION= 2.4.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= jwhois @@ -28,6 +28,7 @@ post-install: ${MKDIR} ${PREFIX}/var/jwhois ${CHOWN} :nogroup ${PREFIX}/var/jwhois ${CHMOD} g+w ${PREFIX}/var/jwhois - ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc/jwhois.conf.sample + [ ! -f ${PREFIX}/etc/jwhois.conf ] && ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf .include <bsd.port.mk> diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo index dd1543331b7e..7b39802339cd 100644 --- a/net/jwhois/distinfo +++ b/net/jwhois/distinfo @@ -1 +1 @@ -MD5 (jwhois-2.4.1.tar.gz) = ca4716c2a8eea8d1f11a61d928397637 +MD5 (jwhois-2.4.2.tar.gz) = 36811017535386f3c598d2bbfde638e1 diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist index 5f69e9a7d830..880923741bba 100644 --- a/net/jwhois/pkg-plist +++ b/net/jwhois/pkg-plist @@ -1,8 +1,11 @@ bin/jwhois -etc/jwhois.conf +@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 [ ! -f %B/jwhois.conf ] && cp %B/%f %B/jwhois.conf @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 |