summaryrefslogtreecommitdiff
path: root/devel/gvd/Makefile
blob: d5e118c71959840f09af34546c15f243ec8c6293 (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
# New ports collection makefile for:    gvd
# Date created:         4 Dec 2000
# Whom:                 Samuel Tardieu <sam@inf.enst.fr>
#
# $FreeBSD$
#

PORTNAME=		gvd
PORTVERSION=		1.2.5
PORTREVISION=		1
CATEGORIES=		devel
DISTNAME=		${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=		.tgz

MAINTAINER=		ports@FreeBSD.org
COMMENT=		GNU Visual Debugger, a graphical front-end to gdb and jdb

BUILD_DEPENDS=		adagcc:${PORTSDIR}/lang/gnat \
			tex:${PORTSDIR}/print/teTeX
LIB_DEPENDS=		gtkada.12:${PORTSDIR}/x11-toolkits/gtkada

DEPRECATED=		GVD is now integrated as part of GPS, the GNAT Programming System. \
			No further releases of GVD stand alone will be made.
EXPIRATION_DATE=	2005-12-01

INFO=			gvd

WRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}

GNU_CONFIGURE=		yes
CONFIGURE_ENV=		CC=adagcc CFLAGS=-O
MAKE_ENV=		CC=adagcc CFLAGS=-O
USE_X_PREFIX=		yes
USE_GMAKE=		yes
USE_REINPLACE=		yes

post-patch:
	${REINPLACE_CMD} -e "s#doc/gvd#share/doc/gvd#" ${WRKSRC}/docs/Makefile.in

post-install:
	${GMAKE} -C ${WRKSRC}/docs docdir=${PREFIX}/share/doc/gvd install
	${MV} ${PREFIX}/share/doc/gvd/gvd.info ${PREFIX}/info/

.include <bsd.port.mk>