# $Id: Portfile,v 1.1 2004/10/30 17:03:06 mww Exp $

PortSystem 1.0

name            sleuthkit
version         1.72
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       md5 152fda4cc80696a9f6be9d7ce619ef31
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
	xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYING LICENSE TODO.txt \
		INSTALL.txt README.txt docs/nsrl.txt docs/other.txt docs/ref_fs.txt \
		docs/ref_timeline.txt docs/skins_fat.txt docs/skins_ntfs.txt \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/tct.docs CHANGES.FROM.TCT \
		additional-resources help-when-broken-into README bibliography \
		README.FIRST help-recovering-file \
		${destroot}${prefix}/share/doc/${name}/tct_docs
	xinstall -m 755 -W ${worksrcpath}/bin/ dcalc dls file_sk ffind fls hfind \
		ifind istat md5 sha1 sstrings dcat dstat fsstat icat ils mactime mmls \
		sorter ${destroot}${prefix}/bin
	xinstall -m 644 -W ${worksrcpath}/man/man1 dcalc.1 dcat.1 dls.1 dstat.1 \
		ffind.1 file_sk.1 fls.1 fsstat.1 hfind.1 icat.1 ifind.1 ils.1 istat.1 \
		mactime.1 mmls.1 sorter.1 ${destroot}${prefix}/share/man/man1/
}
