Bring in Matthias Schmidt's nice little pkg_search script.
[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.1 2007/12/04 18:24:18 dillon Exp $
28 .\" 
29 .Dd March 12, 2006
30 .Dt PKG_SEARCH 1
31 .Os
32 .Sh NAME
33 .Nm pkg_search
34 .Nd "pkg_search command manual page"
35 .Sh SYNOPSIS
36 .Nm
37 .Op Fl ik
38 .Ar name
39 .Sh DESCRIPTION
40 .Nm
41 querys the appropriate database file on FreeBSD, DragonFlyBSD and NetBSD for a 
42 given package name.
43 .Pp
44 The options are as follows:
45 .Bl -tag -width ".Fl d Ar argument"
46 .It Fl i
47 Print verbose information (Ports directory, URL, depencies)
48 .It Fl k
49 Also query the Info and WWW field.
50 .It Ar name
51 Required package
52 .Ar name .
53 .El
54 .Sh EXAMPLES
55 The following is an example of a typical usage
56 of the
57 .Nm
58 command:
59 .Pp
60 .Dl "pkg_search -i fvwm2"
61 .Sh SEE ALSO
62 .Xr pkg_add 1 ,
63 .Xr pkg_create 1 ,
64 .Xr pkg_delete 1 ,
65 .Xr pkg_info 1
66 .Sh AUTHORS
67 .Nm
68 was written by
69 .An Matthias Schmidt Aq schmidtm@mathematik.uni-marburg.de .