diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
commit | 17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch) | |
tree | e856fa025c5b15bbef21f621e347c51780662a47 /mail/p5-FuzzyOcr | |
parent | b4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff) | |
download | ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip |
Notes
Diffstat (limited to 'mail/p5-FuzzyOcr')
-rw-r--r-- | mail/p5-FuzzyOcr/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/p5-FuzzyOcr/Makefile b/mail/p5-FuzzyOcr/Makefile index eb5b7ddb5e72..baec84b4d48a 100644 --- a/mail/p5-FuzzyOcr/Makefile +++ b/mail/p5-FuzzyOcr/Makefile @@ -7,7 +7,7 @@ PORTNAME= FuzzyOcr DISTVERSION= 2.3b -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= mail perl5 MASTER_SITES= http://users.own-hero.net/~decoder/${PORTNAME:L}/ @@ -22,7 +22,6 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ gocr:${PORTSDIR}/graphics/gocr \ gif2ps:${PORTSDIR}/graphics/libungif \ spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin \ - ${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]* @@ -51,6 +50,12 @@ PLIST_FILES= ${SA_CONFIGDIR}/FuzzyOcr.pm \ %%EXAMPLESDIR%%/FuzzyOcr.cf %%EXAMPLESDIR%%/FuzzyOcr.words PLIST_DIRS= %%EXAMPLESDIR%% +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,g' \ -e 's,/bin/grep,/usr/bin/grep,g' \ @@ -77,4 +82,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |