summaryrefslogtreecommitdiff
path: root/x11/gtksourceview2/Makefile
blob: bb2691788a03fde26a0911ab338450b544f9c782 (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
# $NetBSD: Makefile,v 1.45 2014/05/29 23:38:19 wiz Exp $

DISTNAME=	gtksourceview-2.10.5
PKGNAME=	${DISTNAME:S/-/2-/}
PKGREVISION=	22
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gtksourceview/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://gtksourceview.sourceforge.net/
COMMENT=	Text widget that extends GTK2's GtkTextView widget
LICENSE=	gnu-gpl-v2

USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake intltool msgfmt perl pkg-config
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--disable-build-tests

PKGCONFIG_OVERRIDE=	gtksourceview-2.0.pc.in

SUBST_CLASSES+=		ige-mac
SUBST_STAGE.ige-mac=	pre-configure
SUBST_MESSAGE.ige-mac=	Do not require ige-mac-integration.
SUBST_FILES.ige-mac=	configure
SUBST_SED.ige-mac=	-e 's,os_osx=yes,os_osx=no,'

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"