diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-11-24 02:08:27 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-11-24 02:08:27 +0000 |
commit | 7b134ecb34cc5af1a00b9f4ac2ad66fd6fedc6bc (patch) | |
tree | cec746c459b15e80656cd1c038533c6f05f48010 /japanese/cannadic/pkg-plist | |
parent | 7195cf3d490c1eb02ea8fb3ed499e4648243d0c5 (diff) | |
download | ports-7b134ecb34cc5af1a00b9f4ac2ad66fd6fedc6bc.tar.gz ports-7b134ecb34cc5af1a00b9f4ac2ad66fd6fedc6bc.zip |
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
Notes
Notes:
svn path=/head/; revision=50448
Diffstat (limited to 'japanese/cannadic/pkg-plist')
-rw-r--r-- | japanese/cannadic/pkg-plist | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/japanese/cannadic/pkg-plist b/japanese/cannadic/pkg-plist index 2b0bc822d459..c0155c1eec9f 100644 --- a/japanese/cannadic/pkg-plist +++ b/japanese/cannadic/pkg-plist @@ -1,5 +1,7 @@ lib/canna/dic/canna/dics.dir.gpl_canna -@exec (%D/etc/rc.d/canna.sh stop ; 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 ; %D/etc/rc.d/canna.sh start) -@unexec (%D/etc/rc.d/canna.sh stop ; mv %D/lib/canna/dic/canna/dics.dir.orig %D/lib/canna/dic/canna/dics.dir ; %D/etc/rc.d/canna.sh start) -lib/canna/dic/canna/gcanna.d -lib/canna/dic/canna/gcanna.fq +@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 |