Files
2024-03-22 15:09:35 -04:00

48 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
PortGroup github 1.0
github.setup ArtifexSoftware jbig2dec 0.20
github.tarball_from releases
revision 0
homepage https://www.jbig2dec.com/
description A decoder implementation of the JBIG2 image \
compression format
long_description JBIG2 is designed for lossy or lossless encoding \
of 'bilevel' (1-bit monochrome) images at \
moderately high resolution, and in particular \
scanned paper documents. In this domain it can be \
very efficient, offering compression ratios on the \
order of 100:1. This is a decoder only \
implementation, and its primary use is in \
Ghostscript and MuPDF for decoding JBIG2 streams \
in PDF files. Thus its primary focus is the set of \
JBIG2 features supported in PDF.
categories graphics
license AGPL-3+
maintainers nomaintainer
distname ${name}-${version}
checksums rmd160 e02334e19b674af02f85704debb13f0bcebb0e9f \
sha256 7b63ff6470289547e7a3a0f145cb8ea6c2afffdd65645b7d87d3b7febc96fb3a \
size 497524
depends_build-append \
port:autoconf
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
CHANGES \
COPYING \
LICENSE \
README \
${docdir}
}