aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libmspub/Makefile
blob: 6bb89920948f4db9d7504d9b3cb8feac5ce05c6e (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
# $FreeBSD$

PORTNAME=   libmspub
PORTVERSION=    0.0.5
CATEGORIES= textproc devel
MASTER_SITES=   http://dev-www.libreoffice.org/src/

MAINTAINER= office@FreeBSD.org
COMMENT=    Library and tools for parsing Microsoft Publisher file format

LICENSE=    LGPL21 MPL GPLv2
LICENSE_COMB=   dual

BUILD_DEPENDS=  ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=    icui18n:${PORTSDIR}/devel/icu \
        wpg-0.2:${PORTSDIR}/graphics/libwpg \
        wpd-0.9:${PORTSDIR}/textproc/libwpd

GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack
USE_LDCONFIG=   yes
USE_PKGCONFIG=  build
USE_XZ=     yes

CONFIGURE_ARGS= --disable-werror --without-docs
CONFIGURE_ENV=  ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
CPPFLAGS+=  -I${LOCALBASE}/include

.include <bsd.port.mk>