diff options
author | krion <krion@FreeBSD.org> | 2004-03-08 18:26:13 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-08 18:26:13 +0800 |
commit | 7e9884c7849be4c944720dffbcea0451e65738c1 (patch) | |
tree | d016e070a007eadbf8d1655c5bb625ebbd33076b /mail/crm114-devel | |
parent | fa018c820f59e50806851aeca7cb84e47c46acc6 (diff) | |
download | freebsd-ports-gnome-7e9884c7849be4c944720dffbcea0451e65738c1.tar.gz freebsd-ports-gnome-7e9884c7849be4c944720dffbcea0451e65738c1.tar.zst freebsd-ports-gnome-7e9884c7849be4c944720dffbcea0451e65738c1.zip |
- Add RUN_DEPENDS
* Make use of b64decode
PR: ports/63912
Submitted by: maintainer
Diffstat (limited to 'mail/crm114-devel')
-rw-r--r-- | mail/crm114-devel/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/crm114-devel/Makefile b/mail/crm114-devel/Makefile index c21bea5b35be..5958928d69a1 100644 --- a/mail/crm114-devel/Makefile +++ b/mail/crm114-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= crm114 PORTVERSION= 20040221 +PORTREVISION= 1 # WARNING change versionname in CRM114RELEASENAME too. # portlint didn't like this variable at this place. # So I have to put it down in this file. @@ -23,6 +24,8 @@ MAINTAINER= Meno.Abels@Adviser.com COMMENT= An Markov based SpamFilter LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre +# there is no other then formail on this planet +RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail CRM114RELEASENAME=BlameYokohama @@ -42,11 +45,16 @@ CRM_FILES= classifytest.crm exectest.crm inserttest_a.crm \ matchtest.crm overalterisolatedtest.crm \ windowtest.crm +# Peter Jeremy recommended the use of b64decode and md5 20040302 post-build: ${MKDIR} ${WRKSRC}/fbsdinstall + ${SED} 's|:mime_decoder: /mewdecode/|:mime_decoder: /b64decode -pr/|' \ + ${WRKSRC}/mailfilter.cf > ${WRKSRC}/fbsdinstall/mailfilter.cf .for i in ${CRM_FILES} ${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i} .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: .if !defined(NOPORTDOCS) @@ -56,7 +64,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor ${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} .endfor .for i in ${CRM_FILES} |