# -*- 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                    dosmacux
version                 1.5
revision                1
checksums               rmd160  dc87032458df1106a48df6dc017138202c886f45 \
                        sha256  b948df6068af40f3a9f403a1fda20db49b098a26afdda163aa46e6ad3f15f080 \
                        size    74613

categories              textproc
platforms               darwin
maintainers             {ryandesign @ryandesign} openmaintainer
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/

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.

patchfiles              implicit.patch

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
