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

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

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

LICENSE=    LGPL21 # (or later)

LIB_DEPENDS=    libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
        libexpat.so:${PORTSDIR}/textproc/expat2

USES=       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}"
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>