mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add RUN_DEPENDS
* Make use of b64decode PR: ports/63912 Submitted by: maintainer
This commit is contained in:
parent
3df24cd6c4
commit
9d296722c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103286
2 changed files with 18 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= crm114
|
PORTNAME= crm114
|
||||||
PORTVERSION= 20040221
|
PORTVERSION= 20040221
|
||||||
|
PORTREVISION= 1
|
||||||
# WARNING change versionname in CRM114RELEASENAME too.
|
# WARNING change versionname in CRM114RELEASENAME too.
|
||||||
# portlint didn't like this variable at this place.
|
# portlint didn't like this variable at this place.
|
||||||
# So I have to put it down in this file.
|
# So I have to put it down in this file.
|
||||||
|
@ -23,6 +24,8 @@ MAINTAINER= Meno.Abels@Adviser.com
|
||||||
COMMENT= An Markov based SpamFilter
|
COMMENT= An Markov based SpamFilter
|
||||||
|
|
||||||
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
|
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
|
||||||
|
# there is no other then formail on this planet
|
||||||
|
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
|
||||||
|
|
||||||
CRM114RELEASENAME=BlameYokohama
|
CRM114RELEASENAME=BlameYokohama
|
||||||
|
|
||||||
|
@ -42,11 +45,16 @@ CRM_FILES= classifytest.crm exectest.crm inserttest_a.crm \
|
||||||
matchtest.crm overalterisolatedtest.crm \
|
matchtest.crm overalterisolatedtest.crm \
|
||||||
windowtest.crm
|
windowtest.crm
|
||||||
|
|
||||||
|
# Peter Jeremy recommended the use of b64decode and md5 20040302
|
||||||
post-build:
|
post-build:
|
||||||
${MKDIR} ${WRKSRC}/fbsdinstall
|
${MKDIR} ${WRKSRC}/fbsdinstall
|
||||||
|
${SED} 's|:mime_decoder: /mewdecode/|:mime_decoder: /b64decode -pr/|' \
|
||||||
|
${WRKSRC}/mailfilter.cf > ${WRKSRC}/fbsdinstall/mailfilter.cf
|
||||||
.for i in ${CRM_FILES}
|
.for i in ${CRM_FILES}
|
||||||
${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
|
${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
|
||||||
.endfor
|
.endfor
|
||||||
|
${SED} 's|/md5sum/|/md5 -r/|' ${WRKSRC}/mailfilter.crm > ${WRKSRC}/fbsdinstall/mailfilter.crm.md5
|
||||||
|
mv ${WRKSRC}/fbsdinstall/mailfilter.crm.md5 ${WRKSRC}/fbsdinstall/mailfilter.crm
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
@ -56,7 +64,7 @@ post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
${MKDIR} ${EXAMPLESDIR}
|
${MKDIR} ${EXAMPLESDIR}
|
||||||
.for i in procmailrc.recipe blacklist.mfp mailfilter.cf whitelist.mfp priolist.mfp
|
.for i in procmailrc.recipe blacklist.mfp fbsdinstall/mailfilter.cf whitelist.mfp priolist.mfp
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${CRM_FILES}
|
.for i in ${CRM_FILES}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= crm114
|
PORTNAME= crm114
|
||||||
PORTVERSION= 20040221
|
PORTVERSION= 20040221
|
||||||
|
PORTREVISION= 1
|
||||||
# WARNING change versionname in CRM114RELEASENAME too.
|
# WARNING change versionname in CRM114RELEASENAME too.
|
||||||
# portlint didn't like this variable at this place.
|
# portlint didn't like this variable at this place.
|
||||||
# So I have to put it down in this file.
|
# So I have to put it down in this file.
|
||||||
|
@ -23,6 +24,8 @@ MAINTAINER= Meno.Abels@Adviser.com
|
||||||
COMMENT= An Markov based SpamFilter
|
COMMENT= An Markov based SpamFilter
|
||||||
|
|
||||||
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
|
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
|
||||||
|
# there is no other then formail on this planet
|
||||||
|
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
|
||||||
|
|
||||||
CRM114RELEASENAME=BlameYokohama
|
CRM114RELEASENAME=BlameYokohama
|
||||||
|
|
||||||
|
@ -42,11 +45,16 @@ CRM_FILES= classifytest.crm exectest.crm inserttest_a.crm \
|
||||||
matchtest.crm overalterisolatedtest.crm \
|
matchtest.crm overalterisolatedtest.crm \
|
||||||
windowtest.crm
|
windowtest.crm
|
||||||
|
|
||||||
|
# Peter Jeremy recommended the use of b64decode and md5 20040302
|
||||||
post-build:
|
post-build:
|
||||||
${MKDIR} ${WRKSRC}/fbsdinstall
|
${MKDIR} ${WRKSRC}/fbsdinstall
|
||||||
|
${SED} 's|:mime_decoder: /mewdecode/|:mime_decoder: /b64decode -pr/|' \
|
||||||
|
${WRKSRC}/mailfilter.cf > ${WRKSRC}/fbsdinstall/mailfilter.cf
|
||||||
.for i in ${CRM_FILES}
|
.for i in ${CRM_FILES}
|
||||||
${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
|
${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
|
||||||
.endfor
|
.endfor
|
||||||
|
${SED} 's|/md5sum/|/md5 -r/|' ${WRKSRC}/mailfilter.crm > ${WRKSRC}/fbsdinstall/mailfilter.crm.md5
|
||||||
|
mv ${WRKSRC}/fbsdinstall/mailfilter.crm.md5 ${WRKSRC}/fbsdinstall/mailfilter.crm
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
@ -56,7 +64,7 @@ post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
${MKDIR} ${EXAMPLESDIR}
|
${MKDIR} ${EXAMPLESDIR}
|
||||||
.for i in procmailrc.recipe blacklist.mfp mailfilter.cf whitelist.mfp priolist.mfp
|
.for i in procmailrc.recipe blacklist.mfp fbsdinstall/mailfilter.cf whitelist.mfp priolist.mfp
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${CRM_FILES}
|
.for i in ${CRM_FILES}
|
||||||
|
|
Loading…
Add table
Reference in a new issue