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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name podofo |
---|
7 | version 0.7.0 |
---|
8 | categories graphics |
---|
9 | maintainers devans openmaintainer |
---|
10 | platforms darwin |
---|
11 | homepage http://podofo.sourceforge.net/ |
---|
12 | master_sites sourceforge |
---|
13 | |
---|
14 | description \ |
---|
15 | PoDoFo is a library to work with the PDF file format. |
---|
16 | |
---|
17 | long_description \ |
---|
18 | PoDoFo is a library to work with the PDF file format. The PoDoFo library \ |
---|
19 | is a free, portable C++ library which includes classes to parse PDF files and \ |
---|
20 | modify their contents into memory. The changes can be written back to disk easily. \ |
---|
21 | The parser can also be used to extract information from a PDF file. |
---|
22 | |
---|
23 | checksums md5 b9623fd9279fca49f7cdd5c1fed182b1 \ |
---|
24 | sha1 bd9862770c99f5790e6be53a57c77c5d4796d841 \ |
---|
25 | rmd160 37721670a706da614b61ec9620fb1ef46aaff4ae |
---|
26 | |
---|
27 | depends_build port:cmake |
---|
28 | |
---|
29 | depends_lib port:fontconfig \ |
---|
30 | port:freetype \ |
---|
31 | port:jpeg \ |
---|
32 | port:tiff \ |
---|
33 | port:zlib \ |
---|
34 | port:cppunit \ |
---|
35 | port:openssl \ |
---|
36 | port:lua |
---|
37 | |
---|
38 | configure.cmd cmake |
---|
39 | configure.args ${worksrcpath} \ |
---|
40 | -G \"Unix Makefiles\" \ |
---|
41 | -DWANT_FONTCONFIG:BOOL=TRUE \ |
---|
42 | -DPODOFO_BUILD_SHARED:BOOL=TRUE \ |
---|
43 | -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
---|
44 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
45 | -DCMAKE_INCLUDE_PATH=${prefix}/include/ \ |
---|
46 | -DCMAKE_LIBRARY_PATH=${prefix}/lib \ |
---|
47 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
48 | -Wno-dev |
---|
49 | |
---|
50 | variant universal { |
---|
51 | configure.universal_args-delete --disable-dependency-tracking |
---|
52 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\" |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.check regex |
---|
56 | livecheck.url http://podofo.sourceforge.net/download.html |
---|
57 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|