Subject: Re: advertising PKG_PATH better
To: Hubert Feyrer <>
From: None <>
List: tech-pkg
Date: 04/09/2001 17:18:24
>> 	do people think it a good thing to have?
>> 	(we may want to use some nroff macro in place of "1.5")
>It's good, but it should contain a bit more examples
> * pkg_add /usr/pkgsrc/packages/All/tcsh-6.10.00.tgz
> * pkg_add -v /usr/pkgsrc/packages/All/unzip

	fine I will.

> * pkg_add -v

	did pkg_add pull dependencies from in this case?
	i'm not too sure about the behavior in this case.


Index: pkg_add.1
RCS file: /cvsroot/basesrc/usr.sbin/pkg_install/add/pkg_add.1,v
retrieving revision 1.25
diff -u -r1.25 pkg_add.1
--- pkg_add.1	2001/03/20 19:43:36	1.25
+++ pkg_add.1	2001/04/09 08:18:14
@@ -397,6 +397,38 @@
 Staging directory for installing packages, defaults to /tmp.
 Set to directory with lots of free disk if you run out of
 space when installing a binary package.
+You can specify a compiled binary package explicitly on the command line.
+.Bd -literal
+# pkg_add /usr/pkgsrc/packages/All/tcsh-6.10.00.tgz
+If you omit the version number,
+will install the latest version available.
+.Fl v ,
+emits more messages to terminal.
+.Bd -literal
+# pkg_add -v /usr/pkgsrc/packages/All/unzip
+You can grab a compiled binary package from remote location, by specifying
+an URL.
+.\" XXX dependency?
+.Bd -literal
+# pkg_add -v
+The following example fetches and installs compiled binary package for mozilla,
+using the latest version available, with all dependencies considered,
+directly from
+.Li .
+.Bd -literal
+# export PKG_PATH=
+# pkg_add -v mozilla
 .Xr pkg_admin 1 ,
 .Xr pkg_create 1 ,