summaryrefslogtreecommitdiff
path: root/databases/slony1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/slony1/Makefile')
-rw-r--r--databases/slony1/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile
index 106dc281a4f..697bca0cb14 100644
--- a/databases/slony1/Makefile
+++ b/databases/slony1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/10/06 09:54:42 adam Exp $
+# $NetBSD: Makefile,v 1.12 2010/01/29 17:32:31 joerg Exp $
DISTNAME= slony1-1.2.15
CATEGORIES= databases
@@ -9,6 +9,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://main.slony.info/
COMMENT= Replication system for PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server
USE_TOOLS+= gmake
@@ -26,7 +28,7 @@ post-extract:
post-install:
${INSTALL_DATA} ${WRKSRC}/share/slon.conf-sample \
- ${PGSQL_PREFIX}/share/postgresql
+ ${DESTDIR}${PGSQL_PREFIX}/share/postgresql
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"