summaryrefslogtreecommitdiff
path: root/databases/slony1
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 17:30:09 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 17:30:09 +0000
commit74f82c6e68e36c29d74b9a3def0a26b44e852fa1 (patch)
treefc7cd88e28551dd6ad7c165f325518d8f492a46b /databases/slony1
parent1b578cf5453fec16bd4274909b841bc9958ae018 (diff)
downloadpkgsrc-74f82c6e68e36c29d74b9a3def0a26b44e852fa1.tar.gz
DESTDIR support
Diffstat (limited to 'databases/slony1')
-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"