| @@ -1,10 +1,17 @@ | | | @@ -1,10 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.2 2012/10/02 21:25:41 asau Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2016/03/05 16:06:32 tnn Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:C/-/${PGSQL_VERSION}-pgbench-/} | | 3 | PKGNAME= ${DISTNAME:C/-/${PGSQL_VERSION}-pgbench-/} |
4 | COMMENT= PostgreSQL benchmarking tools | | 4 | COMMENT= PostgreSQL benchmarking tools |
5 | | | 5 | |
6 | BUILD_DIRS+= contrib/pgbench | | 6 | BUILD_DIRS+= contrib/pgbench |
7 | | | 7 | |
8 | .include "../../mk/pgsql.buildlink3.mk" # this one defines PGSQL_VERSION among others | | 8 | .include "../../mk/pgsql.buildlink3.mk" # this one defines PGSQL_VERSION among others |
| | | 9 | |
| | | 10 | # This package should be removed when PGSQL_VERSION_DEFAULT is bumped |
| | | 11 | .if !empty(PGSQL_VERSION:M95) |
| | | 12 | PKG_SKIP_REASON+= \ |
| | | 13 | "pgbench is now shipped with postgresql${PGSQL_VERSION}-client" |
| | | 14 | .endif |
| | | 15 | |
9 | .include "../../databases/postgresql${PGSQL_VERSION}/Makefile.common" | | 16 | .include "../../databases/postgresql${PGSQL_VERSION}/Makefile.common" |
10 | .include "../../mk/bsd.pkg.mk" | | 17 | .include "../../mk/bsd.pkg.mk" |