# -*- 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
# $Id: Portfile 89028 2012-01-18 11:29:05Z ryandesign@macports.org $

PortSystem              1.0

name                    unsort
version                 0.5
categories              textproc
platforms               darwin
maintainers             nomaintainer

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

homepage                http://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]"
