38 lines
1 KiB
Makefile
38 lines
1 KiB
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
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.0.0|GTK3_REQUIRED=9.90.0|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|