aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-FuzzyOcr
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-11-28 01:22:22 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-11-28 01:22:22 +0000
commit2f87737bbf796b6202631d65e76ccbc8c037c5d9 (patch)
treea624e50b40bb773d57960030773f81a406e47600 /mail/p5-FuzzyOcr
parent3808ef3375e6cf6bdab15f0d9facb0a617da5d60 (diff)
downloadports-2f87737bbf796b6202631d65e76ccbc8c037c5d9.tar.gz
ports-2f87737bbf796b6202631d65e76ccbc8c037c5d9.zip
Notes
Diffstat (limited to 'mail/p5-FuzzyOcr')
-rw-r--r--mail/p5-FuzzyOcr/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/p5-FuzzyOcr/Makefile b/mail/p5-FuzzyOcr/Makefile
index 046699512d24..61a20bace320 100644
--- a/mail/p5-FuzzyOcr/Makefile
+++ b/mail/p5-FuzzyOcr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= FuzzyOcr
DISTVERSION= 2.3b
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail perl5
MASTER_SITES= http://users.own-hero.net/~decoder/${PORTNAME:L}/ \
@@ -26,6 +26,8 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/String/Approx.pm:${PORTSDIR}/devel/p5-String-Approx
+CONFLICTS= p5-FuzzyOcr-devel-[0-9]*
+
USE_PERL5= yes
NO_BUILD= yes
@@ -55,8 +57,10 @@ post-patch:
-e 's,/bin/grep,/usr/bin/grep,g' \
-e 's,/etc/mail,${LOCALBASE}/etc/mail,g' \
${WRKSRC}/FuzzyOcr.??
- @${REINPLACE_CMD} -e 's,package FuzzyOcr;,package Mail::SpamAssassin::Plugin::FuzzyOcr;,' \
+ @${REINPLACE_CMD} -e 's,package FuzzyOcr;,package Mail::SpamAssassin::Plugin::FuzzyOcr;,' \
${WRKSRC}/FuzzyOcr.pm
+ @${REINPLACE_CMD} -e 's,loadplugin FuzzyOcr FuzzyOcr\.pm,loadplugin Mail::SpamAssassin::Plugin::FuzzyOcr,' \
+ ${WRKSRC}/FuzzyOcr.cf
do-install:
@${MKDIR} ${EXAMPLESDIR}