summaryrefslogtreecommitdiff
path: root/databases/libpqxx-doc
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 15:21:07 +0000
committerjlam <jlam>2008-03-03 15:21:07 +0000
commit6bf0c42dc496151566450acc4ce8cda48be0af58 (patch)
tree41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/libpqxx-doc
parent86213e922b2fb88ae36e4de9c3a355bfe2923c08 (diff)
downloadpkgsrc-6bf0c42dc496151566450acc4ce8cda48be0af58.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'databases/libpqxx-doc')
-rw-r--r--databases/libpqxx-doc/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/databases/libpqxx-doc/Makefile b/databases/libpqxx-doc/Makefile
index 714cda269d3..93539f1d13a 100644
--- a/databases/libpqxx-doc/Makefile
+++ b/databases/libpqxx-doc/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2007/02/15 15:36:04 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 15:21:07 jlam Exp $
#
PKGNAME= libpqxx-doc-${LIBPQXX_VERSION}
PKGREVISION= 1
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/libpqxx/Makefile.common"
COMMENT= Documentation for libpqxx
@@ -17,9 +19,13 @@ INSTALLATION_DIRS+= ${PQXXDOC}/Reference ${PQXXDOC}/Tutorial
INSTALLATION_DIRS+= share/examples/libpqxx
do-install:
- ${INSTALL_DATA} ${PQXXDOCSRC}/Reference/*.html ${PQXXDOC}/Reference
- ${INSTALL_DATA} ${PQXXDOCSRC}/Reference/doxygen.* ${PQXXDOC}/Reference
- ${INSTALL_DATA} ${PQXXDOCSRC}/Tutorial/*.html ${PQXXDOC}/Tutorial
- ${INSTALL_DATA} ${WRKSRC}/test/*.cxx ${PREFIX}/share/examples/libpqxx
+ ${INSTALL_DATA} ${PQXXDOCSRC}/Reference/*.html \
+ ${DESTDIR}${PQXXDOC}/Reference
+ ${INSTALL_DATA} ${PQXXDOCSRC}/Reference/doxygen.* \
+ ${DESTDIR}${PQXXDOC}/Reference
+ ${INSTALL_DATA} ${PQXXDOCSRC}/Tutorial/*.html \
+ ${DESTDIR}${PQXXDOC}/Tutorial
+ ${INSTALL_DATA} ${WRKSRC}/test/*.cxx \
+ ${DESTDIR}${PREFIX}/share/examples/libpqxx
.include "../../mk/bsd.pkg.mk"