summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2005-11-07 22:30:13 +0000
committerseb <seb@pkgsrc.org>2005-11-07 22:30:13 +0000
commit35e292fda09b2c62fd3f12dc3333a4c5d7117e55 (patch)
treea75090bb8e00a7c5b7c75d790a82c3256ef1523a /pkgtools
parent19fb9dddc88c260d18dc6ea4b4cccd625bd7a5b7 (diff)
downloadpkgsrc-35e292fda09b2c62fd3f12dc3333a4c5d7117e55.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')
-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"