diff options
Diffstat (limited to 'www/mathopd/Makefile')
-rw-r--r-- | www/mathopd/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/www/mathopd/Makefile b/www/mathopd/Makefile index 64e527a..146952e 100644 --- a/www/mathopd/Makefile +++ b/www/mathopd/Makefile @@ -23,9 +23,7 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mathopd .endif @if [ ! -f ${PREFIX}/etc/rc.d/mathopd.sh ]; then \ - ${ECHO} "#! ${SH}" > ${PREFIX}/etc/rc.d/mathopd.sh; \ - ${ECHO} "[ -x ${PREFIX}/sbin/mathopd ] && ${PREFIX}/sbin/mathopd < ${PREFIX}/etc/mathopd.conf && ${ECHO} -n ' mathopd'" >> ${PREFIX}/etc/rc.d/mathopd.sh; \ - ${CHMOD} 440 ${PREFIX}/etc/rc.d/mathopd.sh; \ + ${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${PREFIX}/etc/rc.d/mathopd.sh; \ fi @${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE} |