diff options
author | max <max@FreeBSD.org> | 2002-05-16 15:49:43 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2002-05-16 15:49:43 +0800 |
commit | 5840c16c9d0c3b3e98698c91725fd868bd4db3f7 (patch) | |
tree | 78aacab7b158c52ce1b18185ffe89cf0ccb0f343 /japanese/canna-lib/Makefile | |
parent | b4e1705a3e4ee7f5cbfd8470e0bb04b17eb70070 (diff) | |
download | freebsd-ports-gnome-5840c16c9d0c3b3e98698c91725fd868bd4db3f7.tar.gz freebsd-ports-gnome-5840c16c9d0c3b3e98698c91725fd868bd4db3f7.tar.zst freebsd-ports-gnome-5840c16c9d0c3b3e98698c91725fd868bd4db3f7.zip |
- Canna doesn't use /var/run any longer.
- Improve the startup script.
- Modify the pkg-plist so that pkg_delete won't complain even when
user dictionaries are installed.
- Use correct syntax for chown (bin.bin -> bin:bin)
Credits: nyan@jp.FreeBSD.org
nork@FreeBSD.org
takachan@running-dog.net
knu@iDaemons.org
Diffstat (limited to 'japanese/canna-lib/Makefile')
-rw-r--r-- | japanese/canna-lib/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile index a41f7b1c7d15..bf73421eeb8e 100644 --- a/japanese/canna-lib/Makefile +++ b/japanese/canna-lib/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}; \ |