# -*- 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
# $Id: Portfile 118688 2014-04-08 04:22:17Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0

epoch               1
github.setup        agl jbig2enc 0.28
github.version      ${version}-dist
revision            1
categories          graphics
platforms           darwin
license             GPL-2
maintainers         takeshi openmaintainer
description         JBIG2 Encoder
long_description \
    JBIG2 encodes bi-level (1 bpp) images using a number of \
    clever tricks to get better compression than G4. \
    This encoder can: \
        * Generate JBIG2 files, or fragments for embedding in PDFs \
        * Generic region encoding \
        * Perform symbol extraction, classification and text region coding \
        * Perform refinement coding and, \
        * Compress multipage documents

checksums           rmd160  dcc754653464f104564cf54da7f917a4e98d06ad \
                    sha256  81ee5d6fad820080ab07c57c73cc1665a6997d182f8bbb0aec27cd0f2ee6d54f

depends_lib         port:leptonica

patchfiles          patch-leptonica-1.70.diff

configure.args      --docdir=${prefix}/share/doc/${name}

configure.universal_args-delete --disable-dependency-tracking
