# Created by: Michael Johnson # $FreeBSD$ PORTNAME= libwps PORTVERSION= 0.2.9 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= office@FreeBSD.org COMMENT= A Microsoft file word processor format import filter library LICENSE= LGPL21 MPL LICENSE_COMB= dual BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd OPTIONS_DEFINE= DOCS CONFIGURE_ARGS= --disable-werror CPPFLAGS+= -I${LOCALBASE}/include USE_AUTOTOOLS= libtool USE_GNOME= gnomehack gnomeprefix ltverhack USE_LDCONFIG= yes .include .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen PORTDOCS= * .else CONFIGURE_ARGS+=--without-docs .endif .include