# $FreeBSD: tags/RELEASE_10_3_0/textproc/libvisio/Makefile 384614 2015-04-23 21:26:09Z bapt $

PORTNAME=	libvisio
PORTVERSION=	0.0.31
PORTREVISION=	4
CATEGORIES=	textproc devel
MASTER_SITES=	LODEV

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library and tools for parsing the visio file format structure

LICENSE=	LGPL21 MPL GPLv2
LICENSE_COMB=	dual

BUILD_DEPENDS=	${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=	libicui18n.so:${PORTSDIR}/devel/icu \
		libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \
		libwpg-0.2.so:${PORTSDIR}/graphics/libwpg

CONFIGURE_ARGS=	--disable-werror --without-docs
CPPFLAGS+=	-I${LOCALBASE}/include
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_PERL5=	build
USES=		gmake gperf libtool pathfix perl5 pkgconfig tar:xz
INSTALL_TARGET=	install-strip

post-stage:
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/vs*

.include <bsd.port.mk>
