aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/idled/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/idled/Makefile')
-rw-r--r--sysutils/idled/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/idled/Makefile b/sysutils/idled/Makefile
index 3fac05c720c2..2040354d5007 100644
--- a/sysutils/idled/Makefile
+++ b/sysutils/idled/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>