# $Id: Portfile 48911 2009-03-31 10:02:34Z ryandesign@macports.org $

PortSystem      1.0

name            wv2
version         0.2.3
categories      textproc
maintainers     nomaintainer
description     A library for reading Microsoft Word files.
long_description \
                ${description}
platforms       darwin
homepage        http://wvware.sourceforge.net/
master_sites    sourceforge:wvware
use_bzip2       yes
checksums       md5 ea7e3331fbe597185070c0784411a3f7

depends_build   path:bin/pkg-config:pkgconfig
depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:libgsf \
                port:libxml2

patch {
    reinplace "s|-pedantic||g" ${worksrcpath}/configure
}
configure.args  --mandir=${prefix}/share/man

use_parallel_build  yes
