33 lines
797 B
Makefile
33 lines
797 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wxsvg
|
|
PORTVERSION= 1.5.3
|
|
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= 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}"
|
|
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>
|