aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb53-act/Makefile
blob: ba2bef99ef845651ca8a0990c634d392a31ce700 (plain) (blame)
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
# Ports collection makefile for:    GDB 5.3-act
# Date created:             8 August 2003
# Whom:                 John R. Shannon <john@johnrshannon.com>
#
# $FreeBSD$

PORTNAME=   gdb
PORTVERSION=    5.3
PORTREVISION=   2
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   http://www.johnrshannon.com/download/
PKGNAMESUFFIX=  -act
DISTNAME=   ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER= john@johnrshannon.com
COMMENT=    GDB 5.3 modified by ACT for Ada programming language

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES=    bin/gdbada
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-suffix=ada
CONFIGURE_ARGS+=    --disable-nls

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "alpha"
BROKEN=     "Does not compile on !i386 and !alpha"
.endif

.if ${OSVERSION} < 500000
BROKEN=     "Does not compile on 4.x"
.endif

pre-configure:
    cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
    ${LN} -sf ${FILESDIR}/freebsd-uthread.c ${FILESDIR}/kvm-fbsd.c \
        ${WRKSRC}/gdb

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdbada

.include <bsd.port.post.mk>