# Created by: Ade Lovett # $FreeBSD$ PORTNAME= librsvg PORTVERSION= 2.40.10 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Library for parsing and rendering SVG vector-graphic files LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png \ libcroco-0.6.so:${PORTSDIR}/textproc/libcroco USES= gettext gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gnomeprefix libgsf gdkpixbuf2 introspection:build libxml2 \ pango USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-vala \ --disable-Bsymbolic post-patch: @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9][0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \ ${WRKSRC}/configure .include