aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-FuzzyOcr
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-11-28 09:22:22 +0800
committershaun <shaun@FreeBSD.org>2006-11-28 09:22:22 +0800
commit29ff0a3b70140f2931f5f8335d347f331907998d (patch)
tree6d5de00096f56569bbf82188ef5171408eb00485 /mail/p5-FuzzyOcr
parentb5dd36fba3c5bea45149fab5a3d911de0dc98400 (diff)
downloadfreebsd-ports-gnome-29ff0a3b70140f2931f5f8335d347f331907998d.tar.gz
freebsd-ports-gnome-29ff0a3b70140f2931f5f8335d347f331907998d.tar.zst
freebsd-ports-gnome-29ff0a3b70140f2931f5f8335d347f331907998d.zip
- Last fix was incomplete; fix properly (use fully-qualified module name)
- Register CONFLICTS with p5-FuzzyOcr-devel.
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}