summaryrefslogtreecommitdiffstats
path: root/mail/courier-imap
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-10-18 15:30:55 +0000
committeroliver <oliver@FreeBSD.org>2004-10-18 15:30:55 +0000
commitfb77575af19cfc9bf77e5612234c09fdc78d759c (patch)
treefb67ae383dc33133917af4485dcfca8beceb31ff /mail/courier-imap
parent026889a06b404762bba8ae53d062a6cb1b2c9702 (diff)
downloadFreeBSD-ports-fb77575af19cfc9bf77e5612234c09fdc78d759c.zip
FreeBSD-ports-fb77575af19cfc9bf77e5612234c09fdc78d759c.tar.gz
install rc.d scripts with correct modes
Submitted By: Amir Shalem <amir@boom.org.il>
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 3c0f72c..c3cf53f 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -210,7 +210,8 @@ post-install:
.endfor
.for i in imapd imapd-ssl pop3d pop3d-ssl
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/courier-imap-${i}.sh > ${PREFIX}/etc/rc.d/courier-imap-${i}.sh
+ ${FILESDIR}/courier-imap-${i}.sh > ${WRKDIR}/courier-imap-${i}.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/courier-imap-${i}.sh ${PREFIX}/etc/rc.d/courier-imap-${i}.sh
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
OpenPOWER on IntegriCloud