aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-29 19:35:41 +0800
committergarga <garga@FreeBSD.org>2006-03-29 19:35:41 +0800
commitacba703020dd143cc728de35b6071c6ef6a3c9be (patch)
treef4c36ec7504f174c7ec34c50c5d2947122392c1e /mail
parent85690a982ec5e3459368be5ac580a615a9749133 (diff)
downloadfreebsd-ports-gnome-acba703020dd143cc728de35b6071c6ef6a3c9be.tar.gz
freebsd-ports-gnome-acba703020dd143cc728de35b6071c6ef6a3c9be.tar.zst
freebsd-ports-gnome-acba703020dd143cc728de35b6071c6ef6a3c9be.zip
Fix rc.d startup script installation, it was really wrong committed last
commit Reported by: krismail Approved by: perl (sem) via email No donuts to: garga
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile2
-rw-r--r--mail/p5-Mail-SpamAssassin/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index a2e29fa41b2c..9f9a42276496 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.1.1
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -185,7 +186,6 @@ pre-install:
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
diff --git a/mail/p5-Mail-SpamAssassin/pkg-plist b/mail/p5-Mail-SpamAssassin/pkg-plist
index 899462cb1232..339e2442392d 100644
--- a/mail/p5-Mail-SpamAssassin/pkg-plist
+++ b/mail/p5-Mail-SpamAssassin/pkg-plist
@@ -1,4 +1,5 @@
@unexec %D/etc/rc.d/sa-spamd.sh stop > /dev/null 2>&1 || true
+@unexec %D/etc/rc.d/sa-spamd stop > /dev/null 2>&1 || true
bin/sa-learn
bin/sa-update
bin/spamassassin
@@ -11,7 +12,6 @@ etc/mail/spamassassin/init.pre.sample
@unexec if cmp -s %B/v310.pre.sample %B/v310.pre; then rm -f %B/v310.pre; fi
etc/mail/spamassassin/v310.pre.sample
@exec [ -f %B/v310.pre ] || cp %B/%f %B/v310.pre
-etc/rc.d/sa-spamd.sh
%%SITE_PERL%%/Mail/SpamAssassin.pm
%%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm
%%SITE_PERL%%/Mail/SpamAssassin/AutoWhitelist.pm