diff options
Diffstat (limited to 'usr.sbin/pkg_add/pkg_add.1')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add.1 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1 index 93b81faf99a..d0aca48181a 100644 --- a/usr.sbin/pkg_add/pkg_add.1 +++ b/usr.sbin/pkg_add/pkg_add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_add.1,v 1.11 2004/01/28 22:12:01 espie Exp $ +.\" $OpenBSD: pkg_add.1,v 1.12 2004/02/20 19:13:51 espie Exp $ .\" .\" FreeBSD install - a package for the installation and maintenance .\" of non-core utilities. @@ -26,6 +26,7 @@ .Sh SYNOPSIS .Nm pkg_add .Op Fl Inv +.Op Fl B Ar pkg-destdir .Op Fl f Ar keys .Op Fl L Ar localbase .Ar pkg-name Op Ar ... @@ -120,6 +121,10 @@ If an installation script exists for a given package, do not execute it. .It Fl n Don't actually install a package, just report the steps that would be taken if it was. +.It Fl B Ar pkg-destdir +Set +.Ar pkg-destdir +as the prefix to prepend to any object extracted from the package. .It Fl f Ar keys Force installation of the package. .Ar keys @@ -300,7 +305,7 @@ through as it will safely record an interrupted install as .Pa borked.n . .Sh ENVIRONMENT -.Bl -tag -width PKG_TMPDIR +.Bl -tag -width PKG_DESTDIR .It Ev PKG_PATH If a given package name cannot be found, the directories named by @@ -315,6 +320,17 @@ period .It Ev PKG_DBDIR Where to register packages instead of .Pa /var/db/pkg . +.It Ev PKG_DESTDIR +Value for +.Ar pkg-destdir , +if no +.Fl B +option is specified; +value passed to any +.Cm INSTALL +or +.Cm REQUIRE +script invoked from the package. .It Ev PKG_TMPDIR Temporary area where package information files will be extracted, instead of .Pa /var/tmp . |