summaryrefslogtreecommitdiff
path: root/databases/postgresql91-upgrade/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql91-upgrade/Makefile')
-rw-r--r--databases/postgresql91-upgrade/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/postgresql91-upgrade/Makefile b/databases/postgresql91-upgrade/Makefile
new file mode 100644
index 00000000000..27dfd72f6b2
--- /dev/null
+++ b/databases/postgresql91-upgrade/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/15 08:32:40 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/91-upgrade-/}
+COMMENT= PostgreSQL binary upgrade tool
+MAINTAINER= pkgsrc-users@NetBSD.org
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
+
+.include "../../databases/postgresql91/Makefile.common"
+
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS+= contrib/pg_upgrade
+BUILD_DIRS+= contrib/pg_upgrade_support
+
+LIBS.SunOS+= -lintl
+
+.include "../../databases/postgresql91-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"