OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.
This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.
Approved by: portmgr (bapt)
- while here [2]
- use optionsNG for portdocs
- use portsdocs and plist files in favor of pkg-plist file
- remove unnecessary inclusion of bsd.port.pre.mk in favor of bsd.port.options.mk
PR: ports/169141
Submitted by: koobs.freebsd@gmail.com [1], jgh@ [2]
Approved by: maintainer, matt@peterson.org
common for Unix script writers to want to count how many separate patterns
are in a file. For example, if you have a list of addresses, you may want
to see how many are from each state. So you cut out the state part, sort
these, and then pass them through uniq -c. Sortu does all this for you in a
fraction of the time.
Sortu uses a hash table and some decent line processing to provide this
functionality. For a relatively small number of keys, it can be signifcantly
smaller than using sort, because it does not have to keep temporary files.
If you are dealing with a large number of unique keys then sortu will run out
of memory and stop. Sortu has some basic field and delimiter handling which
should do most basic awk or cut features to separate out the field that you
are sorting on.
WWW: http://256.com/sources/sortu/
PR: ports/121376
Submitted by: Matt Peterson <matt at peterson.org>
Approved by: tabthorpe (mentor)