mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Install etc/mail/spammassassin/init.pre.sample as etc/mail/spammassassin/init.pre too.
This commit is contained in:
parent
7f9848294a
commit
424876ae90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120406
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= Mail-SpamAssassin
|
||||
PORTVERSION= 3.0.1
|
||||
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
|
||||
@ -87,6 +88,9 @@ post-build:
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/spamc
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/sa-spamd.sh ${PREFIX}/etc/rc.d/sa-spamd.sh
|
||||
@[ -f ${PREFIX}/etc/mail/spamassassin/init.pre ] || \
|
||||
${CP} ${PREFIX}/etc/mail/spamassassin/init.pre.sample \
|
||||
${PREFIX}/etc/mail/spamassassin/init.pre
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR} ${DOCSDIR}/sql ${DOCSDIR}/contrib ${DOCSDIR}/ldap
|
||||
@${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
|
@ -2,6 +2,7 @@ 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
|
||||
etc/rc.d/sa-spamd.sh
|
||||
|
Loading…
Reference in New Issue
Block a user