summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-02-05 22:59:05 +0000
committerheinz <heinz@pkgsrc.org>2008-02-05 22:59:05 +0000
commitfdf62217db3457c4814e15f4245e5d6f215fa480 (patch)
treed6a80c1d519bf33ceca81e3a9a818e525958511e /devel
parentc7a22b4ae9cdb023c63c579233da26db01073da2 (diff)
downloadpkgsrc-fdf62217db3457c4814e15f4245e5d6f215fa480.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-docs/Makefile12
-rw-r--r--devel/boost-headers/Makefile8
-rw-r--r--devel/boost-libs/Makefile4
-rw-r--r--devel/boost-python/Makefile4
4 files changed, 18 insertions, 10 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"
diff --git a/devel/boost-headers/Makefile b/devel/boost-headers/Makefile
index 9658e2b4e54..4b4262ca39c 100644
--- a/devel/boost-headers/Makefile
+++ b/devel/boost-headers/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.9 2008/01/04 19:58:39 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2008/02/05 23:00:27 heinz Exp $
#
BOOST_PACKAGE= headers
BOOST_COMMENT= (build-time headers)
BOOST_CONFIG= generate
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --without-* # disable all libraries
@@ -14,9 +16,9 @@ BJAM_ARGS+= --without-* # disable all libraries
do-build:
do-install: bjam-install
- ${FIND} ${PREFIX}/include/boost \
+ ${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
- ${FIND} ${PREFIX}/include/boost \
+ ${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
PTHREAD_OPTS+= require
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 2a46d171216..32a307617ee 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/01/04 19:58:40 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2008/02/05 23:01:14 heinz Exp $
#
BOOST_PACKAGE= libs
@@ -6,6 +6,8 @@ BOOST_COMMENT= (binary libraries)
BOOST_CONFIG= installed
BOOST_INSTALL_LIBS= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --without-python
diff --git a/devel/boost-python/Makefile b/devel/boost-python/Makefile
index 955be19cf64..1ca42158d9b 100644
--- a/devel/boost-python/Makefile
+++ b/devel/boost-python/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.8 2008/01/04 19:58:40 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2008/02/05 23:01:59 heinz Exp $
#
BOOST_PACKAGE= python
BOOST_COMMENT= (Boost.Python binary library)
BOOST_CONFIG= installed
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --with-python