aboutsummaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2002-03-15 16:53:34 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2002-03-15 16:53:34 +0000
commitb39c04de3409e962067acda1da7d2066c14d404c (patch)
tree4599adf7e06653b6083a116d39590525b60c5a4c /net/jwhois
parent96f428bd5f72bfbe55ccb2121a9086d8126077ea (diff)
downloadports-b39c04de3409e962067acda1da7d2066c14d404c.tar.gz
ports-b39c04de3409e962067acda1da7d2066c14d404c.zip
Notes
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/Makefile2
-rw-r--r--net/jwhois/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 4bec7c033bff..3c186e4a22b8 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -29,6 +29,8 @@ post-install:
${MKDIR} ${PREFIX}/var/jwhois
${CHOWN} :nogroup ${PREFIX}/var/jwhois
${CHMOD} g+w ${PREFIX}/var/jwhois
+ ${CHOWN} :nogroup ${PREFIX}/bin/jwhois
+ ${CHMOD} g+s ${PREFIX}/bin/jwhois
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc/jwhois.conf.sample
if [ ! -f ${PREFIX}/etc/jwhois.conf ]; then ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf; fi
diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist
index 2c89883003ff..53de324357e2 100644
--- a/net/jwhois/pkg-plist
+++ b/net/jwhois/pkg-plist
@@ -12,6 +12,7 @@ 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