aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sleuthkit
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-08-03 09:24:26 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-08-03 09:24:26 +0000
commit8f5dd8ef5b17578dfd722083d62ac922f4a7d8d0 (patch)
treed5213837458ed48434c3005e85d87b5b194f830e /sysutils/sleuthkit
parent61ebf63b31e463bb47ee209b5d9f916611820003 (diff)
downloadports-8f5dd8ef5b17578dfd722083d62ac922f4a7d8d0.tar.gz
ports-8f5dd8ef5b17578dfd722083d62ac922f4a7d8d0.zip
Convert sleuthkit to USES=perl5 and new option helpers
Notes
Notes: svn path=/head/; revision=324183
Diffstat (limited to 'sysutils/sleuthkit')
-rw-r--r--sysutils/sleuthkit/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/sysutils/sleuthkit/Makefile b/sysutils/sleuthkit/Makefile
index 1374e0985975..4eb5db055749 100644
--- a/sysutils/sleuthkit/Makefile
+++ b/sysutils/sleuthkit/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= p5-DateTime-TimeZone>=0:${PORTSDIR}/devel/p5-DateTime-TimeZone \
CONFLICTS= ja-ls-[0-9]* icat-[0-9]*
GNU_CONFIGURE= yes
-USE_PERL5= yes
+USES= perl5
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/share/tsk
CPPFLAGS+= -I${LOCALBASE}/include
@@ -31,14 +31,11 @@ OPTIONS_DEFINE= DOCS LIBEWF
LIBEWF_DESC= Build with EWF support
OPTIONS_DEFAULT=LIBEWF
-.include <bsd.port.options.mk>
+LIBEWF_LIB_DEPENDS= libewf.so:${PORTSDIR}/devel/libewf
+LIBEWF_CONFIGURE_ON= --with-libewf=${LOCALBASE}
+LIBEWF_CONFIGURE_OFF= --without-libewf
-.if ${PORT_OPTIONS:MLIBEWF}
-LIB_DEPENDS+= ewf:${PORTSDIR}/devel/libewf
-CONFIGURE_ARGS+= --with-libewf=${LOCALBASE}
-.else
-CONFIGURE_ARGS+= --without-libewf
-.endif
+.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}