diff options
Diffstat (limited to 'japanese/Canna/Makefile')
-rw-r--r-- | japanese/Canna/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/japanese/Canna/Makefile b/japanese/Canna/Makefile index a41f7b1c7d15..bf73421eeb8e 100644 --- a/japanese/Canna/Makefile +++ b/japanese/Canna/Makefile @@ -48,16 +48,17 @@ MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 \ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh +post-build: + @${SED} -e "s,@RM@,${RM},g; s,@TOUCH@,${TOUCH},g; \ + s,@CHOWN@,${CHOWN},g" ${FILESDIR}/canna.sh.in \ + > ${WRKDIR}/canna.sh + post-install: - ${MKDIR} /var/run/canna - ${CHOWN} bin:bin /var/run/canna .for f in user user/user group ${MKDIR} ${PREFIX}/lib/canna/dic/$f ${CHOWN} bin:bin ${PREFIX}/lib/canna/dic/$f ${CHMOD} 775 ${PREFIX}/lib/canna/dic/$f .endfor - @${SED} -e "s;@PREFIX@;${PREFIX};g" ${FILESDIR}/canna.sh.in \ - >${WRKDIR}/canna.sh if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ ${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${STARTUP_SCRIPT}; \ |