freebsd-ports/graphics/librsvg2/Makefile
Tobias C. Berner 28bac6ebdd Move some gnome@ ports to desktop@
As gnome@ is lacking active committers at the moment, transfer some of its
ports [1] up the stack to the desktop@ group, in hope that this way we get some
updates in as the set of people that "should feel responsible" grows.

As soon as gnome@ grows some committers again, this can (and should) of course
be reverted again.

[1] The list of ports chosen in this move consits of all the ports that are
required to build x11/kde5.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D26362
2020-09-10 18:55:41 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
PORTNAME= librsvg
PORTVERSION= 2.40.21
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
PKGNAMESUFFIX= 2
DIST_SUBDIR= gnome2
MAINTAINER= desktop@FreeBSD.org
COMMENT= Library for parsing and rendering SVG vector-graphic files
LICENSE= GPLv2 LGPL20
LICENSE_COMB= multi
CONFLICTS_INSTALL= librsvg2-rust
# librsvg2 2.42+ needs rust to build, which is not available on all
# FreeBSD archs. So limit pure C version 2.40.x.
PORTSCOUT= limit:^2\.40\.
BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png \
libcroco-0.6.so:textproc/libcroco
USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
USE_GNOME= cairo gnomeprefix libgsf gdkpixbuf2 introspection:build \
libxml2 pango
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-vala \
--disable-Bsymbolic
PLIST_SUB+= PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9][0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \
${WRKSRC}/configure
.include <bsd.port.mk>