a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20467 2006-11-03 15:23:12Z blair@macports.org $
PortSystem 1.0
name foremost
version 0.69
categories sysutils
maintainers md@hudora.de
platforms darwin
description a console program to recover files based on their headers and footers.
long_description Foremost is a console program to recover files based on \
their headers and footers. Foremost can work on image files, such as those \
generated by dd, Safeback, Encase, etc, or directly on a drive. The headers \
and footers are specified by a configuration file, so you can pick and \
choose which headers you want to look for.
master_sites sourceforge
homepage http://foremost.sourceforge.net/
checksums md5 c52a0aa87180a5331f28acbb6563e9b2
patchfiles patch-Makefile patch-foremost.h
use_configure no
variant darwin {
build.target mac
}
destroot.destdir PREFIX=${destroot}${prefix}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} README CHANGES TODO \
${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} foremost.conf \
${destroot}${prefix}/etc/foremost.conf.sample
}