diff options
Diffstat (limited to 'japanese/esecanna')
-rw-r--r-- | japanese/esecanna/Makefile | 3 | ||||
-rw-r--r-- | japanese/esecanna/pkg-plist | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/japanese/esecanna/Makefile b/japanese/esecanna/Makefile index 38d7e0bcb41c..7e661bfd7523 100644 --- a/japanese/esecanna/Makefile +++ b/japanese/esecanna/Makefile @@ -41,6 +41,9 @@ post-patch: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${PREFIX}/etc/rc.d/ + if [ -x ${PREFIX}/etc/rc.d/canna.sh ]; then \ + ${CHMOD} -x ${PREFIX}/etc/rc.d/canna.sh; \ + fi ${MKDIR} ${PREFIX}/lib/esecanna .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/esecanna diff --git a/japanese/esecanna/pkg-plist b/japanese/esecanna/pkg-plist index 7c49ba0ce1e4..c08d47eac242 100644 --- a/japanese/esecanna/pkg-plist +++ b/japanese/esecanna/pkg-plist @@ -1,5 +1,8 @@ etc/esecannarc +@unexec if [ -x %D/etc/rc.d/esecanna.sh ]; then %D/etc/rc.d/esecanna.sh stop || true; fi etc/rc.d/%%STARTER%% +@unexec if [ -f %B/canna.sh ]; then chmod +x %B/canna.sh; fi +@exec if [ -x %B/canna.sh ]; then chmod -x %B/canna.sh; fi @exec mkdir -p %D/lib/esecanna @dirrm lib/esecanna sbin/esecannaserver |