pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/205db6921c7e
branches: trunk
changeset: 538326:205db6921c7e
user: heinz <heinz%pkgsrc.org@localhost>
date: Tue Feb 05 22:59:05 2008 +0000
description:
Added support for installation to DESTDIR.
diffstat:
devel/boost-docs/Makefile | 12 +++++++-----
devel/boost-headers/Makefile | 8 +++++---
devel/boost-libs/Makefile | 4 +++-
devel/boost-python/Makefile | 4 +++-
sysutils/hcidump/Makefile | 8 +++++++-
5 files changed, 25 insertions(+), 11 deletions(-)
diffs (130 lines):
diff -r 9f9c3d27cd01 -r 205db6921c7e devel/boost-docs/Makefile
--- a/devel/boost-docs/Makefile Tue Feb 05 22:58:00 2008 +0000
+++ b/devel/boost-docs/Makefile Tue Feb 05 22:59:05 2008 +0000
@@ -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 @@
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 -r 9f9c3d27cd01 -r 205db6921c7e devel/boost-headers/Makefile
--- a/devel/boost-headers/Makefile Tue Feb 05 22:58:00 2008 +0000
+++ b/devel/boost-headers/Makefile Tue Feb 05 22:59:05 2008 +0000
@@ -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 @@
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 -r 9f9c3d27cd01 -r 205db6921c7e devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Tue Feb 05 22:58:00 2008 +0000
+++ b/devel/boost-libs/Makefile Tue Feb 05 22:59:05 2008 +0000
@@ -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_CONFIG= installed
BOOST_INSTALL_LIBS= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --without-python
diff -r 9f9c3d27cd01 -r 205db6921c7e devel/boost-python/Makefile
--- a/devel/boost-python/Makefile Tue Feb 05 22:58:00 2008 +0000
+++ b/devel/boost-python/Makefile Tue Feb 05 22:59:05 2008 +0000
@@ -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
diff -r 9f9c3d27cd01 -r 205db6921c7e sysutils/hcidump/Makefile
--- a/sysutils/hcidump/Makefile Tue Feb 05 22:58:00 2008 +0000
+++ b/sysutils/hcidump/Makefile Tue Feb 05 22:59:05 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/12/30 14:25:13 obache Exp $
+# $NetBSD: Makefile,v 1.4 2008/02/05 23:47:18 heinz Exp $
DISTNAME= hcidump-1.5.1
CATEGORIES= sysutils
@@ -7,11 +7,17 @@
MAINTAINER= plunky%rya-online.net@localhost
COMMENT= Bluetooth traffic dumper, similar to tcpdump
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= NetBSD-[4-9].*-* \
NetBSD-3.99.[2-9][0-9]-*
WRKSRC= ${WRKDIR}/hcidump
+INSTALL_MAKE_FLAGS+= LIBOWN=${LIBOWN} LIBGRP=${LIBGRP} LIBMODE=${LIBMODE}
+INSTALL_MAKE_FLAGS+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
+INSTALL_MAKE_FLAGS+= MANOWN=${MANOWN} MANGRP=${MANGRP} MANMODE=${MANMODE}
+
INSTALLATION_DIRS+= ${PKGMANDIR}/cat1
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
INSTALLATION_DIRS+= lib
Home |
Main Index |
Thread Index |
Old Index