8a6ceda059
sift has a slightly different focus than most other grep alternatives. Code search, log search / digital forensics and data processing are the main use cases, but the primary goal is to provide safe defaults and to make it easily configurable for a specific use case. Among the features are: - Stable releases, cross platform support - Safe defaults: sift searches everywhere if not configured otherwise - Complete & working .gitignore support - High performance for many uses cases - Support for adding custom file types to narrow down searches - Multiline support - Support for big files: >50GB, >5,000,000,000 lines and >5,000,000,000 matches successfully tested WWW: https://github.com/svent/sift
32 lines
798 B
Makefile
32 lines
798 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sift
|
|
PORTVERSION= 0.9.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Fast and powerful open source alternative to grep
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
|
|
|
PLIST_FILES= bin/sift
|
|
|
|
GH_ACCOUNT= svent
|
|
GH_TUPLE= golang:crypto:3d3f9f4:golang_crypto/../src/golang.org/x/crypto \
|
|
golang:sys:62eef0e:golang_sys/../src/golang.org/x/sys \
|
|
svent:go-flags:4bcbad3:svent_goflags/../src/github.com/svent/go-flags \
|
|
svent:go-nbreader:7cef48d:svent_gonbreader/../src/github.com/svent/go-nbreader
|
|
USE_GITHUB= yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/sift ${STAGEDIR}${PREFIX}/bin/sift
|
|
|
|
.include <bsd.port.mk>
|