summaryrefslogtreecommitdiff
path: root/devel/xxgdb/Makefile
blob: edf96069d275bfdf5801599aa749854a09186535 (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
# Created by: jkh
# $FreeBSD$

PORTNAME=	xxgdb
PORTVERSION=	1.12
PORTREVISION=	4
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	utilities

MAINTAINER=	cy@FreeBSD.org
COMMENT=	X window interface for gdb

USES=		imake
USE_XORG=	ice sm x11 xaw xext xmu xt

# This isn't included in the original Imakefile for some reason.
#  Yes, I know this will recompile the program every time, but
#  we have the cookie anyway and it's much easier this way
#  than modifying the Imakefile.
post-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o xxgdbiowin xxgdbiowin.c

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xxgdbiowin ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>