1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/librsvg2/Makefile
2014-06-11 12:36:47 +00:00

35 lines
1006 B
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/graphics/librsvg2/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= librsvg
PORTVERSION= 2.36.4
PORTREVISION= 2
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 \
libcroco-0.6.so:${PORTSDIR}/textproc/libcroco
RUN_DEPENDS= gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehier gnomeprefix libgsf gtk20 introspection:build
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:xz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-svgz \
--with-croco \
--disable-Bsymbolic \
--enable-gtk-theme
post-patch:
@${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.0.0|GTK3_REQUIRED=9.90.0|g' \
${WRKSRC}/configure
.include <bsd.port.mk>