aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtksourceview3/Makefile
blob: cb62c1419af03642f6d79d35ceb8a4c0948b0ed7 (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
38
39
40
41
PORTNAME=	gtksourceview
PORTVERSION=	3.24.11
PORTREVISION=	2
CATEGORIES=	x11-toolkits gnome
MASTER_SITES=	GNOME
PKGNAMESUFFIX=	3
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Text widget that adds syntax highlighting to the GtkTextView widget

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c11 tar:xz vala:build

PORTSCOUT=	limitw:1,even

LIB_DEPENDS=	libfribidi.so:converters/fribidi

USES+=		gettext gmake gnome libtool localbase pathfix pkgconfig
USE_CSTD=	c11
USE_GNOME=	cairo gdkpixbuf2 gnomeprefix gtk30 \
		introspection:build libxml2
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--enable-compile-warnings=no \
		--enable-glade-catalog=no \
		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
		--enable-introspection
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|tests testsuite||g' \
		${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e 's|--warn-all||g' \
		${WRKSRC}/gtksourceview/Makefile.in

.include <bsd.port.mk>