diff options
author | dougb <dougb@FreeBSD.org> | 2010-03-28 13:52:12 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2010-03-28 13:52:12 +0800 |
commit | 5143bf9ec1ba721c73c66ca16ae30923200ffd57 (patch) | |
tree | 4d2e0d512fd092f421c0689812fca1091a27c833 /mail | |
parent | 2a1a4c0d6ca9c23bb711a297300dda307810a5da (diff) | |
download | freebsd-ports-gnome-5143bf9ec1ba721c73c66ca16ae30923200ffd57.tar.gz freebsd-ports-gnome-5143bf9ec1ba721c73c66ca16ae30923200ffd57.tar.zst freebsd-ports-gnome-5143bf9ec1ba721c73c66ca16ae30923200ffd57.zip |
Cleanse more RC_SUBR and RC_SUBR_SUFFIX variables
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailscanner-devel/Makefile | 7 | ||||
-rw-r--r-- | mail/mailscanner-devel/files/mta.in | 2 | ||||
-rw-r--r-- | mail/mailscanner/Makefile | 9 | ||||
-rw-r--r-- | mail/mailscanner/files/mta.in | 2 | ||||
-rw-r--r-- | mail/spamass-milter/Makefile | 1 |
5 files changed, 9 insertions, 12 deletions
diff --git a/mail/mailscanner-devel/Makefile b/mail/mailscanner-devel/Makefile index 4ae5d3c733ea..35ad050db8de 100644 --- a/mail/mailscanner-devel/Makefile +++ b/mail/mailscanner-devel/Makefile @@ -115,7 +115,6 @@ USRLOCAL_FILES_LIB= \ rav-wrapper sophos-autoupdate USE_RC_SUBR= mailscanner mta -SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} post-extract: cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* . @@ -146,7 +145,7 @@ do-build: ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_virus_scanners.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ @@ -155,12 +154,12 @@ do-build: ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/sa-update.cron ${PERL} -pi -e \ 's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \ diff --git a/mail/mailscanner-devel/files/mta.in b/mail/mailscanner-devel/files/mta.in index dcf2089dd818..03c3e0cba649 100644 --- a/mail/mailscanner-devel/files/mta.in +++ b/mail/mailscanner-devel/files/mta.in @@ -63,7 +63,7 @@ PATH=$PATH:/sbin:/usr/sbin; export PATH name="mta" rcvar=`set_rcvar` -_mta_rc_script="%%PREFIX%%/etc/rc.d/mta%%RC_SUBR_SUFFIX%%" +_mta_rc_script="%%PREFIX%%/etc/rc.d/mta" load_rc_config $name diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile index 03f1295e8bbd..3ce594c610e1 100644 --- a/mail/mailscanner/Makefile +++ b/mail/mailscanner/Makefile @@ -115,7 +115,6 @@ USRLOCAL_FILES_LIB= \ rav-wrapper sophos-autoupdate USE_RC_SUBR= mailscanner mta -SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} post-extract: cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}-${PATCHLEVEL}/* . @@ -157,7 +156,7 @@ do-build: ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_virus_scanners.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ @@ -174,17 +173,17 @@ do-build: ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_bad_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ - s,%%RC_SUBR%%,${RC_SUBR},g;' \ + s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_spamassassin.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ diff --git a/mail/mailscanner/files/mta.in b/mail/mailscanner/files/mta.in index dcf2089dd818..03c3e0cba649 100644 --- a/mail/mailscanner/files/mta.in +++ b/mail/mailscanner/files/mta.in @@ -63,7 +63,7 @@ PATH=$PATH:/sbin:/usr/sbin; export PATH name="mta" rcvar=`set_rcvar` -_mta_rc_script="%%PREFIX%%/etc/rc.d/mta%%RC_SUBR_SUFFIX%%" +_mta_rc_script="%%PREFIX%%/etc/rc.d/mta" load_rc_config $name diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile index dbbed7ebe198..1a777d4b99d9 100644 --- a/mail/spamass-milter/Makefile +++ b/mail/spamass-milter/Makefile @@ -86,7 +86,6 @@ LDFLAGS+= -L${MILTERLIB} USE_RC_SUBR= spamass-milter GNU_CONFIGURE= yes CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SUB_FILES= pkg-message |