freebsd-ports/graphics/wxsvg/Makefile

37 lines
884 B
Makefile
Raw Normal View History

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= wxsvg
PORTVERSION= 1.2
CATEGORIES= graphics
2011-10-03 15:22:32 +02:00
MASTER_SITES= SF
MAINTAINER= danilo@FreeBSD.org
COMMENT= C++ library to create, manipulate, and render SVG files
LICENSE= LGPL21 # (or later)
LIB_DEPENDS= libavcodec1.so:${PORTSDIR}/multimedia/ffmpeg1 \
libexpat.so:${PORTSDIR}/textproc/expat2
USE_BZIP2= yes
USES= gmake pathfix pkgconfig
2011-10-03 15:22:32 +02:00
USE_WX= 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
LIBAV_PC= libavcodec1 libavformat1 libavutil1 libswscale1
LIBAV_CFLAGS= $$(pkg-config --cflags ${LIBAV_PC})
LIBAV_LIBS= $$(pkg-config --libs ${LIBAV_PC})
post-extract:
.for i in configure install-sh
@${CHMOD} ${BINMODE} ${WRKSRC}/${i}
.endfor
2007-02-23 00:51:13 +01:00
.include <bsd.port.mk>