summaryrefslogtreecommitdiff
path: root/devel/anjuta/Makefile
blob: 753f30daedbafdb449ee9f3224af1706e89bb0b7 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# $NetBSD: Makefile,v 1.111 2013/12/06 21:51:32 joerg Exp $

DISTNAME=	anjuta-3.10.0
PKGREVISION=	4
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/anjuta/3.10/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.anjuta.org/
COMMENT=	Gnome based IDE for C and C++

DEPENDS+=	autogen-[0-9]*:../../devel/autogen
DEPENDS+=	autoconf>=2.59:../../devel/autoconf
DEPENDS+=	automake>=1.8.2:../../devel/automake
DEPENDS+=	gnome-terminal>=2.4.2:../../x11/gnome-terminal
DEPENDS+=	libtool>=1.5.2:../../devel/libtool
DEPENDS+=	yelp>=3.8:../../misc/yelp3

BUILD_DEPENDS+=	itstool-[0-9]*:../../textproc/itstool

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake:run intltool pkg-config:run msgfmt:run perl:run sh:run
USE_TOOLS+=		bash:run bison
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--disable-plugin-valgrind
CONFIGURE_ARGS+=	--enable-plugin-scintilla
# pkgsrc devhelp is currently API incompatible
CONFIGURE_ARGS+=	--disable-plugin-devhelp
CONFIGURE_ARGS+=	YACC="bison -y"

SUBST_CLASSES+=		unused
SUBST_STAGE.unused=	pre-configure
SUBST_MESSAGE.unused=	Fixing __unused__ occurrances to avoid name clash
SUBST_FILES.unused=	tagmanager/c.c tagmanager/ctags.c tagmanager/general.h
SUBST_FILES.unused+=	tagmanager/lua.c tagmanager/options.c tagmanager/parse.c
SUBST_FILES.unused+=	tagmanager/parse.h tagmanager/regex.c
SUBST_FILES.unused+=	tagmanager/tm_file_entry.c tagmanager/tm_project.c
SUBST_FILES.unused+=	tagmanager/tm_source_file.c tagmanager/tm_workspace.c
SUBST_FILES.unused+=	tagmanager/eiffel.c tagmanager/lregex.c
SUBST_FILES.unused+=	tagmanager/routines.c
SUBST_SED.unused=	-e 's/__unused__/_exctags_unused_/g'

REPLACE_SH+=		scripts/anjuta_import.sh.in
REPLACE_PERL+=		plugins/tools/scripts/*.pl scripts/*.pl
REPLACE_BASH+=		global-tags/create_global_tags.sh.in

GCONF_SCHEMAS+=	anjuta-build-basic-autotools-plugin.schemas
GCONF_SCHEMAS+=	anjuta-cvs-plugin.schemas
GCONF_SCHEMAS+=	anjuta-document-manager.schemas
GCONF_SCHEMAS+=	anjuta-editor-scintilla.schemas
GCONF_SCHEMAS+=	anjuta-editor-sourceview.schemas
GCONF_SCHEMAS+=	anjuta-language-cpp-java.schemas
GCONF_SCHEMAS+=	anjuta-message-manager-plugin.schemas
GCONF_SCHEMAS+=	anjuta-symbol-browser-plugin.schemas
GCONF_SCHEMAS+=	anjuta-terminal-plugin.schemas
GCONF_SCHEMAS+=	anjuta.schemas

BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.12.0

.include "../../mk/bsd.prefs.mk"

CPPFLAGS+=	-Dshm_open=open -Dshm_unlink=unlink

.include "../../databases/libgda/buildlink3.mk"
#.include "../../devel/devhelp/buildlink3.mk"
.include "../../devel/gdl/buildlink3.mk"
.include "../../devel/glade3/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../graphics/graphviz/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../print/libgnomeprintui/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/gtksourceview3/buildlink3.mk"
.include "../../x11/vte/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"