# -*- 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                    unsort
version                 0.5
categories              textproc
license                 GPL-2
platforms               darwin
maintainers             nomaintainer

description             randomize the lines from a textfile
long_description        ${description}

homepage                https://www.vanheusden.com/unsort/
master_sites            ${homepage}

extract.suffix          .tgz

checksums               md5     7e0002f391288756536a890ad8f05292

patchfiles              patch-Makefile

post-patch {
    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
}

use_configure           no

variant universal {}

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