freebsd-ports/japanese/cannadic/pkg-plist
Masafumi Max NAKANE 7b134ecb34 1. Make ``make install'' actually install files.
(I wish whoever committed this port had checked that make install and make
   package work, at least.)
2. Try to restart cannaserver in post-install: as pkg-plist @exec it.
3. Try to restart cannaserver only when it seems to be running.
4. Instead of patching up distfile's Makefile using patch-aa to
   modify its all: target, use ALL_TARGET.
5. Instead of echo'ing note about configuration in post-install:,
   use pkg-message, so that pkg_add will display it, too.
6. Now that ja-Canna in the ports collection has been updated, let this
   port generate dictionary files for newer version.
7. Remove unnecessary definition of ${DISTNAME} from the Makefile.
Reviewed and Approved by:	maintainer
2001-11-24 02:08:27 +00:00

8 lines
988 B
Plaintext

lib/canna/dic/canna/dics.dir.gpl_canna
@exec (echo "Updating %D/lib/canna/dic/canna/dics.dir" ; mv %D/lib/canna/dic/canna/dics.dir %D/lib/canna/dic/canna/dics.dir.orig ; cat %D/lib/canna/dic/canna/dics.dir.orig %D/lib/canna/dic/canna/dics.dir.gpl_canna > %D/lib/canna/dic/canna/dics.dir ; chown bin:bin %D/lib/canna/dic/canna/dics.dir ; chmod 464 %D/lib/canna/dic/canna/dics.dir ; if [ -e /tmp/.iroha_unix/IROHA ] ; then echo "Restarting Canna server..." ; %D/etc/rc.d/canna.sh stop > /dev/null 2>&1; %D/etc/rc.d/canna.sh start > /dev/null 2>&1 ; fi)
@unexec (echo "Restoring old %D/lib/canna/dic/canna/dics.dir..." ; mv %D/lib/canna/dic/canna/dics.dir.orig %D/lib/canna/dic/canna/dics.dir ; if [ -e /tmp/.iroha_unix/IROHA ]; then echo "Restarting Canna server..." ; %D/etc/rc.d/canna.sh stop > /dev/null 2>&1 ; %D/etc/rc.d/canna.sh start > /dev/null 2>&1 ; fi)
lib/canna/dic/canna/gcanna.cld
lib/canna/dic/canna/gcanna.cbd
lib/canna/dic/canna/gcannaf.cld
lib/canna/dic/canna/gcannaf.cbd