summaryrefslogtreecommitdiff
path: root/devel/sgi-stl-docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sgi-stl-docs/Makefile')
-rw-r--r--devel/sgi-stl-docs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/sgi-stl-docs/Makefile b/devel/sgi-stl-docs/Makefile
index 3361b4c3fc1..db2c7070f4d 100644
--- a/devel/sgi-stl-docs/Makefile
+++ b/devel/sgi-stl-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/17 21:03:34 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $
DISTNAME= STL_doc
PKGNAME= sgi-stl-docs-3.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sgi.com/tech/stl/
COMMENT= SGI Standard Template Library Programmer's Guide
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
NO_CONFIGURE= yes
@@ -18,10 +20,10 @@ NO_BUILD= yes
HTMLDOCDIR= share/doc/sgi-stl/html
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}
cd ${WRKSRC}; for file in `${GREP} "^${HTMLDOCDIR}/" ${PLIST_SRC} \
| ${SED} "s,^${HTMLDOCDIR}/,,g"`; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/${HTMLDOCDIR}/$${file}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}/$${file}; \
done
.include "../../mk/bsd.pkg.mk"