diff options
Diffstat (limited to 'palm/pilot-link-devel/Makefile')
-rw-r--r-- | palm/pilot-link-devel/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/palm/pilot-link-devel/Makefile b/palm/pilot-link-devel/Makefile index 4f6e6dd3bd7..47300857751 100644 --- a/palm/pilot-link-devel/Makefile +++ b/palm/pilot-link-devel/Makefile @@ -28,9 +28,7 @@ MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \ MAN7= pilot-link.7 post-install: - @${ECHO} "#!/bin/sh" > ${LOCALBASE}/etc/rc.d/pilot-link.sh - @${ECHO} "" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh - @${ECHO} "${LDCONFIG} -m ${PREFIX}/lib" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh + @{$SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pilot-link.sh > ${PREFIX}/etc/rc.d/pilot-link.sh @${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh .include <bsd.port.mk> |