# -*- 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
maintainers ryandesign openmaintainer
description library to parse, generate and operate on KML
long_description ${name} is Google's library for use with applications \
that want to parse, generate and operate on KML. It \
is an implementation of the OGC KML 2.2 standard.
homepage https://code.google.com/p/libkml/
# Development might move to one of these forks:
# https://github.com/google/libkml
# https://github.com/CPB9/libkml
# https://github.com/libkml/libkml
checksums md5 25d534437f971bf55a945608e39fea79 \
sha1 3fa5acdc2b2185d7f0316d205002b7162f079894 \
rmd160 f73ed3ce47d38c5d45bd04c9498a847b24c572da
# If curl is found, the networking examples will be built. There is no
# configure flag to turn this off, but the examples are not installed.
#depends_build-append port:curl
depends_build-append port:boost
depends_lib-append port:expat \
patchfiles patch-configure.ac.diff \
patch-support-external-liburiparse-and-boost.diff
fs-traverse f ${worksrcpath} {
switch [file tail ${f}] {
reinplace "s| -Werror||g" ${f}
configure.args-append --disable-dependency-tracking \
--with-liburiparser=${prefix}