# $OpenBSD: Makefile,v 1.34 2017/04/10 11:45:24 sthen Exp $

COMMENT=	library functions to access Microsoft Word/Excel files

REVISION =	1
DISTNAME=	wv2-0.4.2
SHARED_LIBS +=	wv2                  4.0      # .1.8
CATEGORIES=	converters
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=wvware/}
EXTRACT_SUFX=	.tar.bz2

HOMEPAGE=	http://wvware.sourceforge.net/

# LGPLv2
PERMIT_PACKAGE_CDROM=	Yes

WANTLIB += glib-2.0 gsf-1 iconv m ${LIBCXX} z

MODULES=	devel/cmake

LIB_DEPENDS+=	converters/libiconv \
		devel/glib2 \
		devel/libgsf

CONFIGURE_ARGS +=-DLIBwv2_VERSION=${LIBwv2_VERSION}

.include <bsd.port.mk>
