You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
78ac2be001
https://lists.gnu.org/archive/html/info-gnu/2024-01/msg00010.html * add revision and remove platforms line * add myself as maintainer * remove obsolete patches * update configure flags
44 lines
1.7 KiB
Tcl
44 lines
1.7 KiB
Tcl
# -*- 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 ocrad
|
|
version 0.29
|
|
revision 0
|
|
categories graphics
|
|
maintainers {@aeiouaeiouaeiouaeiouaeiouaeiou outlook.com:aeioudev} openmaintainer
|
|
license GPL-3
|
|
description ocrad is an optical character recognition program
|
|
long_description GNU Ocrad is an OCR (Optical Character Recognition) \
|
|
program implemented as a filter and based on a feature \
|
|
extraction method. It reads a bitmap image in pbm \
|
|
format and produces text in byte (8-bit) or UTF-8 \
|
|
formats.
|
|
|
|
homepage https://www.gnu.org/software/ocrad/ocrad.html
|
|
master_sites gnu
|
|
|
|
checksums rmd160 7f57c0f32c81076f636f0c12591fd33da72cdf5d \
|
|
sha256 11200cc6b0b7ba16884a72dccb58ef694f7aa26cd2b2041e555580f064d2d9e9 \
|
|
size 96519
|
|
|
|
depends_extract bin:lzip:lzip
|
|
|
|
extract.suffix .tar.lz
|
|
extract.cmd lzip
|
|
extract.pre_args "-dc"
|
|
|
|
depends_lib port:libpng
|
|
|
|
configure.args CC="${configure.cc}" \
|
|
CXX="${configure.cxx}" \
|
|
CPPFLAGS="${configure.cppflags}" \
|
|
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
|
|
CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
|
|
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
|
|
|
|
test.run yes
|
|
test.target check
|
|
|
|
destroot.target install install-man
|