From 5ade59fdafbd1d4d9d91ab9ae015cd7c5d72b576 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 5 Nov 2006 17:42:30 +0000 Subject: DESTDIR support. --- databases/postgresql81-client/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'databases/postgresql81-client') 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" -- cgit v1.2.3