summaryrefslogtreecommitdiff
path: root/devel/gdbada/Makefile
blob: 0669def72d37168c3cada812085a48423750be98 (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
# $NetBSD: Makefile,v 1.7 2005/11/13 14:16:05 shannonjr Exp $

DISTNAME=	gdbada-6.3
#PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=		http://www.johnrshannon.com/download/
EXTRACT_SUFX=		.tgz

MAINTAINER=	john@johnrshannon.com
HOMEPAGE=	http://libre.act-europe.fr/GDB/
COMMENT=        GNAT GDB : An Ada 95 Debugger

# Not yet ported to AMD 64-bit machines or Darwin
NOT_FOR_PLATFORM=	*-*-x86_64 Darwin-*-*

WRKSRC=		${WRKDIR}/gdb-6.3
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
GDB_SUBPREFIX=	gdbada
GDB_PREFIX=	${PREFIX}/${GDB_SUBPREFIX}
GNU_CONFIGURE=          YES
USE_PKGINSTALL=		YES
USE_TOOLS+=		gmake
TEST_TARGET=    	check
INFO_DIR=		${GDB_PREFIX}/info
LIB_DIR=		${GDB_PREFIX}/lib
CONFIGURE_ARGS+=	--prefix=${GDB_PREFIX}
CONFIGURE_ARGS+=	--exec-prefix=${GDB_PREFIX}
CONFIGURE_ARGS+=	--infodir=${INFO_DIR}
CONFIGURE_ARGS+=	--libdir=${LIB_DIR}
CONFIGURE_ARGS+=	--includedir=${GDB_PREFIX}/include
CONFIGURE_ARGS+=	--mandir=${GDB_PREFIX}/man
CONFIGURE_ARGS+=	--datadir=${GDB_PREFIX}/share
# We don't seem to be able to control where locale data goes, so:
CONFIGURE_ARGS+=	--disable-nls
USE_MAKEINFO=		YES
USE_NEW_TEXINFO=	YES

pre-patch:
	${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb

.include "../../mk/bsd.prefs.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"