aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-01 13:26:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-01 13:26:55 +0000
commit658c0ba60fc45af585409cfaaa983dd159158525 (patch)
treeda2d520562ad9886eb0fdc20b64940e1bcf5ac4a
parenta8ecfdc928e699d51301113cda8800a4dca52b6d (diff)
downloadports-658c0ba60fc45af585409cfaaa983dd159158525.tar.gz
ports-658c0ba60fc45af585409cfaaa983dd159158525.zip
Notes
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/gtkperf/Makefile36
-rw-r--r--benchmarks/gtkperf/distinfo3
-rw-r--r--benchmarks/gtkperf/pkg-descr6
-rw-r--r--benchmarks/gtkperf/pkg-plist10
5 files changed, 56 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 355d6bfe97be..1eee36357ea0 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -12,6 +12,7 @@
SUBDIR += dkftpbench
SUBDIR += flops
SUBDIR += forkbomb
+ SUBDIR += gtkperf
SUBDIR += himenobench
SUBDIR += hpl
SUBDIR += httperf
diff --git a/benchmarks/gtkperf/Makefile b/benchmarks/gtkperf/Makefile
new file mode 100644
index 000000000000..05b9ac882f05
--- /dev/null
+++ b/benchmarks/gtkperf/Makefile
@@ -0,0 +1,36 @@
+# Ports collection makefile for: gtkperf
+# Date created: 2006-04-22
+# Whom: Andreas Kohn <andreas@syndrom23.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtkperf
+PORTVERSION= 0.40
+CATEGORIES= benchmarks
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= andreas@syndrom23.de
+COMMENT= Measure your system's GTK+ performance
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gtk20 gnomeprefix
+USE_X_PREFIX= yes
+
+.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>
diff --git a/benchmarks/gtkperf/distinfo b/benchmarks/gtkperf/distinfo
new file mode 100644
index 000000000000..4d604cc1114d
--- /dev/null
+++ b/benchmarks/gtkperf/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtkperf_0.40.tar.gz) = 4331dde4bb83865e15482885fcb0cc53
+SHA256 (gtkperf_0.40.tar.gz) = 9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b
+SIZE (gtkperf_0.40.tar.gz) = 402982
diff --git a/benchmarks/gtkperf/pkg-descr b/benchmarks/gtkperf/pkg-descr
new file mode 100644
index 000000000000..d4cf89f7b1a6
--- /dev/null
+++ b/benchmarks/gtkperf/pkg-descr
@@ -0,0 +1,6 @@
+GtkPerf is an application designed to test GTK+ performance. The point is to
+create common testing platform to run predefined GTK+ widgets (opening
+comboboxes, toggling buttons, scrolling text yms.) and this way define the speed
+of device/platform.
+
+WWW: http://gtkperf.sourceforge.net
diff --git a/benchmarks/gtkperf/pkg-plist b/benchmarks/gtkperf/pkg-plist
new file mode 100644
index 000000000000..3667bc507576
--- /dev/null
+++ b/benchmarks/gtkperf/pkg-plist
@@ -0,0 +1,10 @@
+bin/gtkperf
+doc/gtkperf/AUTHORS
+doc/gtkperf/COPYING
+doc/gtkperf/ChangeLog
+doc/gtkperf/INSTALL
+doc/gtkperf/README
+doc/gtkperf/TODO
+share/pixmaps/duck.png
+@dirrm doc/gtkperf
+@dirrm doc