mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
25beeff079
Changes: http://www.boost.org/users/history/version_1_66_0.html PR: 223922 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D13279
37 lines
953 B
Makefile
37 lines
953 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libwps
|
|
PORTVERSION= 0.4.8
|
|
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: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>
|