# -*- 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                retail
version             1.0.2
revision            0
categories          textproc
platforms           darwin
maintainers         {mps @Schamschula} openmaintainer
license             GPL-2+

description         Re-Tail is a command line program which is intended as an \
                    intelligent incremental logfile reader.

long_description    Re-Tail is a command line program which is intended as an \
                    intelligent incremental logfile reader. It will read a file or \
                    group of files given on the command line, and output any changes \
                    since last time it read the file(s) in question. It will attempt \
                    to compensate if the filesize changes unexpectedly, and will also \
                    attempt to compensate if the file contents changes as well. It is \
                    not a very complex program.

homepage            http://xjack.org/retail/
master_sites        ${homepage}download/

checksums           rmd160  68e8e46904eda68466beadb24a566d4314299d5d \
                    sha256  e5795a3ef1464e1dfe1930d29abcf142f724d428cf3c4081b8fe048b262723e6 \
                    size    63180

patchfiles          patch-src-Makefile.in.diff

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

build.target        default

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        COPYING \
        CREDITS \
        ChangeLog \
        README \
        TODO \
        ${destroot}${docdir}
}
