summaryrefslogtreecommitdiff
path: root/sysutils/doinkd/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-08-11 01:34:09 +0000
committerWill Andrews <will@FreeBSD.org>2000-08-11 01:34:09 +0000
commitdcb4cb482a69bf4fd594b3531b3c6e8974e74cf6 (patch)
tree81fa9fa71e25920aa151e61d2f6c057daa50b1be /sysutils/doinkd/Makefile
parentMaster site changed. (diff)
Add startup script.
PR: 20458 Submitted by: James Howard <howardjp@wam.umd.edu>
Diffstat (limited to 'sysutils/doinkd/Makefile')
-rw-r--r--sysutils/doinkd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/doinkd/Makefile b/sysutils/doinkd/Makefile
index 3fac05c720c2..2040354d5007 100644
--- a/sysutils/doinkd/Makefile
+++ b/sysutils/doinkd/Makefile
@@ -23,5 +23,9 @@ post-extract:
post-install:
strip ${PREFIX}/libexec/idled
+.if !exists(${PREFIX}/etc/rc.d/idled.sh)
+ @${ECHO} "Installing ${PREFIX}/etc/rc.d/idled.sh startup script."
+ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/idled.sh ${PREFIX}/etc/rc.d/idled.sh
+.endif
.include <bsd.port.mk>