summaryrefslogtreecommitdiff
path: root/graphics/wxsvg/Makefile
blob: 6dfa851a60fde6197ad412933c1bc7b4592656ab (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
30
31
32
33
34
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=	wxsvg
PORTVERSION=	1.5.6
CATEGORIES=	graphics
MASTER_SITES=	SF

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	C++ library to create, manipulate, and render SVG files

LICENSE=	LGPL21+

LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
		libexpat.so:textproc/expat2

USES=		compiler:c++11-lib gmake libtool pathfix pkgconfig tar:bzip2
USE_WX=		3.0
WX_UNICODE=	yes
WX_CONF_ARGS=	absolute
USE_GNOME=	cairo
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBAV_CFLAGS="${LIBAV_CFLAGS}" LIBAV_LIBS="${LIBAV_LIBS}" \
		CXXFLAGS="${CXXFLAGS} -std=c++11"
MAKE_ENV=	AM_CPPFLAGS="${LIBAV_CFLAGS}"
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

post-extract:
.for i in configure install-sh
	@${CHMOD} ${BINMODE} ${WRKSRC}/${i}
.endfor

.include <bsd.port.mk>