# New ports collection makefile for:	xxgdb
# Date created:		2 May 1995
# Whom:			jkh
#
# $FreeBSD: ports/devel/xxgdb/Makefile,v 1.11 2000/09/27 02:54:56 sanpei Exp $
#

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

MAINTAINER=	ports@FreeBSD.org

USE_IMAKE=	yes
MAN1=		xxgdb.1

# 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}; gcc -o xxgdbiowin -O2 xxgdbiowin.c

post-install:
	install -c -s ${WRKSRC}/xxgdbiowin ${PREFIX}/bin

.include <bsd.port.mk>
