Date: Tue, 18 Dec 2018 15:27:10 -0500 From: Dan Langille <dvl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r487769 - in head/graphics: . p5-Image-OCR-Tesseract Message-ID: <0B1691CD-182E-4B04-B001-5B6071C95A1D@FreeBSD.org> In-Reply-To: <201812182018.wBIKI58m035404@repo.freebsd.org> References: <201812182018.wBIKI58m035404@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Dec 18, 2018, at 3:18 PM, Dan Langille <dvl@freebsd.org> wrote: >=20 > Author: dvl > Date: Tue Dec 18 20:18:05 2018 > New Revision: 487769 > URL: https://svnweb.freebsd.org/changeset/ports/487769 >=20 > Log: > Add graphics/p5-Image-OCR-Tesseract >=20 > perform ocr on an image and output text to stdout >=20 > Added: > head/graphics/p5-Image-OCR-Tesseract/ > head/graphics/p5-Image-OCR-Tesseract/Makefile (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/distinfo (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/pkg-descr (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/pkg-plist (contents, props = changed) > Modified: > head/graphics/Makefile >=20 > Modified: head/graphics/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/graphics/Makefile Tue Dec 18 20:12:33 2018 = (r487768) > +++ head/graphics/Makefile Tue Dec 18 20:18:05 2018 = (r487769) > @@ -763,6 +763,7 @@ > SUBDIR +=3D p5-Image-Math-Constrain > SUBDIR +=3D p5-Image-MetaData-GQview > SUBDIR +=3D p5-Image-MetaData-JPEG > + SUBDIR +=3D p5-Image-OCR-Tesseract > SUBDIR +=3D p5-Image-ObjectDetect > SUBDIR +=3D p5-Image-PBMlib > SUBDIR +=3D p5-Image-PNG-Libpng >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/Makefile Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,25 @@ > +# $FreeBSD$ > + > +PORTNAME=3D Image-OCR-Tesseract > +PORTVERSION=3D 1.24 > +CATEGORIES=3D graphics perl5 > +MASTER_SITES=3D CPAN > +MASTER_SITE_SUBDIR=3D CPAN:LEOCHARRE > +PKGNAMEPREFIX=3D p5- > + > +MAINTAINER=3D dvl@FreeBSD.org > +COMMENT=3D Read an image with Resseract OCR and get output > + > +LICENSE=3D GPLv3 > + > +MYDEPENDS=3D tesseract>0:graphics/tesseract \ > + ImageMagick6-nox11>0:graphics/ImageMagick6-nox11 That should be MY_DEPENDS. I will fix. Sorry. > +BUILD_DEPENDS=3D ${MY_DEPENDS} > +RUN_DEPENDS=3D ${MY_DEPENDS} > + > +USES=3D perl5 > +USE_PERL5=3D configure > + > +NO_ARCH=3D yes > + > +.include <bsd.port.mk> >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/distinfo > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/distinfo Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1545145985 > +SHA256 (Image-OCR-Tesseract-1.24.tar.gz) =3D = cd3428eb2aa9d12154bafbaa89e3d32f41a7b3c6c63884b80857643ca1431262 > +SIZE (Image-OCR-Tesseract-1.24.tar.gz) =3D 1468013 >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/pkg-descr > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/pkg-descr Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,17 @@ > +Provides a perl interface to tesseract. > + > +This is just an interface to make it quick an easy to get ocr output = from an > +image file. No matter what image type you provide, imagemagick = convert is > +called to turn it into the format for tesseract > + > +Also accepts any image input- takes care of converting your imput = image to a > +tiff to the required specs, without changing the original. > + > +Example usage: > + > +ocr ./image.jpg > ./savetext.txt > +ocr ./image.png > +ocr ./image1.jpg ./image2.jpg > ./alltext.txt > +ocr ./image*jpg > + > +WWW: https://metacpan.org/release/LEOCHARRE/Image-OCR-Tesseract-1.24 >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/pkg-plist > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/pkg-plist Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,5 @@ > +bin/ocr > +%%SITE_PERL%%/Image/OCR/Tesseract.pm > +%%SITE_PERL%%/Image/OCR/Tesseract.pod > +%%PERL5_MAN1%%/ocr.1.gz > +%%PERL5_MAN3%%/Image::OCR::Tesseract.3.gz > _______________________________________________ > svn-ports-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-head > To unsubscribe, send any mail to = "svn-ports-head-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B1691CD-182E-4B04-B001-5B6071C95A1D>