Ticket #40138: Portfile.3

File Portfile.3, 1.4 KB (added by dliessi (Davide Liessi), 11 years ago)

revision bump because of SIP update about a month ago; since the Portfile has already had public exposure, I'm updating the revision also here in the submitted Portfile

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$
3
4PortSystem              1.0
5PortGroup               python 1.0
6PortGroup               active_variants 1.1
7
8set original_name       python-poppler-qt4
9name                    py-${original_name}
10version                 0.16.3
11revision                1
12python.versions         26 27
13python.default_version  27
14maintainers             gmail.com:davide.liessi openmaintainer
15description             Python binding for Poppler-Qt4
16long_description        ${original_name} is a Python binding for Poppler-Qt4.
17homepage                https://code.google.com/p/${original_name}/
18platforms               darwin
19supported_archs         noarch
20license                 LGPL-2.1+
21
22master_sites            googlecode:${original_name}
23distname                ${original_name}-${version}
24
25checksums               rmd160  77c837bed60d82d3858fa644729363192a3505c6 \
26                        sha256  52232383b273038027a881db7e46879b73cccf690d393f677e7496e19cfb59aa
27
28if {$subport != $name} {
29    depends_lib-append      port:poppler \
30                            port:qt4-mac \
31                            port:py${python.version}-pyqt4 \
32                            port:py${python.version}-sip
33
34    require_active_variants poppler {qt4 quartz}
35
36    depends_build-append    port:pkgconfig
37}