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