summaryrefslogtreecommitdiff
path: root/chat/silc-server/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
committerjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
commit5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /chat/silc-server/Makefile
parent26ffd9ecf001eea6ac61f806c06dfb733a4c6634 (diff)
downloadpkgsrc-5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'chat/silc-server/Makefile')
-rw-r--r--chat/silc-server/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/chat/silc-server/Makefile b/chat/silc-server/Makefile
index 52e1a0316d9..bfe37b977a0 100644
--- a/chat/silc-server/Makefile
+++ b/chat/silc-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/09/18 21:15:07 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2002/09/19 09:04:04 jlam Exp $
DISTNAME= silc-server-0.9.5
CATEGORIES= chat security
@@ -39,12 +39,14 @@ CONF_FILES+= ${PREFIX}/share/examples/silcd/silcalgs.conf.default \
CONF_FILES_PERMS+= ${PREFIX}/share/examples/silcd/motd.txt.default \
${PKG_SYSCONFDIR}/motd.txt \
${ROOT_USER} ${ROOT_GROUP} 0644
-SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/silcd/silcd.default \
- ${PREFIX}/etc/rc.d/silcd \
- ${ROOT_USER} ${ROOT_GROUP} 0555
RCD_SCRIPTS= silcd
-RCD_SCRIPTS_MODE= 0555
+
+.if ${OPSYS} == "NetBSD"
+RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.sh
+.else
+RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.generic
+.endif
OWN_DIRS_PERMS+= /var/log/silcd ${SILCD_USER} ${SILCD_GROUP} 0700
@@ -69,13 +71,6 @@ CONFIGURE_ARGS+= --disable-asm
.endif
post-install:
-.if (${OPSYS} == "NetBSD")
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.sh \
- > ${PREFIX}/share/examples/silcd/silcd.default
-.else
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.generic \
- > ${PREFIX}/share/examples/silcd/silcd.default
-.endif
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt \
> ${PREFIX}/share/examples/silcd/motd.txt.default