source: trunk/dports/graphics/jbig2dec/Portfile

Last change on this file was 137040, checked in by larryv@…, 2 years ago

jbig2dec: Don't create flat-namespace dylib on Yosemite

Quash the Libtool MACOSX_DEPLOYMENT_TARGET bug (comment:35:ticket:44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 137040 2015-06-03 18:01:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                jbig2dec
7version             0.11
8revision            2
9categories          graphics
10platforms           darwin
11# COPYING is GPL 3, but LICENSE says it's GPL 2+
12license             GPL-2+
13maintainers         nomaintainer
14
15description         A decoder implementation of the JBIG2 image \
16                    compression format
17long_description    JBIG2 is designed for lossy or lossless encoding \
18                    of 'bilevel' (1-bit monochrome) images at \
19                    moderately high resolution, and in particular \
20                    scanned paper documents. In this domain it can be \
21                    very efficient, offering compression ratios on the \
22                    order of 100:1. This is a decoder only \
23                    implementation, and its primary use is in \
24                    Ghostscript and MuPDF for decoding JBIG2 streams \
25                    in PDF files. Thus its primary focus is the set of \
26                    JBIG2 features supported in PDF.
27
28homepage            http://www.ghostscript.com/jbig2dec.html
29master_sites        http://ghostscript.com/~giles/jbig2/jbig2dec/ \
30                    sourceforge:project/jbig2dec/jbig2dec/${version}
31
32use_xz              yes
33checksums           rmd160  7c94cb5409371beff8f289beded40b02e0f55e89 \
34                    sha256  016bf8148c850736c19e5e0336c43912d98d68f90c9171912c4f67f5c060adf5
35
36# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
37patchfiles          yosemite-libtool.patch
38
39post-destroot {
40    set docdir ${destroot}${prefix}/share/doc/${name}
41    xinstall -d ${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43            CHANGES \
44            COPYING \
45            LICENSE \
46            README \
47            ${docdir}
48}
Note: See TracBrowser for help on using the repository browser.