# -*- 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

PortSystem          1.0

name                natsort
version             1.0.5
revision            1
categories          sysutils
maintainers         nomaintainer
license             Zlib

description         Martin Pool's Natural Order String Comparison Sorting Utility
long_description    natsort is a natural order string comparison sorting utility. Written by Martin Pool.
homepage            http://sourcefrog.net/projects/natsort/
platforms           darwin
master_sites        sourceforge

checksums           md5 1bc2d32c9c95595f3b67165ee370dade \
                    sha1 3843dd1dbb0c7f1c593f99c6706907d3d363b655

patchfiles          patch-Makefile.diff \
                    patch-natsort.c.diff

use_configure       no

variant universal {}

build.args          CC="${configure.cc} [get_canonical_archflags cc]"

destroot.args       BINDIR=${destroot}${prefix}/bin

livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
