# New ports collection makefile for:  gtkada
# Date created:                       12 December 2010
# Whom:                               John Marino <draco@marino.st>
#
# $FreeBSD: branches/RELEASE_8_4_0/x11-toolkits/gtkada/Makefile 313633 2013-03-08 10:51:34Z kwm $
#

PORTNAME=	gtkada
PORTVERSION=	2.22
PORTREVISION=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://downloads.dragonlace.net/src/ \
		http://dragonlace.mirrors.ada.cx/src/

MAINTAINER=	draco@marino.st
COMMENT=	Ada graphical toolkit based on Gtk2+

BUILD_DEPENDS=	gnat-aux>20101204:${PORTSDIR}/lang/gnat-aux
BUILD_DEPENDS+=	gtk>=2.22:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS+=	gtk>=2.22:${PORTSDIR}/x11-toolkits/gtk20

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes
CC=		gnatgcc

CONFIGURE_ARGS+=	--disable-nls

post-patch:
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/misc.c

.include <bsd.port.mk>
