blob: 115fadfa633c9a688af07c922207be32ce2674b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= libwps
PORTVERSION= 0.4.7
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= Microsoft file word processor format import filter library
LICENSE= LGPL21+ MPL20
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MPL20= ${WRKSRC}/COPYING.MPL
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:bz2
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>
|