source: trunk/dports/graphics/libcdr-0.1/Portfile @ 135232

Last change on this file since 135232 was 135232, checked in by ryandesign@…, 5 years ago

icu: update to 55.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 135232 2015-04-20 00:15:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libcdr-0.1
7set dname           libcdr
8version             0.1.1
9revision            1
10categories          graphics
11license             {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
12maintainers         devans openmaintainer
13platforms           darwin
14homepage            http://www.freedesktop.org/wiki/Software/libcdr
15master_sites        http://dev-www.libreoffice.org/src/${dname}
16
17description         Libcdr is a library and a set of tools for reading and converting binary files \
18                    produced by Corel DRAW.
19
20long_description    ${description}
21
22use_xz              yes
23
24distname            ${dname}-${version}
25
26checksums           sha256  d0a6e0667e5a37fe059bcb81d5077fc2abffc7e7bac86fe302fbcf927d58df1f \
27                    rmd160  5d6ea7a497103c1c6d889c8a74f0e97e13a3569f
28
29depends_build       port:pkgconfig
30
31depends_lib         port:librevenge \
32                    port:boost \
33                    port:icu \
34                    port:lcms2 \
35                    port:zlib
36
37# build fix for gcc-4.2 (#43487)
38if {[string match "*gcc*" ${configure.compiler}]} {
39    configure.cxxflags-append -Wno-long-long
40}
41
42# The packaged glibtool in 0.1.1 doesn't pass --stdlib=libc++ down at link time
43use_autoreconf  yes
44autoreconf.args -fvi
45
46configure.args      --disable-werror \
47                    --disable-silent-rules \
48                    --without-docs
49
50variant docs description {Build API documentation} {
51    depends_build-append  port:doxygen
52    configure.args-replace --without-docs --with-docs
53}
54
55# delete binaries that conflict with libcdr
56
57post-destroot {
58    file delete -force ${destroot}${prefix}/bin
59}
60
61livecheck.type      regex
62livecheck.url       ${master_sites}
63livecheck.regex     "${dname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.