pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/boost-jam Package supports installation to DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ca325c02a90
branches:  trunk
changeset: 535896:7ca325c02a90
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Thu Nov 29 22:27:13 2007 +0000

description:
Package supports installation to DESTDIR.

diffstat:

 devel/boost-jam/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9878edbe69d2 -r 7ca325c02a90 devel/boost-jam/Makefile
--- a/devel/boost-jam/Makefile  Thu Nov 29 22:21:03 2007 +0000
+++ b/devel/boost-jam/Makefile  Thu Nov 29 22:27:13 2007 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/06/02 17:48:51 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2007/11/29 22:27:13 heinz Exp $
 #
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BOOST_PACKAGE=         jam
 BOOST_COMMENT=         (Boost.Jam utility)
 BOOST_CONFIG=          no
@@ -28,6 +30,6 @@
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/tools/build/jam_src/bin.*/bjam \
-           ${PREFIX}/bin
+           ${DESTDIR:Q}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index