diff options
author | mat <mat@FreeBSD.org> | 2005-02-16 01:01:41 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2005-02-16 01:01:41 +0800 |
commit | 1d59e7d23f23d26deec4e9325cd98840ad224b5e (patch) | |
tree | d78c9d40726806fa0efbe030b237a8744ffa0b2f /mail | |
parent | 46a67f34add29dc2041258a28421883498947c85 (diff) | |
download | freebsd-ports-gnome-1d59e7d23f23d26deec4e9325cd98840ad224b5e.tar.gz freebsd-ports-gnome-1d59e7d23f23d26deec4e9325cd98840ad224b5e.tar.zst freebsd-ports-gnome-1d59e7d23f23d26deec4e9325cd98840ad224b5e.zip |
When installing from a package, /usr/local/etc/mail/spamassassin/init.pre was
not installed.
PR: 77392
Submitted by: Michael Schout <mschout@gkg.net>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/p5-Mail-SpamAssassin/Makefile | 1 | ||||
-rw-r--r-- | mail/p5-Mail-SpamAssassin/pkg-plist | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index 7ce6fc451626..bae8937363a0 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -7,6 +7,7 @@ PORTNAME= Mail-SpamAssassin PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} MASTER_SITE_SUBDIR= spamassassin/:apache Mail/:cpan diff --git a/mail/p5-Mail-SpamAssassin/pkg-plist b/mail/p5-Mail-SpamAssassin/pkg-plist index 3de61e368ce0..94bb833bc716 100644 --- a/mail/p5-Mail-SpamAssassin/pkg-plist +++ b/mail/p5-Mail-SpamAssassin/pkg-plist @@ -2,9 +2,10 @@ bin/sa-learn bin/spamassassin bin/spamc bin/spamd -@unexec if cmp -s %D/etc/mail/spamassassin/init.pre.sample %D/etc/mail/spamassassin/init.pre; then rm -f %D/etc/mail/spamassassin/init.pre; fi -etc/mail/spamassassin/init.pre.sample etc/mail/spamassassin/local.cf.sample +@unexec if cmp -s %B/init.pre.sample %B/init.pre; then rm -f %B/init.pre; fi +etc/mail/spamassassin/init.pre.sample +@exec [ -f %B/init.pre ] || cp %B/%f %B/init.pre etc/rc.d/sa-spamd.sh %%SITE_PERL%%/Mail/SpamAssassin.pm %%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm |