PORTCVSWEB(1)

NAME
portcvsweb - a tool to instantly browse a history via CVSweb

SYNOPSIS
portcvsweb [-hqv] [pkgname_glob | ports_glob | file | directory | cvs_module_alias | dead port]

DESCRIPTION
The portcvsweb command invokes the first available web browser in w3m, lynx, links, mozilla and netscape (or the ones listed in BROWSER if set) to view the CVS history of a given port, file, directory, or module via the CVSweb. If no file is given, the current directory is assumed.

To detect which repository the file/directory belongs and what revision it is, portcvsweb reads the CVS/* files if found, or scans the given file for a CVS tag. If the file does not contain a CVS tag, it scans the Makefile in the directory. If yet there is no Makefile in the directory, it moves up through the directory hierarchy until it finds one.

If the given path doesn't exist in the first place, portcvsweb assumes it should be under the ports tree, which assumption allows specifying a deleted ports directory/file.

Currently portcvsweb recognizes FreeBSD, NetBSD and OpenBSD tags, and the one whichever comes first is used.

OPTIONS
The following command line arguments are supported:

pkgname_glob
portorigin_glob
    Pick the first port that matched the given pattern. See pkg_glob(1) and portorigin_glob(1) for details and concrete examples.

file
directory
    Pick the file or the directory if it exists.
cvs_module_alias
dead port
    recognizes these too.

-h
--help
    Show help and exit.

-q
--noconfig
    Do not read the configuration file - $PREFIX/etc/pkgtools.conf.

-v
--verbose
    Turn on verbose output.

ENVIRONMENT
BROWSER
    Alternative WWW browser. Default is “w3m:lynx:links:mozilla:netscape”.

SEE ALSO
pkgtools.conf(5), ports(7)

AUTHORS
Akinori MUSHA <knu@iDaemons.org>

BUGS
Since a NetBSD or OpenBSD tag does not contain a path component, when portcvsweb detects a NetBSD or OpenBSD tag but there is no CVS/* files in the directory, it assumes that it belongs to NetBSD pkgsrc or OpenBSD ports.