aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2/Makefile
blob: 71907d910a3f13705f0e56e8697b65449efde48d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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
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=    freetype:${PORTSDIR}/print/freetype2 \
        croco-0.6:${PORTSDIR}/textproc/libcroco
RUN_DEPENDS=    gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2

USE_XZ=     yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
USE_GNOME=  gnomehier gnomeprefix libgsf ltverhack gtk20 \
        introspection:build
USES=       gettext gmake pathfix pkgconfig
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-svgz \
        --with-croco \
        --disable-Bsymbolic \
        --enable-gtk-theme
MAN1=       rsvg-convert.1

post-patch:
    @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.0.0|GTK3_REQUIRED=9.90.0|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>