summaryrefslogtreecommitdiff
path: root/graphics/libcdr01/Makefile
blob: 86d6834d5751c91cdb9a4eb96c990aac8794c60e (plain)
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

PORTNAME=	libcdr
PORTVERSION=	0.1.6
PORTREVISION=	1
CATEGORIES=	graphics devel
MASTER_SITES=	LODEV
PKGNAMESUFFIX=	01

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library and tools for parsing Corel Draw file format

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/COPYING.MPL

BUILD_DEPENDS=	${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs
LIB_DEPENDS=	libicui18n.so:devel/icu \
		librevenge-0.0.so:textproc/librevenge \
		liblcms2.so:graphics/lcms2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs
USES=		compiler:c++11-lib libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

CPPFLAGS+=	-I${LOCALBASE}/include
CXXFLAGS+=	-Wno-long-long

.include <bsd.port.mk>