source: trunk/dports/graphics/libcdr/Portfile @ 120845

Last change on this file since 120845 was 120845, checked in by mcalhoun@…, 6 years ago

Revision bump for icu update (r120843).
Fixes #43959.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 120845 2014-06-09 21:14:20Z mcalhoun@macports.org $
3
4PortSystem      1.0
5
6name            libcdr
7version         0.0.16
8revision        1
9categories      graphics
10license         {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
11maintainers     devans openmaintainer
12platforms       darwin
13homepage        http://www.freedesktop.org/wiki/Software/libcdr
14master_sites    http://dev-www.libreoffice.org/src/
15
16description \
17    Libcdr is a library and a set of tools for reading and converting binary files \
18    produced by Corel DRAW.
19
20long_description \
21    ${description}
22
23use_xz          yes
24
25checksums       sha256  4c8a6586920f7b040ce51fa375eb87507291e0de4f568469db25f52915bc1135 \
26                rmd160  c1fe5b74634385fc9c5ab71d45b1dd063469ded9
27
28depends_build   port:pkgconfig
29
30depends_lib     port:boost \
31                port:icu \
32                port:libwpd \
33                port:libwpg \
34                port:lcms2 \
35                port:zlib
36
37# build fix for darwin 9 and earlier (#43487)
38
39if {${os.platform} eq "darwin" && ${os.major} < 10} {
40    configure.cxxflags-append -Wno-long-long
41}
42
43configure.args  --disable-werror \
44                --without-docs
45
46variant docs description {Build reference documentation} {
47    depends_build-append  port:doxygen
48    configure.args-replace --without-docs --with-docs
49}
50
51livecheck.type  regex
52livecheck.url   ${master_sites}
53livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.