a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name bdump
version 3.5
categories sysutils
platforms darwin
maintainers nomaintainer@macports.org
description allows viwing hex and ASCII formats side by side
long_description \
A replacement for od for viewing binary files. Allows viewing hex \
and ASCII formats side by side.
homepage http://www.braham.net/Phil/linux_utils.html
master_sites http://www.braham.net/Phil/Linux_utils/bdump/
distname ${name}
checksums md5 df6d2abbd7179fddef660f1b85ff4a7d
use_zip yes
worksrcdir
use_configure no
build {
system "cd ${worksrcpath} && cc bdump.c -o bdump"
}
destroot {
xinstall -m 755 ${worksrcpath}/bdump ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}