summaryrefslogtreecommitdiff
path: root/x11/gtksourceview2/Makefile
blob: fc76bf049f9c53b569aa968bb00641dcf94bf5a9 (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
# $NetBSD: Makefile,v 1.34 2012/10/03 21:59:07 wiz Exp $

DISTNAME=	gtksourceview-2.10.5
PKGNAME=	${DISTNAME:S/-/2-/}
PKGREVISION=	12
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

PKG_DESTDIR_SUPPORT=	user-destdir

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"