head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2018.05.08.07.47.44;	author maya;	state dead;
branches;
next	1.1;
commitid	yKp6oMp7GMYMXsBA;

1.1
date	2018.05.05.23.58.26;	author maya;	state Exp;
branches;
next	;
commitid	KdgTXG1uccQIqaBA;


desc
@@


1.2
log
@Remove ripgrep. to be moved to textproc, like grep.
@
text
@# $NetBSD: Makefile,v 1.1 2018/05/05 23:58:26 maya Exp $

GITHUB_PROJECT=	ripgrep
DISTNAME=	0.8.1
PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=BurntSushi/}
DIST_SUBDIR=	${GITHUB_PROJECT}

MAINTAINER=	maya@@NetBSD.org
HOMEPAGE=	https://github.com/BurntSushi/ripgrep/
COMMENT=	Line-oriented search tool
LICENSE=	unlicense

WRKSRC=		${WRKDIR}/ripgrep-0.8.1
USE_LANGUAGES=	c

BUILD_DEPENDS+=	rust-[0-9]*:../../lang/rust

CARGO_CRATE_DEPENDS+=		\
	atty-0.2.6		\
	bytecount-0.3.1		\
	cfg-if-0.1.2		\
	clap-2.30.0		\
	crossbeam-0.3.2		\
	encoding_rs-0.7.2	\
	glob-0.2.11		\
	globset-0.3.0		\
	grep-0.1.8		\
	ignore-0.4.0		\
	lazy_static-1.0.0	\
	libc-0.2.36		\
	log-0.4.1		\
	memchr-2.0.1		\
	memmap-0.6.2		\
	num_cpus-1.8.0		\
	regex-0.2.6		\
	regex-syntax-0.4.2	\
	same-file-1.0.2		\
	simd-0.2.1		\
	aho-corasick-0.6.4	\
	fnv-1.0.6		\
	termcolor-0.3.4		\
	termion-1.5.1		\
	redox_syscall-0.1.37	\
	redox_termios-0.1.1	\
	strsim-0.7.0		\
	textwrap-0.9.0		\
	unicode-width-0.1.4	\
	ansi_term-0.10.2	\
	thread_local-0.3.5	\
	walkdir-2.1.4		\
	winapi-0.3.4		\
	winapi-i686-pc-windows-gnu-0.4.0	\
	winapi-x86_64-pc-windows-gnu-0.4.0	\
	utf8-ranges-1.0.0	\
	unreachable-1.0.0	\
	tempdir-0.3.5		\
	void-1.0.2		\
	rand-0.4.2		\
	rand-0.3.22		\
	fuchsia-zircon-0.3.3	\
	fuchsia-zircon-sys-0.3.3	\
	bitflags-1.0.1

CARGO_INSTALL_FILES=	rg

do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release


INSTALLATION_DIRS+=	bin

do-install:
.for file in ${CARGO_INSTALL_FILES}
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/${file} ${DESTDIR}${PREFIX}/bin
.endfor

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@Add ripgrep version 0.8.1.

ripgrep is a line-oriented search tool that recursively searches
your current directory for a regex pattern while respecting your
gitignore rules.
@
text
@d1 1
a1 1
# $NetBSD$
@

