summaryrefslogtreecommitdiff
path: root/pkgtools/libkver
diff options
context:
space:
mode:
authorseb <seb>2005-11-07 22:30:13 +0000
committerseb <seb>2005-11-07 22:30:13 +0000
commit6a0fa04d924a63c44753d08e2fefa79728fce154 (patch)
treea75090bb8e00a7c5b7c75d790a82c3256ef1523a /pkgtools/libkver
parent420fed6ce95712ea4f519bdb221d4774ff3d4e9c (diff)
downloadpkgsrc-6a0fa04d924a63c44753d08e2fefa79728fce154.tar.gz
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 (limited to 'pkgtools/libkver')
-rw-r--r--pkgtools/libkver/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile
index 27c2f54cc91..5a91814650c 100644
--- a/pkgtools/libkver/Makefile
+++ b/pkgtools/libkver/Makefile
@@ -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 @@ INSTALLATION_DIRS+= sbin
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"