Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 09:24:26 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324183 - head/sysutils/sleuthkit
Message-ID:  <201308030924.r739OQbL054313@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308030924.r739OQbL054313>