source: trunk/dports/python/py-poppler/Portfile

Last change on this file was 144134, checked in by devans@…, 21 months ago

py-poppler: merge patch from gentoo launchpad repo to fix build with poppler 0.39, increment revision (#50192).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 144134 2016-01-02 23:47:18Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-poppler
8set rname           pypoppler
9version             0.12.1
10revision            4
11
12platforms           darwin
13license             GPL-2
14maintainers         nomaintainer
15description         Python bindings to the Poppler library
16long_description    Python bindings for the Poppler PDF rendering library (libpoppler-glib).
17python.versions     27
18
19checksums           md5 1a89e5ed3042afc81bbd4d02e0cf640a \
20                    rmd160 d6c196d6bbbaa9ef96c2ea3a38eb6a89308bab15 \
21                    sha256 322f183d24798a056f3005d1ab8e3ac27d8cfbbf0982725b323bbfec1bab5355
22
23homepage            https://launchpad.net/poppler-python
24master_sites        ${homepage}/trunk/development/+download/
25distname            ${rname}-${version}
26
27# merged patch from gentoo launchpad repo to fix build with poppler 0.39
28# https://trac.macports.org/ticket/50192
29# https://bugs.launchpad.net/poppler-python/+bug/1528489
30
31patchfiles          patch-poppler.defs.diff \
32                    patch-poppler.override.diff
33
34if {${name} ne ${subport}} {
35    depends_build-append \
36                        port:pkgconfig
37    depends_lib-append  port:atk \
38                        port:poppler \
39                        port:py${python.version}-pygtk
40
41    use_configure       yes
42    configure.cmd       ./configure
43    configure.pkg_config_path \
44        ${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${python.prefix}/lib/pkgconfig/
45    configure.pre_args  --prefix=${python.prefix}
46
47    build.cmd           make
48    build.target        all
49
50    use_parallel_build  no
51
52    destroot.cmd        make
53    destroot.destdir    DESTDIR=${destroot}
54
55    livecheck.type      none
56}
57livecheck.type      regex
58livecheck.url       https://launchpad.net/poppler-python/trunk/development/
59livecheck.regex     "${rname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.