aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-01-03 23:40:11 +0800
committerrm <rm@FreeBSD.org>2013-01-03 23:40:11 +0800
commit7872ae4f17a8fa3ac970bb5a136aece2e7b47a18 (patch)
treea73c9388a5c10d5416940500408bc8fdaff6569b /sysutils
parent78acad076855e038380b181eeab6379422ff0743 (diff)
downloadfreebsd-ports-gnome-7872ae4f17a8fa3ac970bb5a136aece2e7b47a18.tar.gz
freebsd-ports-gnome-7872ae4f17a8fa3ac970bb5a136aece2e7b47a18.tar.zst
freebsd-ports-gnome-7872ae4f17a8fa3ac970bb5a136aece2e7b47a18.zip
- register optional dependency on libewf (default on)
- convert to optionsng (PORTDOCS case) - bump PORTREVISION - pass maintainership to submitter PR: 174700 Submitted by: antoine
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sleuthkit/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/sysutils/sleuthkit/Makefile b/sysutils/sleuthkit/Makefile
index b3be354ef863..21045301d786 100644
--- a/sysutils/sleuthkit/Makefile
+++ b/sysutils/sleuthkit/Makefile
@@ -3,11 +3,11 @@
PORTNAME= sleuthkit
PORTVERSION= 4.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils security
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= antoine@FreeBSD.org
COMMENT= Tools and library for filesystem forensic analysis
RUN_DEPENDS= p5-DateTime-TimeZone>=0:${PORTSDIR}/devel/p5-DateTime-TimeZone
@@ -26,8 +26,21 @@ MAN1= blkcalc.1 blkcat.1 blkls.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 <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MLIBEWF}
+LIB_DEPENDS+= ewf:${PORTSDIR}/devel/libewf
+CONFIGURE_ARGS+= --with-libewf=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-libewf
+.endif
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif