# $FreeBSD: head/textproc/libmwaw03/Makefile 412349 2016-04-01 14:25:16Z mat $ PORTNAME= libmwaw PORTVERSION= 0.3.7 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 03 MAINTAINER= office@FreeBSD.org COMMENT= Import library for some old mac text documents LICENSE= LGPL21 MPL LICENSE_COMB= dual LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge CONFIGURE_ARGS= --disable-werror --without-docs CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes USES= compiler:features libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include .if ${COMPILER_FEATURES:Mlibc++} CONFIGURE_ARGS+= --with-sharedptr=c++11 .else BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs CONFIGURE_ARGS+= --with-sharedptr=boost .endif .include