Changeset View
Changeset View
Standalone View
Standalone View
benchmarks/gtkperf/Makefile
Show All 11 Lines | |||||
COMMENT= Measure your system's GTK+ performance | COMMENT= Measure your system's GTK+ performance | ||||
WRKSRC= ${WRKDIR}/${PORTNAME} | WRKSRC= ${WRKDIR}/${PORTNAME} | ||||
USES= gmake pkgconfig | USES= gmake pkgconfig | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_GNOME= gtk20 gnomeprefix | USE_GNOME= gtk20 gnomeprefix | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_SUB= yes | |||||
.include <bsd.port.options.mk> | NLS_USES= gettext iconv | ||||
NLS_CPPFLAGS= -I${LOCALBASE}/include | |||||
.if ${PORT_OPTIONS:MNLS} | NLS_LDFLAGS= -L${LOCALBASE}/lib | ||||
USES+= gettext iconv | NLS_CONFIGURE_ENABLE= nls | ||||
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> | .include <bsd.port.mk> |