Ticket #40080: Portfile

File Portfile, 1.5 KB (added by smithsp (Sterling Smith), 11 years ago)

Portfile for proposed py-poppler port.

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