summaryrefslogtreecommitdiff
path: root/databases/postgresql81-client
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-05 17:42:30 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-05 17:42:30 +0000
commit5ade59fdafbd1d4d9d91ab9ae015cd7c5d72b576 (patch)
tree255639bf9b875204654f9a90ae34e862631c9c9c /databases/postgresql81-client
parentaa48c982406bf3ae2fc7616f0d5dfd0654627380 (diff)
downloadpkgsrc-5ade59fdafbd1d4d9d91ab9ae015cd7c5d72b576.tar.gz
DESTDIR support.
Diffstat (limited to 'databases/postgresql81-client')
-rw-r--r--databases/postgresql81-client/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/postgresql81-client/Makefile b/databases/postgresql81-client/Makefile
index b8df3253960..c51a36a625e 100644
--- a/databases/postgresql81-client/Makefile
+++ b/databases/postgresql81-client/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2006/10/18 16:33:21 adam Exp $
+# $NetBSD: Makefile,v 1.5 2006/11/05 17:42:30 joerg Exp $
PKGNAME= postgresql81-client-${BASE_VERS}
COMMENT= PostgreSQL database client programs
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql81/Makefile.common"
USE_TOOLS+= gzip tar
@@ -80,9 +82,9 @@ post-install:
FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
bug.template; \
do \
- ${INSTALL_DATA} $$file ${PG_DOC_DIR}/$$file; \
+ ${INSTALL_DATA} $$file ${DESTDIR}${PG_DOC_DIR}/$$file; \
done
- cp -R ${WRKSRC}/doc/TODO.detail ${PG_DOC_DIR}
- chown -R ${DOCOWN}:${DOCGRP} ${PG_DOC_DIR}/TODO.detail
+ cp -R ${WRKSRC}/doc/TODO.detail ${DESTDIR}${PG_DOC_DIR}
+ chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PG_DOC_DIR}/TODO.detail
.include "../../mk/bsd.pkg.mk"