/
Portfile
45 lines (35 loc) · 1.71 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name pdfsandwich
version 0.1.7
revision 3
checksums rmd160 af225ba734329b1c8e4583f05ea5aa84d78512af \
sha256 9795ffea84b9b6b501f38d49a4620cf0469ddf15aac31bac6dbdc9ec1716fa39 \
size 17461
platforms darwin
categories textproc graphics
maintainers nomaintainer
license GPL-2+
description a tool to make \"sandwich\" OCR pdf files
long_description pdfsandwich generates \"sandwich\" OCR PDF files, \
i.e. PDF files which contain only images (no text) \
will be processed by optical character recognition \
(OCR) and the text will be added to each page \
invisibly \"behind\" the images. \
pdfsandwich is a command line tool which is supposed \
to be useful to OCR scanned books or journals. \
It is able to recognize the page layout even for \
multicolumn text.
homepage http://www.tobias-elze.de/pdfsandwich/
master_sites sourceforge:project/${name}/${name}%20${version}
use_bzip2 yes
depends_build port:ocaml \
port:txt2man
depends_run port:exact-image \
port:ghostscript \
port:ImageMagick \
path:lib/pkgconfig/poppler.pc:poppler \
port:tesseract \
port:unpaper
patchfiles Makefile.patch
universal_variant no