freebsd-ports/textproc/libwps03/Makefile

39 lines
948 B
Makefile
Raw Normal View History

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= libwps
2015-01-28 22:38:42 +01:00
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 03
MAINTAINER= office@FreeBSD.org
COMMENT= Microsoft file word processor format import filter library
LICENSE= LGPL21 MPL
LICENSE_COMB= dual
LIB_DEPENDS= librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
2014-10-10 23:03:18 +02:00
CONFIGURE_ARGS= --disable-werror --without-docs
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USES= compiler:features libtool 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>