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 120780 2014-06-07 01:38:18Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libetonyek |
---|
7 | version 0.1.2 |
---|
8 | maintainers gmail.com:rjvbertin |
---|
9 | categories textproc |
---|
10 | platforms darwin |
---|
11 | license MPL-2.0+ |
---|
12 | |
---|
13 | description Libetonyek is a library that parses the file format of Apple Keynote documents. |
---|
14 | long_description ${description} It supports Keynote versions 2-5. |
---|
15 | |
---|
16 | homepage https://wiki.documentfoundation.org/DLP/Libraries/libetonyek |
---|
17 | master_sites http://dev-www.libreoffice.org/src/${name} |
---|
18 | |
---|
19 | use_xz yes |
---|
20 | |
---|
21 | checksums rmd160 2ef12ef4fbf6924a9e51f991dee47b5156742114 \ |
---|
22 | sha256 58d078a76c3fd839c282244a1a7dabca81cef64be086a5c7d8470bb64208da39 |
---|
23 | |
---|
24 | depends_build port:pkgconfig\ |
---|
25 | port:gperf |
---|
26 | |
---|
27 | depends_lib port:zlib \ |
---|
28 | port:boost \ |
---|
29 | port:librevenge \ |
---|
30 | port:libxml2 \ |
---|
31 | port:glm |
---|
32 | |
---|
33 | # disable some of the chattiest warnings (gives significant speed-up, about 14% for me) |
---|
34 | configure.cflags-append -Wno-c99-extensions -Wno-variadic-macros -Wno-c++11-long-long |
---|
35 | configure.cxxflags-append -Wno-c99-extensions -Wno-variadic-macros -Wno-c++11-long-long |
---|
36 | |
---|
37 | configure.args --enable-silent-rules \ |
---|
38 | --disable-dependency-tracking \ |
---|
39 | --without-docs \ |
---|
40 | --disable-werror \ |
---|
41 | --disable-tests \ |
---|
42 | --with-sysroot=${prefix} |
---|
43 | |
---|
44 | variant docs description {Build API documentation} { |
---|
45 | depends_build-append port:doxygen |
---|
46 | configure.args-delete --without-docs |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}" |
---|