PKG_MICRO_SRC_SUMMARY(1)

NAME
pkg_micro_src_summary - build micro summary for source packages

SYNOPSIS
pkg_micro_src_summary [OPTIONS] [category1/pkg1 category2/pkg2 ...]

DESCRIPTION
pkg_micro_src_summary builds micro summary information about source packages specified in arguments or read from stdin (one package per line). The word micro means that only PKGNAME and PKGPATH fields (by default) are generated. Format of this summary is the same as used in pkg_summary(5) built from binary packages. The main advantage of this utility is that is works DRAMMATICALLY faster than pkg_src_summary(1) in most cases. This is possible because special hack is used (only when it is possible!) to fetch variables values instead of running make. And for ~90% of all packages (pkgsrc + wip) it is possible to use this hack and fallback to make for other ~10%. As a result pkg_micro_src_summary works approximately 10 times faster than using make for all packages.

OPTIONS

-h  display help message

-f fields
    A list of fields (separated by space character) to be generated. By default the following fields are generated: PKGNAME, PKGPATH. Fields here are actually Makefile's variable names and should be fetchable by pkg_src_fetch_var from Makefile itself, for example, COMMENT, MAINTAINER etc., but not PLIST, DESCRIPTION, GZIP_CMD or similar.

ENVIRONMENT

PKGSRCDIR
    pkgsrc root directory

BMAKE
    path to pkgsrc friendly make utility

TMPDIR
    Directory for temporary files, by default /tmp is used.

EXAMPLES
pkg_micro_src_summary wip/dict-server wip/dict-mueller7 x11/xxkb printf 'wip/dict-server\ntextproc/dictem\n' | pkg_micro_src_summary

SEE ALSO
pkg_summary-utils(7), pkg_src_summary(1)

AUTHOR
Aleksey Cheusov <vle@gmx.net>