svn commit: r324183 - head/sysutils/sleuthkit
Antoine Brodin
antoine at FreeBSD.org
Sat Aug 3 09:24:27 UTC 2013
Author: antoine
Date: Sat Aug 3 09:24:26 2013
New Revision: 324183
URL: http://svnweb.freebsd.org/changeset/ports/324183
Log:
Convert sleuthkit to USES=perl5 and new option helpers
Modified:
head/sysutils/sleuthkit/Makefile
Modified: head/sysutils/sleuthkit/Makefile
==============================================================================
--- head/sysutils/sleuthkit/Makefile Sat Aug 3 09:23:18 2013 (r324182)
+++ head/sysutils/sleuthkit/Makefile Sat Aug 3 09:24:26 2013 (r324183)
@@ -15,7 +15,7 @@ RUN_DEPENDS= p5-DateTime-TimeZone>=0:${P
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}
More information about the svn-ports-head
mailing list