summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorasau <asau>2012-07-12 16:29:33 +0000
committerasau <asau>2012-07-12 16:29:33 +0000
commitb090c1d5fca1efa662b9f2d3401c0f10ac14f327 (patch)
tree65242e81c8686c0f71939a3a82858f2ada784908 /databases
parent64da42a86b08ccc52c5b8ef3a941a39783e354ae (diff)
downloadpkgsrc-b090c1d5fca1efa662b9f2d3401c0f10ac14f327.tar.gz
Import pgbench package for PostgreSQL 9.0
pgbench is a popular benchmarking tool used by many developers and hackers to do quick performance test with PostgreSQL on a system setup.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql90-pgbench/DESCR3
-rw-r--r--databases/postgresql90-pgbench/Makefile15
-rw-r--r--databases/postgresql90-pgbench/PLIST2
3 files changed, 20 insertions, 0 deletions
diff --git a/databases/postgresql90-pgbench/DESCR b/databases/postgresql90-pgbench/DESCR
new file mode 100644
index 00000000000..78f3f164687
--- /dev/null
+++ b/databases/postgresql90-pgbench/DESCR
@@ -0,0 +1,3 @@
+pgbench is a popular benchmarking tool used by many developers
+and hackers to do quick performance test with PostgreSQL on a
+system setup.
diff --git a/databases/postgresql90-pgbench/Makefile b/databases/postgresql90-pgbench/Makefile
new file mode 100644
index 00000000000..52f8c0d5a58
--- /dev/null
+++ b/databases/postgresql90-pgbench/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/07/12 16:29:33 asau Exp $
+
+PKGNAME= ${DISTNAME:C/-/90-pgbench-/}
+COMMENT= PostgreSQL benchmarking tools
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../databases/postgresql90/Makefile.common"
+
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS+= contrib/pgbench
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-pgbench/PLIST b/databases/postgresql90-pgbench/PLIST
new file mode 100644
index 00000000000..e82dd4a5656
--- /dev/null
+++ b/databases/postgresql90-pgbench/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/07/12 16:29:33 asau Exp $
+bin/pgbench