aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/wxsvg/Makefile
blob: 5184f533d2350b7da90bcfb392c783e72ace8086 (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
34
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   wxsvg
PORTVERSION=    1.5.12
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 \
        libexif.so:graphics/libexif

USES=       compiler:c++11-lib gettext-runtime gmake libtool pathfix pkgconfig tar:bzip2
USE_WX=     3.0
WX_CONF_ARGS=   absolute
USE_GNOME=  cairo glib20 pango
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>