pkgsrc/graphics/gocr/Makefile

25 lines
656 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2019/06/22 11:52:31 nia Exp $
DISTNAME= gocr-0.48
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jocr/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/jocr
COMMENT= GOCR is a set of OCR tools
LICENSE= gnu-gpl-v1
GNU_CONFIGURE= yes
Update to 0.40. Add a tk option to install an additional tcl/tk frontend. 0.40 update PNM file reader to maxval > 255 (make rpm) updated barcode-patch UPC_addon by Michael van Rooyen CAPITAL_LETTER_A_WITH_OGONEK added no "(PICTURE)" output for UTF8+ASCII (better for Mobile OCR project) smooth_borders() bug fixed and reworked 5x7 and prop10 font adaptions objects now detected by flood-fill algorithm (better?) XML-output changed changed auto dust detection (not final) 0.39 XML output added (subject of change, suggestions are welcome) netpbm-link-error fixed in gocr.c and configure.in: gocr.c: <config.h> changed to "config.h" configure-option --with-netpbm=PATH and --without-netpbm added update configure.in according to autoconf 2.57 wchar_h miss-configuration fixed in pgm2asc.c fix compiler warnings char filter accepts abbreviations now, like "0-9A-F" (but slow) update READMEde.txt output barcode tags (also improved recognition) fix pnm.c for files like example.eps.pbm fix detect.c for barcodes fix ocr0n.c 0<->8g 0.38 move UTF/HTML/TeX decoding to getTextLine, return (char *) now out_format HTML step towards detailed XML output correct line detection for footnotes (detect.c) "y" now seen as vowel (pgm2asc.c), I<vowel> susbtituted by l<vowel> &eacute;-detection, &aacute;-output fixed default dust_size is -1 now (auto detection = mean_size/10) char filter added ex: -C 0123456789ABCDEF - recognize only hexcodes man page updated (hopefully correct syntax) database bug fixed (small fonts, example by Chris) several bugs fixed by W. Webber (thanks) speed improved by 3rd-pass matrix filter in pixel() (pixel.c) (code from W. Webber) bug in remove_dust (remove.c) fixed for fonts bigger than 20x40 smooth_borders() changed (b/w-scans) bug in O0-detection fixed
2005-10-25 04:06:57 +02:00
USE_TOOLS+= gmake
CONFIGURE_HAS_MANDIR= no
2008-06-20 03:09:05 +02:00
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
Update to 0.40. Add a tk option to install an additional tcl/tk frontend. 0.40 update PNM file reader to maxval > 255 (make rpm) updated barcode-patch UPC_addon by Michael van Rooyen CAPITAL_LETTER_A_WITH_OGONEK added no "(PICTURE)" output for UTF8+ASCII (better for Mobile OCR project) smooth_borders() bug fixed and reworked 5x7 and prop10 font adaptions objects now detected by flood-fill algorithm (better?) XML-output changed changed auto dust detection (not final) 0.39 XML output added (subject of change, suggestions are welcome) netpbm-link-error fixed in gocr.c and configure.in: gocr.c: <config.h> changed to "config.h" configure-option --with-netpbm=PATH and --without-netpbm added update configure.in according to autoconf 2.57 wchar_h miss-configuration fixed in pgm2asc.c fix compiler warnings char filter accepts abbreviations now, like "0-9A-F" (but slow) update READMEde.txt output barcode tags (also improved recognition) fix pnm.c for files like example.eps.pbm fix detect.c for barcodes fix ocr0n.c 0<->8g 0.38 move UTF/HTML/TeX decoding to getTextLine, return (char *) now out_format HTML step towards detailed XML output correct line detection for footnotes (detect.c) "y" now seen as vowel (pgm2asc.c), I<vowel> susbtituted by l<vowel> &eacute;-detection, &aacute;-output fixed default dust_size is -1 now (auto detection = mean_size/10) char filter added ex: -C 0123456789ABCDEF - recognize only hexcodes man page updated (hopefully correct syntax) database bug fixed (small fonts, example by Chris) several bugs fixed by W. Webber (thanks) speed improved by 3rd-pass matrix filter in pixel() (pixel.c) (code from W. Webber) bug in remove_dust (remove.c) fixed for fonts bigger than 20x40 smooth_borders() changed (b/w-scans) bug in O0-detection fixed
2005-10-25 04:06:57 +02:00
CONFIGURE_ARGS+= --with-netpbm=${BUILDLINK_PREFIX.netpbm}
2008-06-20 03:09:05 +02:00
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1
INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}
Update to 0.40. Add a tk option to install an additional tcl/tk frontend. 0.40 update PNM file reader to maxval > 255 (make rpm) updated barcode-patch UPC_addon by Michael van Rooyen CAPITAL_LETTER_A_WITH_OGONEK added no "(PICTURE)" output for UTF8+ASCII (better for Mobile OCR project) smooth_borders() bug fixed and reworked 5x7 and prop10 font adaptions objects now detected by flood-fill algorithm (better?) XML-output changed changed auto dust detection (not final) 0.39 XML output added (subject of change, suggestions are welcome) netpbm-link-error fixed in gocr.c and configure.in: gocr.c: <config.h> changed to "config.h" configure-option --with-netpbm=PATH and --without-netpbm added update configure.in according to autoconf 2.57 wchar_h miss-configuration fixed in pgm2asc.c fix compiler warnings char filter accepts abbreviations now, like "0-9A-F" (but slow) update READMEde.txt output barcode tags (also improved recognition) fix pnm.c for files like example.eps.pbm fix detect.c for barcodes fix ocr0n.c 0<->8g 0.38 move UTF/HTML/TeX decoding to getTextLine, return (char *) now out_format HTML step towards detailed XML output correct line detection for footnotes (detect.c) "y" now seen as vowel (pgm2asc.c), I<vowel> susbtituted by l<vowel> &eacute;-detection, &aacute;-output fixed default dust_size is -1 now (auto detection = mean_size/10) char filter added ex: -C 0123456789ABCDEF - recognize only hexcodes man page updated (hopefully correct syntax) database bug fixed (small fonts, example by Chris) several bugs fixed by W. Webber (thanks) speed improved by 3rd-pass matrix filter in pixel() (pixel.c) (code from W. Webber) bug in remove_dust (remove.c) fixed for fonts bigger than 20x40 smooth_borders() changed (b/w-scans) bug in O0-detection fixed
2005-10-25 04:06:57 +02:00
.include "options.mk"
Update to 0.40. Add a tk option to install an additional tcl/tk frontend. 0.40 update PNM file reader to maxval > 255 (make rpm) updated barcode-patch UPC_addon by Michael van Rooyen CAPITAL_LETTER_A_WITH_OGONEK added no "(PICTURE)" output for UTF8+ASCII (better for Mobile OCR project) smooth_borders() bug fixed and reworked 5x7 and prop10 font adaptions objects now detected by flood-fill algorithm (better?) XML-output changed changed auto dust detection (not final) 0.39 XML output added (subject of change, suggestions are welcome) netpbm-link-error fixed in gocr.c and configure.in: gocr.c: <config.h> changed to "config.h" configure-option --with-netpbm=PATH and --without-netpbm added update configure.in according to autoconf 2.57 wchar_h miss-configuration fixed in pgm2asc.c fix compiler warnings char filter accepts abbreviations now, like "0-9A-F" (but slow) update READMEde.txt output barcode tags (also improved recognition) fix pnm.c for files like example.eps.pbm fix detect.c for barcodes fix ocr0n.c 0<->8g 0.38 move UTF/HTML/TeX decoding to getTextLine, return (char *) now out_format HTML step towards detailed XML output correct line detection for footnotes (detect.c) "y" now seen as vowel (pgm2asc.c), I<vowel> susbtituted by l<vowel> &eacute;-detection, &aacute;-output fixed default dust_size is -1 now (auto detection = mean_size/10) char filter added ex: -C 0123456789ABCDEF - recognize only hexcodes man page updated (hopefully correct syntax) database bug fixed (small fonts, example by Chris) several bugs fixed by W. Webber (thanks) speed improved by 3rd-pass matrix filter in pixel() (pixel.c) (code from W. Webber) bug in remove_dust (remove.c) fixed for fonts bigger than 20x40 smooth_borders() changed (b/w-scans) bug in O0-detection fixed
2005-10-25 04:06:57 +02:00
.include "../../graphics/netpbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"