* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
27 lines
560 B
Makefile
27 lines
560 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pdfsandwich
|
|
DISTVERSION= 0.1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}/pdfsandwich%20${DISTVERSION}/
|
|
|
|
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/ImageMagick6 \
|
|
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>
|