cbdcd82e14badbccbbf1eecec756488741cdfa38
[dragonfly.git] / usr.bin / pkg_search / pkg_search.1
1 .\"-
2 .\" Copyright (c) 2007 The DragonFly Project.  All rights reserved.
3 .\" 
4 .\" This code is derived from software contributed to The DragonFly Project
5 .\" by Matthias Schmidt <matthias@dragonflybsd.org>, University of Marburg.
6 .\" 
7 .\" All rights reserved.
8 .\"
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions are met:
11 .\"
12 .\" - Redistributions of source code must retain the above copyright notice,
13 .\"   this list of conditions and the following disclaimer.
14 .\" - Redistributions in binary form must reproduce the above copyright notice,
15 .\"   this list of conditions and the following disclaimer in the documentation
16 .\"   and/or other materials provided with the distribution.
17 .\" - Neither the name of The DragonFly Project nor the names of its
18 .\"   contributors may be used to endorse or promote products derived
19 .\"   from this software without specific, prior written permission.
20 .\"
21 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
25 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27 .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28 .\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29 .\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30 .\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31 .\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 .\"
33 .\" $DragonFly: src/usr.bin/pkg_search/pkg_search.1,v 1.7 2008/01/03 18:16:17 swildner Exp $
34 .\"
35 .Dd January 3, 2008
36 .Dt PKG_SEARCH 1
37 .Os
38 .Sh NAME
39 .Nm pkg_search
40 .Nd print information about a package
41 .Sh SYNOPSIS
42 .Nm
43 .Op Fl k | v
44 .Ar package
45 .Sh DESCRIPTION
46 .Nm
47 queries the
48 .Xr pkgsrc 7
49 index for a given
50 .Ar package .
51 If the
52 .Xr pkgsrc 7
53 index is not available
54 .Nm
55 fetches the
56 .Xr pkg_summary 5
57 file.
58 This file contains information about each package in a binary repository.
59 .Pp
60 The options are as follows:
61 .Bl -tag -width indent
62 .It Fl k
63 Also query the Info and WWW field.
64 .It Fl v
65 Print verbose information (Ports directory, URL, depencies)
66 .El
67 .Sh EXAMPLES
68 The following is an example of a typical usage
69 of the
70 .Nm
71 command:
72 .Pp
73 .Dl "pkg_search -v fvwm2"
74 .Sh SEE ALSO
75 .Xr pkg_add 1 ,
76 .Xr pkg_create 1 ,
77 .Xr pkg_delete 1 ,
78 .Xr pkg_info 1 ,
79 .Xr pkg_summary 5 ,
80 .Xr pkgsrc 7
81 .Sh AUTHORS
82 .Nm
83 was written by
84 .An Matthias Schmidt Aq matthias@dragonflybsd.org .
85 .Sh HISTORY
86 The
87 .Nm
88 utility first appeared in
89 .Dx 1.11 .
90