Ticket #33161: Portfile

File Portfile, 1.3 KB (added by m.haller@…, 12 years ago)

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$
3PortSystem          1.0
4
5name                py27-poppler
6version             0.12.1
7categories                      python
8platforms           darwin
9license                         GPL-2
10maintainers                     nomaintainer
11description                     Python bindings for the Poppler PDF rendering library
12long_description        Python bindings for the Poppler PDF rendering library. It is needed to \
13                                        run programs written in Python and using Poppler set.
14
15homepage                        https://launchpad.net/poppler-python
16master_sites            https://launchpad.net/poppler-python/trunk/development/+download/
17distname            pypoppler-${version}
18
19checksums                       md5             1a89e5ed3042afc81bbd4d02e0cf640a \
20                                        sha256  322f183d24798a056f3005d1ab8e3ac27d8cfbbf0982725b323bbfec1bab5355
21
22patchfiles                      patch-poppler.defs.diff \
23                                        patch-popplermodule.c.diff
24
25depends_lib             port:python27 \
26                                        port:poppler
27
28livecheck.type      regex
29livecheck.url       https://launchpad.net/poppler-python/+download
30livecheck.regex     {pypoppler-(\d+(?:\.\d+)*)\.tar\.gz}
31
32set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
33configure.pkg_config_path ${python_framework}/lib/pkgconfig
34set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.7
35configure.args          --prefix=${python_prefix}