Date: Sun, 31 Dec 2017 18:59:36 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457713 - in head/textproc: . pdfsandwich pdfsandwich/files Message-ID: <201712311859.vBVIxaKZ087085@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Dec 31 18:59:36 2017 New Revision: 457713 URL: https://svnweb.freebsd.org/changeset/ports/457713 Log: New port: textproc/pdfsandwich: Command line tool generating "sandwich" OCR pdf files PR: 221737 Submitted by: myself Requested by: vermaden@interia.pl Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13708 Added: head/textproc/pdfsandwich/ head/textproc/pdfsandwich/Makefile (contents, props changed) head/textproc/pdfsandwich/distinfo (contents, props changed) head/textproc/pdfsandwich/files/ head/textproc/pdfsandwich/files/patch-Makefile (contents, props changed) head/textproc/pdfsandwich/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun Dec 31 18:18:55 2017 (r457712) +++ head/textproc/Makefile Sun Dec 31 18:59:36 2017 (r457713) @@ -1160,6 +1160,7 @@ SUBDIR += pcrs SUBDIR += pdfgrep SUBDIR += pdfoutline + SUBDIR += pdfsandwich SUBDIR += pdftohtml SUBDIR += pear-File_Fortune SUBDIR += pear-File_MARC Added: head/textproc/pdfsandwich/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/pdfsandwich/Makefile Sun Dec 31 18:59:36 2017 (r457713) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= pdfsandwich +DISTVERSION= 0.1.6 +CATEGORIES= textproc +MASTER_SITES= SF/${PORTNAME}/pdfsandwich%20${PORTNAME}/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Command line tool generating "sandwich" OCR pdf files + +LICENSE= GPLv2 + +BUILD_DEPENDS= gawk:lang/gawk \ + ocamlopt:lang/ocaml +RUN_DEPENDS= convert:graphics/ImageMagick \ + tesseract:graphics/tesseract \ + unpaper:graphics/unpaper + +USES= gmake ghostscript:run tar:bz2 +GNU_CONFIGURE= yes + +PLIST_FILES= bin/pdfsandwich \ + man/man1/pdfsandwich.1.gz + +.include <bsd.port.mk> Added: head/textproc/pdfsandwich/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/pdfsandwich/distinfo Sun Dec 31 18:59:36 2017 (r457713) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514694755 +SHA256 (pdfsandwich-0.1.6.tar.bz2) = 96831eb191bcd43e730dcce169d5c14b47bba0b6cd5152a8703e3b573013a2a2 +SIZE (pdfsandwich-0.1.6.tar.bz2) = 17031 Added: head/textproc/pdfsandwich/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/pdfsandwich/files/patch-Makefile Sun Dec 31 18:59:36 2017 (r457713) @@ -0,0 +1,24 @@ +--- Makefile.orig 2017-01-16 20:56:57 UTC ++++ Makefile +@@ -43,16 +43,16 @@ PREF = $(DESTDIR)$(PREFIX) + INSTALL = install -s + CP = cp + INSTALLBINDIR = $(PREF)/bin +-INSTALLMANDIR = $(PREF)/share/man/man1 ++INSTALLMANDIR = $(PREF)/man/man1 + INSTALLDOCDIR = $(PREF)/share/doc/$(TARGET) + + install: $(DOCFILES) $(ADDITIONAL) +- (umask 0022; mkdir -p $(INSTALLBINDIR) $(INSTALLDOCDIR) $(INSTALLMANDIR)) ++ (umask 0022; mkdir -p $(INSTALLBINDIR) $(INSTALLMANDIR)) + $(INSTALL) $(TARGET) $(INSTALLBINDIR) +- $(CP) $(DOCFILES) $(INSTALLDOCDIR) +- gzip -9 $(INSTALLDOCDIR)/changelog ++ #$(CP) $(DOCFILES) $(INSTALLDOCDIR) ++ #gzip -9 $(INSTALLDOCDIR)/changelog + $(CP) $(MANUAL) $(INSTALLMANDIR) +- chmod 644 $(INSTALLDOCDIR)/* $(INSTALLMANDIR)/* ++ #chmod 644 $(INSTALLDOCDIR)/* $(INSTALLMANDIR)/* + + uninstall: + rm -rf $(INSTALLBINDIR)/$(TARGET) $(INSTALLDOCDIR) $(INSTALLMANDIR)/$(MANUAL) Added: head/textproc/pdfsandwich/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/pdfsandwich/pkg-descr Sun Dec 31 18:59:36 2017 (r457713) @@ -0,0 +1,6 @@ +pdfsandwich generates "sandwich" OCR pdf files, i.e. pdf files which contain +only images (but no editable text) will be processed by optical character +recognition (OCR) and the text will be added to each page invisibly "behind" +the images. + +WWW: https://sourceforge.net/projects/pdfsandwich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712311859.vBVIxaKZ087085>