f94d2502ca
- Change maintainer email to @FreeBSD.org - Add staging support Changelog: http://wxsvg.cvs.sourceforge.net/viewvc/wxsvg/wxsvg/ChangeLog Approved by: culot (mentor)
36 lines
884 B
Makefile
36 lines
884 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wxsvg
|
|
PORTVERSION= 1.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= libavcodec1.so:${PORTSDIR}/multimedia/ffmpeg1 \
|
|
libexpat.so:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_BZIP2= yes
|
|
USES= gmake pathfix pkgconfig
|
|
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
|
|
|
|
.include <bsd.port.mk>
|