# $Id: Portfile 93039 2012-05-14 12:00:12Z jmr@macports.org $

PortSystem 	1.0

name		wv
version		1.2.4
revision        1
description	A library for reading Microsoft Word files.
long_description	${description}
maintainers	nomaintainer
categories	textproc
license		GPL-2+
platforms	darwin
homepage	http://wvware.sourceforge.net/
master_sites	sourceforge:wvware
checksums	md5 c1861c560491f121e12917fa76970ac5
depends_build	path:bin/pkg-config:pkgconfig
depends_lib	path:lib/pkgconfig/glib-2.0.pc:glib2 \
		port:libgsf \
		port:libxml2 \
		port:zlib \
		port:ImageMagick \
		port:libpng
patch		{
		reinplace "s|-pedantic||g" ${worksrcpath}/configure
}

configure.args	--mandir=${prefix}/share/man

#
# wv is not universal
#

universal_variant no

livecheck.regex "<title>${name} (.*) released.*</title>"
