597afc47ba
With hat: portmgr Sponsored by: Absolight
34 lines
818 B
Makefile
34 lines
818 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libodfgen
|
|
PORTVERSION= 0.1.6
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/libwpd/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
PKGNAMESUFFIX= 01
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= Library for generating documents in Open Document Format (ODF)
|
|
|
|
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 <bsd.port.pre.mk>
|
|
|
|
.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 <bsd.port.post.mk>
|