source: trunk/dports/graphics/pdf2djvu/Portfile @ 138498

Last change on this file since 138498 was 138498, checked in by devans@…, 5 years ago

binary dependents of libpoppler: increment revision to rebuild with libpoppler.53 after upgrade to poppler 0.34.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 138498 2015-07-10 05:18:32Z devans@macports.org $
3
4PortSystem          1.0
5
6name                pdf2djvu
7version             0.7.21
8revision            2
9categories          graphics textproc
10platforms           darwin
11license             GPL-2
12maintainers         nicos openmaintainer
13
14description         Convert PDF to DjVu
15long_description    pdf2djvu creates DjVu files from PDF files. It's able \
16                    to extract: graphics, text layer, hyperlinks, document \
17                    outline (bookmarks), and metadata.
18
19homepage            http://code.google.com/p/pdf2djvu/
20master_sites        https://bitbucket.org/jwilk/pdf2djvu/downloads
21worksrcdir          ${name}-${version}
22use_xz              yes
23
24checksums           rmd160  f32d59c41c76621d6e887ca3f21073102f570ecc \
25                    sha256  12d480cc3ce2369e1f1b39b7f5e6fbb44351d8b07861295d34e6978f58b687b9
26
27depends_build       port:pkgconfig \
28                    port:gsed
29
30depends_lib         port:djvulibre \
31                    port:poppler \
32                    port:libiconv \
33                    port:GraphicsMagick \
34                    port:libxslt
35
36patchfiles          patch-i18n.hh.diff
37 
38#Openmp is anyway not detected with llvm-gcc or clang, and breaks compilation with
39#gcc42 on SL (ticket #38184)
40configure.args-append   --disable-openmp
41
42configure.universal_args-delete \
43                    --disable-dependency-tracking
44
45#Forcing use of system types with llvm-gcc and clang on Lion (ticket #35170)
46configure.cxxflags-append \
47                    -DHAVE_SYS_TYPES_H=1
48
49post-destroot {
50   xinstall -m 644 -W ${worksrcpath}/doc ${name}.1 \
51      ${destroot}${prefix}/share/man/man1
52}
53
54livecheck.type      regex
55livecheck.url       ${master_sites}
56livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.