summaryrefslogtreecommitdiff
path: root/databases/pgpool
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /databases/pgpool
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'databases/pgpool')
-rw-r--r--databases/pgpool/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/pgpool/Makefile b/databases/pgpool/Makefile
index 74ba68ba7d6..5411d2d4673 100644
--- a/databases/pgpool/Makefile
+++ b/databases/pgpool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/03/24 19:21:20 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:18 joerg Exp $
DISTNAME= pgpool-2.7
CATEGORIES= databases
@@ -8,6 +8,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://pgpool.projects.postgresql.org/
COMMENT= Connection pooling/replication server for PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -18,6 +20,6 @@ CONF_FILES= ${PREFIX}/share/examples/pgpool.conf.sample \
${PKG_SYSCONFDIR}/pgpool.conf
post-install:
- ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample ${PREFIX}/share/examples
+ ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample ${DESTDIR}${PREFIX}/share/examples
.include "../../mk/bsd.pkg.mk"