Portfile

# $Id: Portfile 20471 2006-11-03 15:27:05Z blair@macports.org $

PortSystem 1.0

name sleuthkit
version 2.04
categories sysutils
maintainers md@hudora.de
platforms darwin
description Forensic toolkit
long_description The Sleuth Kit (previously known as TASK) is a collection \
of UNIX-based command line file system and media management forensic \
analysis tools. The file system tools allow you to examine file systems of \
a suspect computer in a non-intrusive fashion. Because the tools do not \
rely on the operating system to process the file systems, deleted and \
hidden content is shown. \
The media management tools allow you to examine the layout of disks and \
other media. The Sleuth Kit supports DOS partitions, BSD partitions (disk \
labels), Mac partitions, Sun slices (Volume Table of Contents), and GPT \
disks. With these tools, you can identify where partitions are located and \
extract them so that they can be analyzed with file system analysis tools.
master_sites sourceforge
homepage http://www.sleuthkit.org/sleuthkit/
checksums sha1 852c8d9ac1755f22d121e1e830f2bff3520a64da\
md5 abb1511e2ec53c6d34d745a348c94b33
use_configure no

destroot {
cd ${worksrcpath}
file rename bin/file bin/file_sk
file rename man/man1/file.1 man/man1/file_sk.1

xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/tct_docs

eval xinstall [glob ${worksrcpath}/docs/*] \
${destroot}${prefix}/share/doc/${name}

xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \
${destroot}${prefix}/share/doc/${name}

eval xinstall -m 644 [glob ${worksrcpath}/tct.docs/*] \
${destroot}${prefix}/share/doc/${name}/tct_docs

xinstall -m 755 -d ${destroot}${prefix}/bin
eval xinstall -m 755 [glob ${worksrcpath}/bin/*] \
${destroot}${prefix}/bin

xinstall -m 755 -d ${destroot}${prefix}/man/man1
eval xinstall -m 644 [glob ${worksrcpath}/man/man1/*] \
${destroot}${prefix}/share/man/man1/

xinstall -m 755 -d ${destroot}${prefix}/man/man3
eval xinstall -m 644 [glob ${worksrcpath}/man/man3/*] \
${destroot}${prefix}/share/man/man3/

xinstall -m 755 -d ${destroot}${prefix}/man/man4
eval xinstall -m 644 [glob ${worksrcpath}/man/man4/*] \
${destroot}${prefix}/share/man/man4/
}