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$ |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-poppler |
---|
7 | version 0.12.1 |
---|
8 | |
---|
9 | platforms darwin |
---|
10 | supported_archs noarch |
---|
11 | license GPL-2 |
---|
12 | maintainers nomaintainer |
---|
13 | description python bindings to the poppler library |
---|
14 | long_description Python bindings for the Poppler PDF rendering library (glib). |
---|
15 | python.versions 26 27 |
---|
16 | |
---|
17 | checksums md5 1a89e5ed3042afc81bbd4d02e0cf640a \ |
---|
18 | rmd160 d6c196d6bbbaa9ef96c2ea3a38eb6a89308bab15 \ |
---|
19 | sha256 322f183d24798a056f3005d1ab8e3ac27d8cfbbf0982725b323bbfec1bab5355 |
---|
20 | |
---|
21 | homepage https://launchpad.net/poppler-python |
---|
22 | master_sites ${homepage}/trunk/development/+download/ |
---|
23 | distname pypoppler-${version} |
---|
24 | |
---|
25 | patchfiles patch_poppler.defs.diff \ |
---|
26 | patch_poppler.override.diff |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | if {$subport != $name} { |
---|
31 | depends_lib-append port:poppler port:python${python.version} |
---|
32 | depends_build-append port:pkgconfig |
---|
33 | use_configure yes |
---|
34 | configure.cmd ./configure |
---|
35 | configure.pkg_config_path \ |
---|
36 | ${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${python.prefix}/lib/pkgconfig/ |
---|
37 | configure.pre_args --prefix=${python.prefix} |
---|
38 | |
---|
39 | build.cmd make |
---|
40 | build.target all |
---|
41 | |
---|
42 | use_parallel_build no |
---|
43 | |
---|
44 | destroot.cmd make |
---|
45 | destroot.destdir DESTDIR=${destroot} |
---|
46 | |
---|
47 | livecheck.type none |
---|
48 | } |
---|