summaryrefslogtreecommitdiff
path: root/benchmarks/gtkperf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /benchmarks/gtkperf
parentUpdate to 2.3.0 (diff)
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here: - trim headers - convert to new options framework
Notes
Notes: svn path=/head/; revision=316850
Diffstat (limited to 'benchmarks/gtkperf')
-rw-r--r--benchmarks/gtkperf/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/benchmarks/gtkperf/Makefile b/benchmarks/gtkperf/Makefile
index 368d5b9d4d51..5f79a44265c9 100644
--- a/benchmarks/gtkperf/Makefile
+++ b/benchmarks/gtkperf/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: gtkperf
-# Date created: 2006-04-22
-# Whom: Andreas Kohn <andreas@syndrom23.de>
-#
+# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
-#
PORTNAME= gtkperf
PORTVERSION= 0.40
@@ -20,7 +16,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gtk20 gnomeprefix
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext iconv
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib