1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/graphics/librsvg2/Makefile
2021-04-06 16:31:07 +02:00

43 lines
1.1 KiB
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
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>