pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tesseract tesseract: use REPLACE_BASH; fix bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f24f75041dc8
branches:  trunk
changeset: 325498:f24f75041dc8
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Nov 18 18:07:20 2018 +0000

description:
tesseract: use REPLACE_BASH; fix building man-pages; courtesy of Mustafa D. :)

diffstat:

 graphics/tesseract/Makefile |   7 ++++---
 graphics/tesseract/PLIST    |  20 +++++++++++++++++++-
 2 files changed, 23 insertions(+), 4 deletions(-)

diffs (61 lines):

diff -r c044bf6acc53 -r f24f75041dc8 graphics/tesseract/Makefile
--- a/graphics/tesseract/Makefile       Sun Nov 18 17:58:45 2018 +0000
+++ b/graphics/tesseract/Makefile       Sun Nov 18 18:07:20 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2018/11/14 22:21:47 kleink Exp $
+# $NetBSD: Makefile,v 1.43 2018/11/18 18:07:20 adam Exp $
 
 DISTNAME=      tesseract-4.0.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tesseract-ocr/}
 DISTFILES=     ${DEFAULT_DISTFILES}
@@ -17,11 +17,12 @@
 
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
-USE_TOOLS+=            autoconf automake make pax pkg-config
+USE_TOOLS+=            autoconf automake bash gmake pax pkg-config
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                LIBLEPT_HEADERSDIR=${BUILDLINK_PREFIX.leptonica}/include
 
 INSTALL_TARGET=                install training-install
+REPLACE_BASH+=         ${WRKSRC}/src/training/*.sh
 
 post-extract:
        ${MV} ${WRKDIR}/tessdata-${LANGVER}/* ${WRKSRC}/tessdata
diff -r c044bf6acc53 -r f24f75041dc8 graphics/tesseract/PLIST
--- a/graphics/tesseract/PLIST  Sun Nov 18 17:58:45 2018 +0000
+++ b/graphics/tesseract/PLIST  Sun Nov 18 18:07:20 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2018/11/03 09:13:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2018/11/18 18:07:20 adam Exp $
 bin/ambiguous_words
 bin/classifier_tester
 bin/cntraining
@@ -40,6 +40,24 @@
 include/tesseract/unichar.h
 lib/libtesseract.la
 lib/pkgconfig/tesseract.pc
+man/man1/ambiguous_words.1
+man/man1/classifier_tester.1
+man/man1/cntraining.1
+man/man1/combine_lang_model.1
+man/man1/combine_tessdata.1
+man/man1/dawg2wordlist.1
+man/man1/lstmeval.1
+man/man1/lstmtraining.1
+man/man1/merge_unicharsets.1
+man/man1/mftraining.1
+man/man1/set_unicharset_properties.1
+man/man1/shapeclustering.1
+man/man1/tesseract.1
+man/man1/text2image.1
+man/man1/unicharset_extractor.1
+man/man1/wordlist2dawg.1
+man/man5/unicharambigs.5
+man/man5/unicharset.5
 share/tessdata/afr.traineddata
 share/tessdata/amh.traineddata
 share/tessdata/ara.traineddata



Home | Main Index | Thread Index | Old Index