update to ocrad-0.28, adding support for PNG. based on a diff from wen heping.
This commit is contained in:
parent
810a82014f
commit
3408cd2070
|
@ -1,6 +1,6 @@
|
|||
COMMENT= OCR program for pnm files
|
||||
COMMENT= OCR program for pnm/PNG files
|
||||
|
||||
DISTNAME= ocrad-0.27
|
||||
DISTNAME= ocrad-0.28
|
||||
|
||||
CATEGORIES= graphics
|
||||
EXTRACT_SUFX= .tar.lz
|
||||
|
@ -8,15 +8,19 @@ EXTRACT_SUFX= .tar.lz
|
|||
# GPLv3
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB= c m ${COMPILER_LIBCXX}
|
||||
WANTLIB= c m pthread png ${COMPILER_LIBCXX}
|
||||
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=ocrad/}
|
||||
|
||||
CONFIGURE_STYLE=simple
|
||||
|
||||
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
LIB_DEPENDS= graphics/png
|
||||
|
||||
MAKE_FLAGS= CXX="${CXX}" \
|
||||
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
FAKE_FLAGS= infodir="${PREFIX}/info" \
|
||||
mandir="${PREFIX}/man"
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (ocrad-0.27.tar.lz) = qb/mfpoECQev9WQNylY5JHa2qJ5I433JS6hGxbZzOzY=
|
||||
SIZE (ocrad-0.27.tar.lz) = 91709
|
||||
SHA256 (ocrad-0.28.tar.lz) = NMzqV229rapZeeYgI0TD/2hzfYKcp7ZvcchJfTa7vy4=
|
||||
SIZE (ocrad-0.28.tar.lz) = 95567
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
GNU Ocrad is an OCR (Optical Character Recognition) program based on a
|
||||
feature extraction method. It reads images in pbm (bitmap), pgm
|
||||
GNU Ocrad is an OCR (Optical Character Recognition) program based on
|
||||
a feature extraction method. It reads images in PNG, pbm (bitmap), pgm
|
||||
(greyscale) or ppm (color) formats and produces text in byte (8-bit) or
|
||||
UTF-8 formats. The pbm, pgm and ppm formats are collectively known as
|
||||
UTF-8 formats. The pbm, pgm and ppm formats are collectively known as
|
||||
pnm.
|
||||
|
|
Loading…
Reference in New Issue