# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        sleuthkit sleuthkit 4.13.0 sleuthkit-
github.tarball_from releases
revision            0

checksums           rmd160  24e3e5fcd0aee2dea4773234f026dc093dc8e6f6 \
                    sha256  f1490de8487df8708a4287c0d03bf0cb2153a799db98c584ab60def5c55c68f2 \
                    size    4575895

categories          sysutils
maintainers         nomaintainer
homepage            https://www.sleuthkit.org/sleuthkit/
license             {cpl ibmpl}
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.

compiler.cxx_standard 2014

depends_build-append \
                    port:autoconf \
                    port:automake \
                    port:file \
                    port:libtool

depends_lib-append  port:afflib \
                    port:libewf \
                    path:lib/libssl.dylib:openssl \
                    port:sqlite3 \
                    port:zlib

# for the 'sorter' script:
depends_run-append  port:perl5

configure.args      --disable-java