2013-03-27 07:19:16 +01:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
2006-01-08 22:32:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wxsvg
|
2013-09-25 18:05:48 +02:00
|
|
|
PORTVERSION= 1.2
|
2006-01-08 22:32:55 +01:00
|
|
|
CATEGORIES= graphics
|
2011-10-03 15:22:32 +02:00
|
|
|
MASTER_SITES= SF
|
2006-01-08 22:32:55 +01:00
|
|
|
|
2013-09-25 18:05:48 +02:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2006-01-08 22:32:55 +01:00
|
|
|
COMMENT= C++ library to create, manipulate, and render SVG files
|
|
|
|
|
2013-03-27 07:19:16 +01:00
|
|
|
LICENSE= LGPL21 # (or later)
|
|
|
|
|
2013-08-28 23:28:50 +02:00
|
|
|
LIB_DEPENDS= libavcodec1.so:${PORTSDIR}/multimedia/ffmpeg1 \
|
|
|
|
libexpat.so:${PORTSDIR}/textproc/expat2
|
2010-08-15 21:39:34 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-08-28 23:28:50 +02:00
|
|
|
USES= gmake pathfix pkgconfig
|
2011-10-03 15:22:32 +02:00
|
|
|
USE_WX= yes
|
|
|
|
WX_CONF_ARGS= absolute
|
2013-03-27 07:19:16 +01:00
|
|
|
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
|
2006-01-08 22:32:55 +01:00
|
|
|
|
2013-03-27 07:19:16 +01:00
|
|
|
LIBAV_PC= libavcodec1 libavformat1 libavutil1 libswscale1
|
|
|
|
LIBAV_CFLAGS= $$(pkg-config --cflags ${LIBAV_PC})
|
|
|
|
LIBAV_LIBS= $$(pkg-config --libs ${LIBAV_PC})
|
2006-04-12 19:48:11 +02:00
|
|
|
|
2013-05-10 17:57:07 +02:00
|
|
|
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>
|