# $Id: Portfile 106554 2013-05-30 23:03:55Z cal@macports.org $

PortSystem 1.0

name                dwdiff
version             2.0.4
revision            1
categories          textproc
platforms           darwin
maintainers         mww
license             GPL-3
description         diff program that operates at the word level
long_description    \
    dwdiff is a front-end for the diff program that operates at the word level \
    instead of the line level. It is different from wdiff in that it allows \
    the user to specify what should be considered whitespace, and in that it \
    takes an optional list of characters that should be considered delimiters. \
    Delimiters are single characters that are treated as if they are words, \
    even when there is no whitespace separating them from preceding words or \
    delimiters. dwdiff is mostly commandline compatible with wdiff. Only the \
    --autopager, --terminal and --avoid-wraps options are not supported.

homepage            http://os.ghalkes.nl/dwdiff.html
master_sites        http://os.ghalkes.nl/dist/

checksums           rmd160  13483a53c4bd2035eed4d04cd0e95f5099b6e9c4 \
                    sha256  0e467dbb2cc52d81f3e070adab823ac2a9170cac1910bc02bb8edec3f75e0b3d

extract.suffix      .tgz

depends_lib         port:gettext port:icu

configure.cflags-append ${configure.cppflags}

configure.universal_args-delete --disable-dependency-tracking

destroot.args       docdir=${prefix}/share/doc/${name}

livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
