Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / usr.bin / pkg_search / pkg_search.1
1 .\"-
2 .\" Copyright (c) 2006 Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
3 .\"
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions are met:
8 .\"
9 .\" - Redistributions of source code must retain the above copyright notice,
10 .\"   this list of conditions and the following disclaimer.
11 .\" - Redistributions in binary form must reproduce the above copyright notice,
12 .\"   this list of conditions and the following disclaimer in the documentation
13 .\"   and/or other materials provided with the distribution.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
19 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 .\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23 .\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 .\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 .\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 .\"
27 .\" $DragonFly: src/usr.bin/pkg_search/pkg_search.1,v 1.3 2007/12/13 17:14:57 swildner Exp $
28 .\"
29 .Dd December 13, 2007
30 .Dt PKG_SEARCH 1
31 .Os
32 .Sh NAME
33 .Nm pkg_search
34 .Nd print information about a package
35 .Sh SYNOPSIS
36 .Nm
37 .Op Fl k | v
38 .Ar package
39 .Sh DESCRIPTION
40 .Nm
41 queries the
42 .Xr pkgsrc 7
43 index for a given
44 .Ar package .
45 .Pp
46 The options are as follows:
47 .Bl -tag -width indent
48 .It Fl k
49 Also query the Info and WWW field.
50 .It Fl v
51 Print verbose information (Ports directory, URL, depencies)
52 .El
53 .Sh EXAMPLES
54 The following is an example of a typical usage
55 of the
56 .Nm
57 command:
58 .Pp
59 .Dl "pkg_search -v fvwm2"
60 .Sh SEE ALSO
61 .Xr pkg_add 1 ,
62 .Xr pkg_create 1 ,
63 .Xr pkg_delete 1 ,
64 .Xr pkg_info 1 ,
65 .Xr pkgsrc 7
66 .Sh AUTHORS
67 .Nm
68 was written by
69 .An Matthias Schmidt Aq schmidtm@mathematik.uni-marburg.de .