6527ef2070
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
35 lines
741 B
Makefile
35 lines
741 B
Makefile
# Ports collection makefile for: gtkperf
|
|
# Date created: 2006-04-22
|
|
# Whom: Andreas Kohn <andreas@syndrom23.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkperf
|
|
PORTVERSION= 0.40
|
|
PORTREVISION= 4
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Measure your system's GTK+ performance
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20 gnomeprefix
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
USE_ICONV= yes
|
|
CONFIGURE_ENV+= 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>
|