opnsense-ports/textproc/libwps02/Makefile
Franco Fichtner 708a0841e8 */*: sync with upstream
Taken from: FreeBSD
2015-07-04 08:43:25 +02:00

37 lines
931 B
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= libwps
PORTVERSION= 0.2.9
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 02
MAINTAINER= office@FreeBSD.org
COMMENT= Microsoft file word processor format import filter library
LICENSE= LGPL21 MPL
LICENSE_COMB= dual
LIB_DEPENDS= libwpd-0.9.so:${PORTSDIR}/textproc/libwpd
CONFIGURE_ARGS= --disable-werror --without-docs
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USES= compiler:features libtool:keepla pathfix pkgconfig
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:${PORTSDIR}/devel/boost-libs
CONFIGURE_ARGS+= --with-sharedptr=boost
.endif
post-stage:
@${RM} -f ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.post.mk>