2014-10-06 21:09:37 +02:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
|
|
|
|
PORTNAME= libwps
|
2015-01-28 22:38:42 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2019-12-11 18:53:48 +01:00
|
|
|
PORTREVISION= 13
|
2014-10-06 21:09:37 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PKGNAMESUFFIX= 03
|
|
|
|
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
|
|
COMMENT= Microsoft file word processor format import filter library
|
|
|
|
|
2017-09-24 20:50:39 +02:00
|
|
|
LICENSE= LGPL21 MPL20
|
2014-10-06 21:09:37 +02:00
|
|
|
LICENSE_COMB= dual
|
2017-09-24 20:50:39 +02:00
|
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
|
|
|
|
LICENSE_FILE_MPL20= ${WRKSRC}/COPYING.MPL
|
2014-10-06 21:09:37 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge
|
2014-10-06 21:09:37 +02:00
|
|
|
|
2014-10-10 23:03:18 +02:00
|
|
|
CONFIGURE_ARGS= --disable-werror --without-docs
|
2014-10-06 21:09:37 +02:00
|
|
|
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
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
|
2014-10-06 21:09:37 +02:00
|
|
|
CONFIGURE_ARGS+= --with-sharedptr=boost
|
|
|
|
.endif
|
|
|
|
|
2016-12-02 12:58:21 +01:00
|
|
|
post-install:
|
2016-10-21 14:51:40 +02:00
|
|
|
@${RM} ${STAGEDIR}${PREFIX}/bin/*
|
2015-07-02 22:59:22 +02:00
|
|
|
|
2014-10-06 21:09:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|