# $Id: Portfile 57377 2009-09-10 08:23:42Z ryandesign@macports.org $

PortSystem              1.0

name                    hexdiff
version                 0.0.50
categories              textproc
platforms               darwin
maintainers             ryandesign

homepage                http://tboudet.free.fr/hexdiff/
master_sites            ${homepage}

distname                ${name}
dist_subdir             ${name}/${version}

description             displays differences between two binary files

long_description        Visuel Hexdiff is a curses-based application \
                        designed to make it easy to visually detect the \
                        differences between two binary files

checksums               md5     68dbf4c610f4fd1817401bcf6c671b71 \
                        sha1    a84948b1d8c26e5a8e14b1a2a6e18f4e05a69f2f \
                        rmd160  8d8dfd719e1329b9f5ecc3df7fedcf83024baea9

depends_lib             port:ncurses

patchfiles              patch-Makefile \
                        patch-sel_file.c

use_configure           no

build.args              COMP=${configure.cc} \
                        CFLAGS=${configure.cflags} \
                        CPPFLAGS=${configure.cppflags} \
                        LDFLAGS=${configure.ldflags}

destroot.args           OU_LE_METTRE=${destroot}${prefix}

livecheck.type          regex
livecheck.regex         ${name}.*\\.tar\[^>\]+>(\[0-9.\]+)
