source: trunk/dports/graphics/libvisio-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                libvisio-0.1
7set dname           libvisio
8version             0.1.1
9revision            2
10categories          graphics
11platforms           darwin
12maintainers         devans openmaintainer
13license             LGPL-2
14
15description         Libvisio is a C++ library for reading and parsing \
16                    drawings in VSD (Visio) format.
17
18long_description    ${description} VSD is the format used by Visio.
19
20homepage            http://www.freedesktop.org/wiki/Software/libvisio
21master_sites        http://dev-www.libreoffice.org/src/${dname}
22
23use_xz              yes
24
25distname            ${dname}-${version}
26
27checksums           sha256  4b510168d1465516fdf6e57c01e2f9eae1fc0ae232c74e44e70693bbc49227f1 \
28                    rmd160  46bab63e5bcef89eea264411afdbe1b2fb716d61
29
30depends_build       port:pkgconfig
31
32depends_lib         port:librevenge \
33                    port:boost \
34                    port:cppunit \
35                    port:icu \
36                    port:libxml2 \
37                    port:zlib
38
39patchfiles          patch-src-lib-VSDMetaData.cpp.diff
40
41# Version 0.1.1's glibtool doesn't know to pass -stdlib=... to the linker
42use_autoreconf      yes
43autoreconf.args     -fvi
44
45configure.args      --without-docs \
46                    --disable-silent-rules \
47                    --disable-werror
48
49# delete binaries that conflict with libvisio
50
51post-destroot {
52    file delete -force ${destroot}${prefix}/bin
53}
54
55variant docs description {Build documentation using doxygen} {
56    depends_build-append    port:doxygen
57    configure.args-delete   --without-docs
58}
59   
60livecheck.type      regex
61livecheck.url       [lindex ${master_sites} 0]
62livecheck.regex     \"${dname}-(\[0-9.\]+)${extract.suffix}\"
Note: See TracBrowser for help on using the repository browser.