Subject: Re: advertising PKG_PATH better
To: None <itojun@iijlab.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 04/09/2001 09:30:39
On Mon, 9 Apr 2001 itojun@iijlab.net wrote:
> 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
* pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/mozilla-0.8.1.tgz
* your example (with lower case 'Mozilla'!)
- Hubert
>
> itojun
>
>
> 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 02:29:06
> @@ -397,6 +397,14 @@
> 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.
> +.Sh EXAMPLES
> +The following example fetches and installs compiled binary package for Mozilla,
> +directly from
> +.Li ftp.netbsd.org .
> +.Bd -literal
> +# export PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All
> +# pkg_add -v Mozilla
> +.Ed
> .Sh SEE ALSO
> .Xr pkg_admin 1 ,
> .Xr pkg_create 1 ,
>
--
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>