# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD: benchmarks/gtkperf/Makefile 327708 2013-09-20 15:52:44Z bapt $

PORTNAME=	gtkperf
PORTVERSION=	0.40
PORTREVISION=	9
CATEGORIES=	benchmarks
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Measure your system's GTK+ performance

WRKSRC=		${WRKDIR}/${PORTNAME}
USES=		gmake pkgconfig
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 gnomeprefix

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext iconv
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB=		NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB=		NLS="@comment "
.endif

.include <bsd.port.mk>
