# -*- 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
# $Id: Portfile 55879 2009-08-20 19:40:56Z ryandesign@macports.org $

PortSystem        1.0
PortGroup         cmake 1.0

name              wbxml2
version           0.10.7
categories        textproc devel
platforms         darwin
maintainers       nomaintainer
description       converts between XML and Wireless Binary XML (WBXML)
long_description  ${description}
homepage          https://libwbxml.opensync.org/

master_sites      sourceforge:libwbxml

distname          libwbxml-${version}

checksums         md5    ef3e66df3c4223ce5ce0a70ded5c5221 \
                  sha1   dac2d5452973c17e75517ae4eff42601091f852e \
                  rmd160 e0389673eace78c8b02c79ff4eacd717dd7db70e

patchfiles        patch-src-cmakelists.diff

depends_lib       port:expat

pre-configure     { file mkdir ${configure.dir} }

configure.args-append ${worksrcpath}

configure.dir     ${worksrcpath}/build
build.dir         ${configure.dir}
