diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-05 22:59:05 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-05 22:59:05 +0000 |
commit | fdf62217db3457c4814e15f4245e5d6f215fa480 (patch) | |
tree | d6a80c1d519bf33ceca81e3a9a818e525958511e | |
parent | c7a22b4ae9cdb023c63c579233da26db01073da2 (diff) | |
download | pkgsrc-fdf62217db3457c4814e15f4245e5d6f215fa480.tar.gz |
Added support for installation to DESTDIR.
-rw-r--r-- | devel/boost-docs/Makefile | 12 | ||||
-rw-r--r-- | devel/boost-headers/Makefile | 8 | ||||
-rw-r--r-- | devel/boost-libs/Makefile | 4 | ||||
-rw-r--r-- | devel/boost-python/Makefile | 4 | ||||
-rw-r--r-- | sysutils/hcidump/Makefile | 8 |
5 files changed, 25 insertions, 11 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 diff --git a/sysutils/hcidump/Makefile b/sysutils/hcidump/Makefile index 2cef5dfb566..eec56e32662 100644 --- a/sysutils/hcidump/Makefile +++ b/sysutils/hcidump/Makefile @@ -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 @@ MASTER_SITES= http://www.geocities.com/m_evmenkin/ MAINTAINER= plunky@rya-online.net 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 |