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: Portfile 110613 2013-09-02 23:23:33Z jeremyhu@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | PortGroup conflicts_build 1.0 |
---|
7 | |
---|
8 | name podofo |
---|
9 | version 0.9.2 |
---|
10 | revision 2 |
---|
11 | license GPL-2 LGPL-2 |
---|
12 | categories graphics |
---|
13 | maintainers devans openmaintainer |
---|
14 | platforms darwin |
---|
15 | homepage http://podofo.sourceforge.net/ |
---|
16 | master_sites sourceforge |
---|
17 | |
---|
18 | description \ |
---|
19 | PoDoFo is a library to work with the PDF file format. |
---|
20 | |
---|
21 | long_description \ |
---|
22 | PoDoFo is a library to work with the PDF file format. The PoDoFo library \ |
---|
23 | is a free, portable C++ library which includes classes to parse PDF files and \ |
---|
24 | modify their contents into memory. The changes can be written back to disk easily. \ |
---|
25 | The parser can also be used to extract information from a PDF file. |
---|
26 | |
---|
27 | checksums sha256 465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 \ |
---|
28 | rmd160 69bf1035f2466ba95208830038c6f8e303580a5b |
---|
29 | |
---|
30 | depends_build port:cmake |
---|
31 | |
---|
32 | depends_lib port:zlib \ |
---|
33 | port:freetype \ |
---|
34 | port:fontconfig \ |
---|
35 | port:libidn \ |
---|
36 | port:openssl \ |
---|
37 | port:libpng \ |
---|
38 | port:jpeg \ |
---|
39 | port:tiff \ |
---|
40 | port:cppunit \ |
---|
41 | port:lua |
---|
42 | |
---|
43 | conflicts_build ${name} |
---|
44 | |
---|
45 | patchfiles patch-src-base-PdfEncrypt.cpp.diff \ |
---|
46 | patch-cmake-modules-FindFREETYPE.cmake.diff \ |
---|
47 | patch-lua-tools.diff \ |
---|
48 | ios_include.diff |
---|
49 | |
---|
50 | use_parallel_build no |
---|
51 | |
---|
52 | configure.cmd cmake |
---|
53 | |
---|
54 | configure.args-append -G \"Unix Makefiles\" \ |
---|
55 | -DWANT_FONTCONFIG:BOOL=TRUE \ |
---|
56 | -DPODOFO_BUILD_SHARED:BOOL=TRUE \ |
---|
57 | -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
---|
58 | -DCMAKE_INCLUDE_PATH=${prefix}/include \ |
---|
59 | -DCMAKE_LIBRARY_PATH=${prefix}/lib |
---|
60 | |
---|
61 | livecheck.type regex |
---|
62 | livecheck.url http://podofo.sourceforge.net/download.html |
---|
63 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|