diff options
author | heinz <heinz> | 2008-02-05 22:59:05 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-02-05 22:59:05 +0000 |
commit | f39f699ab6b24bb8e4037aeb01f408d9cfda624a (patch) | |
tree | d6a80c1d519bf33ceca81e3a9a818e525958511e /devel/boost-docs | |
parent | b4335484961d5ea0f6fb5a01a6cd95e5ec09e71b (diff) | |
download | pkgsrc-f39f699ab6b24bb8e4037aeb01f408d9cfda624a.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel/boost-docs')
-rw-r--r-- | devel/boost-docs/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/boost-docs/Makefile b/devel/boost-docs/Makefile index d85efb51022..7db1a0aeaa6 100644 --- a/devel/boost-docs/Makefile +++ b/devel/boost-docs/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.4 2008/02/05 22:58:00 heinz Exp $ +# $NetBSD: Makefile,v 1.5 2008/02/05 22:59:05 heinz Exp $ # BOOST_PACKAGE= docs BOOST_COMMENT= (documentation) BOOST_CONFIG= no +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../meta-pkgs/boost/Makefile.common" DOCDIR= ${PREFIX}/share/doc/boost @@ -12,17 +14,17 @@ DOCDIR= ${PREFIX}/share/doc/boost NO_BUILD= yes do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} cd ${WRKSRC} && ${PAX} -rw -pm \ -s':^.*/build$$::' \ -s':^.*/build/.*$$::' \ -s':^libs/.*/test$$::' \ -s':^libs/.*/test/.*$$::' \ -s':^.*\.orig$$::' \ - *.png *.css *.htm libs more ${DOCDIR} - ${FIND} ${DOCDIR} \ + *.png *.css *.htm libs more ${DESTDIR}${DOCDIR} + ${FIND} ${DESTDIR}${DOCDIR} \ -type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} - ${FIND} ${DOCDIR} \ + ${FIND} ${DESTDIR}${DOCDIR} \ -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} .include "../../mk/bsd.pkg.mk" |