source: trunk/dports/graphics/podofo/Portfile @ 146517

Last change on this file since 146517 was 146517, checked in by raimue@…, 3 years ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
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: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $
3
4PortSystem      1.0
5PortGroup       cmake 1.0
6PortGroup       conflicts_build 1.0
7
8cmake.out_of_source yes
9
10name            podofo
11version         0.9.3
12revision        1
13license         GPL-2 LGPL-2
14categories      graphics
15maintainers     devans openmaintainer
16platforms       darwin
17homepage        http://podofo.sourceforge.net/
18master_sites    sourceforge
19
20description \
21    PoDoFo is a library to work with the PDF file format.
22
23long_description \
24    PoDoFo is a library to work with the PDF file format. The PoDoFo library \
25    is a free, portable C++ library which includes classes to parse PDF files and \
26    modify their contents into memory. The changes can be written back to disk easily. \
27    The parser can also be used to extract information from a PDF file.
28
29checksums       sha256  ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 \
30                rmd160  7db7f92d84913621dfa53fbecd3f394aa8105bf4
31
32# cppunit required as a build dependency to enable build of podofo command line tools
33
34depends_build-append \
35                port:cppunit
36
37depends_lib     port:zlib \
38                port:freetype \
39                port:fontconfig \
40                port:libidn \
41                path:lib/libssl.dylib:openssl \
42                port:libpng \
43                port:jpeg \
44                port:tiff \
45                port:lua
46
47post-extract {
48    # DOS to UNIX line endings so we can patch
49    reinplace "s|\r||g" ${worksrcpath}/cmake/modules/FindFREETYPE.cmake
50}
51
52conflicts_build ${name}
53
54patchfiles      patch-cmake-modules-FindFREETYPE.cmake.diff
55
56use_parallel_build no
57
58configure.cmd   cmake
59
60configure.args-append  -G \"Unix Makefiles\" \
61                -DWANT_FONTCONFIG:BOOL=TRUE \
62                -DPODOFO_BUILD_SHARED:BOOL=TRUE \
63                -DPODOFO_BUILD_STATIC:BOOL=TRUE \
64                -DCMAKE_INCLUDE_PATH=${prefix}/include \
65                -DCMAKE_LIBRARY_PATH=${prefix}/lib
66
67livecheck.type  regex
68livecheck.url   http://podofo.sourceforge.net/download.html
69livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.