mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.8 KiB
Tcl
52 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup boost 1.0
|
|
|
|
name libetonyek
|
|
version 0.1.2
|
|
revision 4
|
|
maintainers {gmail.com:rjvbertin @RJVB}
|
|
categories textproc
|
|
license MPL-2+
|
|
|
|
description Libetonyek is a library that parses the file format of Apple Keynote documents.
|
|
long_description {*}${description} It supports Keynote versions 2-5.
|
|
|
|
homepage https://wiki.documentfoundation.org/DLP/Libraries/libetonyek
|
|
master_sites http://dev-www.libreoffice.org/src/${name}
|
|
|
|
use_xz yes
|
|
|
|
checksums rmd160 2ef12ef4fbf6924a9e51f991dee47b5156742114 \
|
|
sha256 58d078a76c3fd839c282244a1a7dabca81cef64be086a5c7d8470bb64208da39
|
|
|
|
depends_build port:pkgconfig\
|
|
port:gperf
|
|
|
|
depends_lib port:zlib \
|
|
port:librevenge \
|
|
port:libxml2 \
|
|
port:glm
|
|
|
|
# error "GLM requires Clang 3.4 / Apple Clang 6.0 or higher"
|
|
compiler.blacklist-append {clang < 600} macports-clang-3.3
|
|
|
|
# disable some of the chattiest warnings (gives significant speed-up, about 14% for me)
|
|
configure.cflags-append -Wno-c99-extensions -Wno-variadic-macros -Wno-c++11-long-long
|
|
configure.cxxflags-append -Wno-c99-extensions -Wno-variadic-macros -Wno-c++11-long-long
|
|
|
|
configure.args --enable-silent-rules \
|
|
--disable-dependency-tracking \
|
|
--without-docs \
|
|
--disable-werror \
|
|
--disable-tests \
|
|
--with-sysroot=${prefix}
|
|
|
|
variant docs description {Build API documentation} {
|
|
depends_build-append path:bin/doxygen:doxygen
|
|
configure.args-delete --without-docs
|
|
}
|
|
|
|
livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"
|