# -*- 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 83385 2011-08-31 01:52:26Z dports@macports.org $

PortSystem              1.0

name                    dosmacux
version                 1.5
revision                1
categories              textproc
platforms               darwin
maintainers             ryandesign
license                 public-domain
use_bzip2               yes
use_parallel_build      yes
homepage                http://www.math.utah.edu/pub/dosmacux/

master_sites \
    ${homepage} \
    ftp://ftp.math.utah.edu/pub/misc/

checksums \
    md5 4c37a5fa90a4598f109e36047e3a9010 \
    sha1 37344520373639cd7a9fb69465114218044ff7b0 \
    rmd160 dc87032458df1106a48df6dc017138202c886f45

description \
    convert text file line endings between DOS, Mac and UNIX standards

long_description \
    ${name} provides six utilities for converting text file end-of-line \
    characters from one operating system convention to another, while \
    retaining file time stamps.

configure.args \
    --mandir=${prefix}/share/man

test.run                yes
test.target             check

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -W ${worksrcpath} -m 0644 \
        AUTHORS \
        COPYING \
        ChangeLog \
        NEWS \
        README \
        ${docdir}
}

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
