source: trunk/dports/print/libharu/Portfile

Last change on this file was 140228, checked in by takeshi@…, 23 months ago

libharu: update to 2.3.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 140228 2015-09-13 03:02:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                libharu
8version             2.3.0
9categories          print
10platforms           darwin
11maintainers         nomaintainer
12license             zlib
13
14description         a free, cross platform, open source library for generating PDF files
15long_description    ${description} supporting the following features: \
16        1. Generating PDF files with lines, text, images. \
17        2. Outline, text annotation, link annotation. \
18        3. Compressing document with deflate-decode. \
19        4. Embedding PNG, Jpeg images. \
20        5. Embedding Type1 font and TrueType font. \
21        6. Creating encrypted PDF files. \
22        7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). \
23        8. CJK fonts and encodings.
24
25homepage            http://libharu.org
26master_sites        https://github.com/${name}/${name}/archive/
27depends_lib         port:libpng \
28                    port:zlib
29
30regsub -all {\.} ${version} {_} versu
31distname            RELEASE_${versu}
32worksrcdir          ${name}-${distname}
33
34checksums           rmd160  c90ec08c3cc04e4d93f6aa9565368dd3a31a74bc \
35                    sha256  8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
36
37patchfiles          patch-CMakeLists.txt.diff
38
39cmake.out_of_source yes
40
41configure.args-append \
42                    -DPNG_INCLUDE_DIR=${prefix}/include \
43                    -DPNG_LIBRARIES=${prefix}/lib/libpng.dylib \
44                    -DZLIB_INCLUDE_DIR=${prefix}/include \
45                    -DZLIB_LIBRARIES=${prefix}/lib/libz.dylib
46
47livecheck.type      regex
48livecheck.url       ${homepage}
49livecheck.regex      v(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.