blob: 2e87107e44ec7a4888402a218a52b10112f1e57a (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Created by: Ade Lovett <ade@FreeBSD.org>
PORTNAME= librsvg
PORTVERSION= 2.40.21
PORTREVISION= 3
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
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png \
libcroco-0.6.so:textproc/libcroco
USES= cpe gmake gnome libtool localbase pathfix pkgconfig tar:xz
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\.
OPTIONS_DEFINE= DOCS VAPI
OPTIONS_DEFAULT= DOCS VAPI
OPTIONS_SUB= yes
DOCS_CONFIGURE_ENABLE= grk-doc-html
VAPI_BUILD_DEPENDS= valac:lang/vala
VAPI_CONFIGURE_ON= --enable-vala=yes
VAPI_CONFIGURE_OFF= --enable-vala=no
USE_GNOME= cairo gnomeprefix gdkpixbuf2 introspection:build \
libxml2 pango
CPE_VENDOR= gnome
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-Bsymbolic
DOCSDIR?= ${PREFIX}/share/doc
GNOME_HTML_DIR= ${DOCSDIR}
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>
|