summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-02-05 22:52:01 +0000
committerheinz <heinz@pkgsrc.org>2008-02-05 22:52:01 +0000
commit8cb83aff161916b59c67bdf8ff56fbd61bad6135 (patch)
tree672ec72e960090c913af750889e28f503c8f6b86 /devel
parent791d2a633580d4b2c20f61a50df5ecee6f5c1169 (diff)
downloadpkgsrc-8cb83aff161916b59c67bdf8ff56fbd61bad6135.tar.gz
Added support for installationt to DESTDIR.
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-build/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/boost-build/Makefile b/devel/boost-build/Makefile
index 15936c08fd6..63c44ffb1c7 100644
--- a/devel/boost-build/Makefile
+++ b/devel/boost-build/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.8 2008/02/05 22:50:40 heinz Exp $
+# $NetBSD: Makefile,v 1.9 2008/02/05 22:52:01 heinz Exp $
#
BOOST_PACKAGE= build
BOOST_COMMENT= (Boost.Build framework)
BOOST_CONFIG= no
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/boost/Makefile.common"
SUBST_CLASSES+= confdir
@@ -37,11 +39,10 @@ do-build:
${ECHO} 'using ${BOOST_TOOLSET} ;' ; } >${WRKDIR}/site-config.jam
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/boost-build
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/boost-build
cd ${WRKSRC}/tools/build/v2 && ${PAX} -rw -pp -pm \
- -s ':^.*\.orig$$::' . ${PREFIX}/share/boost-build
- find ${PREFIX}/share/boost-build -name "*.orig" -exec rm "{}" \;
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKDIR}/site-config.jam ${EGDIR}
+ -s ':^.*\.orig$$::' . ${DESTDIR}${PREFIX}/share/boost-build
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKDIR}/site-config.jam ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"