summaryrefslogtreecommitdiffstats
path: root/devel/xxgdb/Makefile
blob: 1acd19ee91a2d9489cfb6b1725f1392eb8e7a392 (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
# New ports collection makefile for:	xxgdb
# Date created:		2 May 1995
# Whom:			jkh
#
# $FreeBSD$
#

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

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

USE_IMAKE=	yes
MAN1=		xxgdb.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		"Does not compile on sparc64"
.endif

# 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 ${PREFIX}/bin

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud