# $Id: Portfile 64536 2010-03-08 13:05:33Z rmsfisher@macports.org $

PortSystem 1.0
name            hexedit
version         1.2.12
description     A hexeditor for the console.
long_description \
    view and edit files in hexadecimal or in ASCII. hexedit shows a file\
    both in ASCII and in hexadecimal. The file can be a device as the   \
    file is not whole read. You can modify the file and search through  \
    it. You have also copy&paste and save to file functions. Truncating \
    or appending to the file. Modifications are shown in bold.

categories      sysutils
platforms       darwin linux sunos
maintainers     korseby.net:kristian.peters
homepage        http://merd.sourceforge.net/pixel/hexedit.html
master_sites    http://merd.net/pixel \
                http://merd.sourceforge.net/pixel\
                http://www.chez.com/prigaux
distname        ${name}-${version}.src
extract.suffix  .tgz
worksrcdir      ${name}
checksums       md5 0d2f48610006278cd93359fea9a06d5c \
                sha1 fee89e390945045fe6b74b5f07600a8e664c8b21 \
                rmd160 76f30d62e5c4b18fdba60cf7852641ba2b547dbb
configure.args  --mandir=${prefix}/share/man
patchfiles      patch-Makefile.in
post-configure {
    reinplace "s|-lcurses|-lncurses|g" ${worksrcpath}/Makefile
}
depends_lib     port:ncurses

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*).src${extract.suffix}"
