# $Id: Portfile 92691 2012-05-03 23:52:23Z jmr@macports.org $

PortSystem 1.0

name        fhist
version     1.16
categories  sysutils textproc devel
maintainers nomaintainer
description FHist: file history, comparison and merging tools
homepage    http://fhist.sourceforge.net/
platforms   darwin

long_description    The FHist package contains 3 utilities, fhist (a file \
                    history tool that works on binary inputs), fcomp (a file \
                    comparison tool that can compare binary files \
                    byte-for-byte), and fmerge (a file merging tool).  All \
                    three are bundled together because they use the same \
                    minimal-difference algorithm.

master_sites    sourceforge

checksums   md5 b9ab632eace455b440e83910f62fea62 \
            sha1 ba58c0d1a64d4b3a81e48c57302f35d3a4e85c30 \
            rmd160 fab1fedab715728b4b31bbf33e4f714916758be8

depends_lib port:bison port:gettext port:cook

pre-configure {
    reinplace "s|\$(RPM_BUILD_ROOT)|${destroot}|g" \
        "${worksrcpath}/Makefile.in"
}

configure.cflags-append ${configure.cppflags} ${configure.ldflags}
configure.args          --mandir=${prefix}/share/man --infodir=${prefix}/share/info

use_parallel_build  no

test.run    yes
test.target sure

livecheck.type  sourceforge
