pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libkver Add target 'standalone-install': inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37f20ffd90e8
branches:  trunk
changeset: 502653:37f20ffd90e8
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Nov 07 22:30:13 2005 +0000

description:
Add target 'standalone-install': install libkver in ${LIBKVER_STANDALONE_DIR},
defaults to /libkver, and register it there.

This is a convenient one-stop target to use libkver in a sandboxed bulk-build.
(hint for Julio ;)

diffstat:

 pkgtools/libkver/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 54fd67662a74 -r 37f20ffd90e8 pkgtools/libkver/Makefile
--- a/pkgtools/libkver/Makefile Mon Nov 07 22:09:38 2005 +0000
+++ b/pkgtools/libkver/Makefile Mon Nov 07 22:30:13 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/09/28 20:52:25 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2005/11/07 22:30:13 seb Exp $
 
 DISTNAME=              libkver-${VERSION}
 CATEGORIES=            pkgtools
@@ -46,4 +46,9 @@
 do-extract:
        @${CP} -R ${FILESDIR} ${WRKSRC}
 
+LIBKVER_STANDALONE_DIR?=       /libkver
+standalone-install:
+       ${MAKE} ${MAKEFLAGS} PKG_DBDIR=${LIBKVER_STANDALONE_DIR}/pkg    \
+         PREFIX=${LIBKVER_STANDALONE_DIR} install
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index