# $FreeBSD$ PORTNAME= libmwaw PORTVERSION= 0.1.11 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= office@FreeBSD.org COMMENT= Import library for some old mac text documents LICENSE= LGPL21 MPL LICENSE_COMB= dual LIB_DEPENDS= libwpd-0.9.so:${PORTSDIR}/textproc/libwpd OPTIONS_DEFINE= DOCS CONFIGURE_ARGS= --disable-werror CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= libtool pkgconfig pathfix tar:xz compiler:features PORTDOCS= * DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen DOCS_CONFIGURE_OFF= --without-docs .include .if ${COMPILER_FEATURES:Mlibc++} CONFIGURE_ARGS+= --with-sharedptr=c++11 .else BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs CONFIGURE_ARGS+= --with-sharedptr=boost .endif .include