summaryrefslogtreecommitdiff
path: root/devel/anjuta/Makefile
blob: 3f53228090aabf8ec07b0e2850da5c3e01f082b4 (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
# $NetBSD: Makefile,v 1.27 2005/04/11 21:45:17 tv Exp $
#

DISTNAME=		anjuta-1.2.2
PKGREVISION=		2
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=anjuta/}

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

DEPENDS+=		autoconf>=2.59:../../devel/autoconf
DEPENDS+=		automake>=1.8.2:../../devel/automake
DEPENDS+=		gettext>=0.11.5:../../devel/gettext
DEPENDS+=		glade2>=2.6.0:../../devel/glade2
DEPENDS+=		gmake>=3.80:../../devel/gmake
DEPENDS+=		gnome2-terminal>=2.4.2:../../x11/gnome2-terminal
DEPENDS+=		libtool>=1.5.2:../../devel/libtool
DEPENDS+=		pkgconfig>=0.15.0:../../devel/pkgconfig
DEPENDS+=		yelp>=2.4.2:../../misc/yelp

GNU_CONFIGURE=		YES
USE_DIRS+=		gnome2-1.5
USE_PKGLOCALEDIR=	YES
USE_X11=		YES
USE_GNU_TOOLS+=		make
USE_LIBTOOL=		YES

SUBST_CLASSES+=		make
SUBST_STAGE.make=	pre-configure
SUBST_MESSAGE.make=	"Fixing path to GNU make."
SUBST_FILES.make=	data/properties/anjuta.properties
SUBST_FILES.make+=	src/defaults.c
SUBST_SED.make=		-e 's|make=make|make=${GMAKE}|'

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_SED.unused=	-e 's/__unused__/_exctags_unused_/g'

.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../print/libgnomeprintui/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../x11/vte/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"