summaryrefslogtreecommitdiff
path: root/graphics/libfreehand/Makefile
blob: 3488d6cda7bad6b174a78eb4fe2794d795af4966 (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=	libfreehand
PORTVERSION=	0.1.2
PORTREVISION=	27
CATEGORIES=	graphics
MASTER_SITES=	LODEV

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library for interpreting and importing Adobe/Macromedia drawings
WWW=		https://wiki.documentfoundation.org/DLP/Libraries/libfreehand

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/COPYING

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

GNU_CONFIGURE=	yes
USES=	compiler:c++11-lang gperf perl5 libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=	yes
USE_PERL5=	build
CONFIGURE_ARGS=	--disable-werror --without-docs
CPPFLAGS+=	-D CMS_NO_REGISTER_KEYWORD
CPPFLAGS+=	-I ${LOCALBASE}/include
INSTALL_TARGET=	install-strip

.include <bsd.port.mk>