aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-FuzzyOcr/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-06-21 09:31:43 +0000
committerRene Ladan <rene@FreeBSD.org>2014-06-21 09:31:43 +0000
commit3c15cb9b36c4349904130abed1e1e227009e8e96 (patch)
tree535fcbc1323b915b0c6aa08f389f8a1a4272c49f /mail/p5-FuzzyOcr/Makefile
parent116def93ee04ee58e47eed08186bae8513cb920c (diff)
downloadports-3c15cb9b36c4349904130abed1e1e227009e8e96.tar.gz
ports-3c15cb9b36c4349904130abed1e1e227009e8e96.zip
Notes
Diffstat (limited to 'mail/p5-FuzzyOcr/Makefile')
-rw-r--r--mail/p5-FuzzyOcr/Makefile77
1 files changed, 0 insertions, 77 deletions
diff --git a/mail/p5-FuzzyOcr/Makefile b/mail/p5-FuzzyOcr/Makefile
deleted file mode 100644
index fd73c74d8f44..000000000000
--- a/mail/p5-FuzzyOcr/Makefile
+++ /dev/null
@@ -1,77 +0,0 @@
-# Created by: Shaun Amott <shaun@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= FuzzyOcr
-DISTVERSION= 2.3b
-PORTREVISION= 9
-PORTEPOCH= 1
-CATEGORIES= mail perl5
-MASTER_SITES= http://users.own-hero.net/~decoder/${PORTNAME:tl}/
-PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
-
-MAINTAINER= 5u623l20@gmail.com
-COMMENT= Plugin for SpamAssassin which scans image attachments for spam
-
-LICENSE= APACHE20
-
-RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
- import:${PORTSDIR}/graphics/ImageMagick \
- gocr:${PORTSDIR}/graphics/gocr \
- gifasm:${PORTSDIR}/graphics/giflib \
- spamassassin:${PORTSDIR}/mail/spamassassin \
- p5-String-Approx>=0:${PORTSDIR}/devel/p5-String-Approx
-
-CONFLICTS= p5-FuzzyOcr-devel-[0-9]*
-
-DEPRECATED= Unmaintained upstream, no ports depending on it. Use mail/p5-FuzzyOcr-devel instead
-EXPIRATION_DATE=2014-06-20
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-USES= perl5
-NO_BUILD= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-
-PORTEXAMPLES= *
-PORTDOCS= FAQ samples
-PORTDOCS_F= FAQ samples/README samples/animated-gif.eml \
- samples/corrupted-gif.eml samples/jpeg.eml samples/png.eml
-
-SUB_FILES= pkg-message
-
-#-----------------------------------------------------------------------
-# The plugin is installed twice: once where it should go, and once where
-# it actually works from. This will hopefully be fixed at some point.
-#-----------------------------------------------------------------------
-
-SA_PLUGINDIR?= Mail/SpamAssassin/Plugin
-SA_CONFIGDIR?= etc/mail/spamassassin
-
-PLIST_FILES= ${SA_CONFIGDIR}/FuzzyOcr.pm \
- %%SITE_PERL%%/${SA_PLUGINDIR}/FuzzyOcr.pm \
-
-post-patch:
- @${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,g' \
- -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;,' \
- ${WRKSRC}/FuzzyOcr.pm
- @${REINPLACE_CMD} -e 's,loadplugin FuzzyOcr FuzzyOcr\.pm,loadplugin Mail::SpamAssassin::Plugin::FuzzyOcr,' \
- ${WRKSRC}/FuzzyOcr.cf
-
-do-install:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${SITE_PERL}/${SA_PLUGINDIR} \
- ${STAGEDIR}${PREFIX}/${SA_CONFIGDIR}
- ${INSTALL_DATA} ${WRKSRC}/FuzzyOcr.pm ${STAGEDIR}${SITE_PERL}/${SA_PLUGINDIR}
- ${INSTALL_DATA} ${WRKSRC}/FuzzyOcr.pm ${STAGEDIR}${PREFIX}/${SA_CONFIGDIR}
- ${INSTALL_DATA} ${WRKSRC}/FuzzyOcr.cf ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/FuzzyOcr.words.sample ${STAGEDIR}${EXAMPLESDIR}/FuzzyOcr.words
- @${MKDIR} ${STAGEDIR}${DOCSDIR}/samples
-.for f in ${PORTDOCS_F}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/${f}
-.endfor
-
-.include <bsd.port.mk>