# Created by: Pieter Danhieux # $FreeBSD$ PORTNAME= sleuthkit PORTVERSION= 4.1.0 CATEGORIES= sysutils security MASTER_SITES= SF MAINTAINER= antoine@FreeBSD.org COMMENT= Tools and library for filesystem forensic analysis RUN_DEPENDS= p5-DateTime-TimeZone>=0:${PORTSDIR}/devel/p5-DateTime-TimeZone \ exif:${PORTSDIR}/graphics/exif CONFLICTS= ja-ls-[0-9]* icat-[0-9]* GNU_CONFIGURE= yes USE_PERL5= yes USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/tsk CPPFLAGS+= -I${LOCALBASE}/include PORTDOCS= NEWS.txt README.txt MAN1= blkcalc.1 blkcat.1 blkls.1 \ blkstat.1 ffind.1 fls.1 fsstat.1 hfind.1 icat.1 ifind.1 \ ils.1 img_cat.1 img_stat.1 istat.1 jcat.1 jls.1 mactime.1 \ mmls.1 mmstat.1 mmcat.1 sigfind.1 sorter.1 \ tsk_comparedir.1 tsk_gettimes.1 tsk_loaddb.1 tsk_recover.1 OPTIONS_DEFINE= DOCS LIBEWF LIBEWF_DESC= Build with EWF support OPTIONS_DEFAULT=LIBEWF .include .if ${PORT_OPTIONS:MLIBEWF} LIB_DEPENDS+= ewf:${PORTSDIR}/devel/libewf CONFIGURE_ARGS+= --with-libewf=${LOCALBASE} .else CONFIGURE_ARGS+= --without-libewf .endif post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include