diff options
author | adamw <adamw@FreeBSD.org> | 2014-05-02 01:01:18 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-05-02 01:01:18 +0800 |
commit | d8376a8507eda431e46e5fec45e50d4d9fadcd2e (patch) | |
tree | d833d4a6a4646b69ae9e91791c5cac2550f48eb0 /japanese | |
parent | c8721385216c4558378941ee010e4a4faa3b5a7b (diff) | |
download | freebsd-ports-gnome-d8376a8507eda431e46e5fec45e50d4d9fadcd2e.tar.gz freebsd-ports-gnome-d8376a8507eda431e46e5fec45e50d4d9fadcd2e.tar.zst freebsd-ports-gnome-d8376a8507eda431e46e5fec45e50d4d9fadcd2e.zip |
Improvements.
Let pkg-create handle ownership/mode better. Use @dirrmtry instead of
@unexec rmdir. Use COPYTREE_SHARE to ensure proper permissions.
Also, stop the spamd service on deinstall if it's running. It creates
zombie issues otherwise... I'm pretty sure this is the right thing to
do.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/spamassassin/Makefile | 2 | ||||
-rw-r--r-- | japanese/spamassassin/files/spamassassin-ja.plist | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/japanese/spamassassin/Makefile b/japanese/spamassassin/Makefile index 01813ea5f4a8..3686368c06f7 100644 --- a/japanese/spamassassin/Makefile +++ b/japanese/spamassassin/Makefile @@ -1,7 +1,7 @@ # Created by: TAOKA Fumiyoshi # $FreeBSD$ -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= japanese mail perl5 PKGNAMEPREFIX= ja- diff --git a/japanese/spamassassin/files/spamassassin-ja.plist b/japanese/spamassassin/files/spamassassin-ja.plist index 1292bbb2d733..91d905205633 100644 --- a/japanese/spamassassin/files/spamassassin-ja.plist +++ b/japanese/spamassassin/files/spamassassin-ja.plist @@ -7,6 +7,4 @@ %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Tokenizer::MeCab.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Tokenizer::SimpleJA.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Util::Charset.3.gz -@unexec if cmp -s %D/%%ETCDIR%%/%%TOKENIZER_PRE%%.sample %D/%%ETCDIR%%/%%TOKENIZER_PRE%%; then rm -f %D/%%ETCDIR%%/%%TOKENIZER_PRE%%; fi -%%ETCDIR%%/%%TOKENIZER_PRE%%.sample -@exec if [ ! -f %B/%%TOKENIZER_PRE%% ]; then cp -p %B/%f %B/%%TOKENIZER_PRE%%; fi +@sample %%ETCDIR%%/%%TOKENIZER_PRE%%.sample |