source: trunk/dports/sysutils/sortu/Portfile

Last change on this file was 99643, checked in by singingwolfboy@…, 5 years ago

Dropped maintainership on all my ports

I'm moving to homebrew, and I haven't actually touched most of these in ages, anyway

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 99643 2012-11-13 04:26:02Z $
4PortSystem          1.0
6name                sortu
7categories          sysutils
8version             2.1.2
9platforms           darwin
10license             ISC
11maintainers         nomaintainer
13description         sort-unique
14long_description    \
15    The sortu program is a replacement for the sort and uniq programs. It is \
16    common for Unix script writers to want to count how many separate patterns \
17    are in a file. For example, if you have a list of addresses, you may want to \
18    see how many are from each state. So you cut out the state part, sort these, \
19    and then pass them through uniq -c. Sortu does all this for you in a fraction \
20    of the time. \n\n\
21    \
22    Sortu uses a hash table and some decent line processing to provide this \
23    functionality. For a relatively small number of keys, it can be significantly \
24    smaller than using sort, because it does not have to keep temporary files. \
25    If you are dealing with a large number of unique keys then sortu will run \
26    out of memory and stop. Sortu has some basic field and delimiter handling \
27    which should do most basic awk or cut features to separate out the field that \
28    you are sorting on.
32extract.suffix      .tgz
33use_configure       no
35checksums           rmd160  7505634f0e70e4004205437f4b5ddb8e962a22b9 \
36                    sha256  eb42c4bc314996db27e0db7d7f04432ddf6ce2f34a316b1d3f2c4ba89c165ead
38variant universal {}
40build.args          CC="${} [get_canonical_archflags]"
42destroot {
43    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
44    set docdir ${destroot}${prefix}/share/doc/${name}
45    xinstall -d ${docdir}
46    xinstall -m 644 -W ${worksrcpath} \
47        README.txt \
48        ChangeLog \
49        ${docdir}
Note: See TracBrowser for help on using the repository browser.