diff options
author | antoine <antoine@FreeBSD.org> | 2013-08-03 17:24:26 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-08-03 17:24:26 +0800 |
commit | fa4d8c80f6aff3411ce56695cff0abcaa39d5c55 (patch) | |
tree | d5213837458ed48434c3005e85d87b5b194f830e | |
parent | 3945246fc3e24984f781db6972fd24d1dca62299 (diff) | |
download | freebsd-ports-gnome-fa4d8c80f6aff3411ce56695cff0abcaa39d5c55.tar.gz freebsd-ports-gnome-fa4d8c80f6aff3411ce56695cff0abcaa39d5c55.tar.zst freebsd-ports-gnome-fa4d8c80f6aff3411ce56695cff0abcaa39d5c55.zip |
Convert sleuthkit to USES=perl5 and new option helpers
-rw-r--r-- | sysutils/sleuthkit/Makefile | 13 |
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} |