summaryrefslogtreecommitdiff
path: root/cad/simian-docs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit2e614fcea0b247bbc54200c2ed35e943cca37125 (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/simian-docs
parentf61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff)
downloadpkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/simian-docs')
-rw-r--r--cad/simian-docs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/cad/simian-docs/Makefile b/cad/simian-docs/Makefile
index 151dba5ae6b..c8d439ca261 100644
--- a/cad/simian-docs/Makefile
+++ b/cad/simian-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/22 19:01:15 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 01:50:27 jlam Exp $
#
DISTNAME= simian_man_12_98
@@ -18,13 +18,16 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simian
- ${INSTALL_DATA} ${DISTDIR}/${DISTFILES:Q} ${PREFIX}/share/doc/simian
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/simian
+ ${INSTALL_DATA} ${DISTDIR}/${DISTFILES:Q} \
+ ${DESTDIR}${PREFIX}/share/doc/simian
.include "../../mk/bsd.pkg.mk"