summaryrefslogtreecommitdiff
path: root/textproc/codesearch/Makefile
blob: e2cd8be6710656b85ce7fd90c083eebfd98eb9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

PORTNAME=	codesearch
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.0
CATEGORIES=	textproc

MAINTAINER=	eborisch@gmail.com
COMMENT=	Fast (indexed) text search tool from Google

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go

USE_GITHUB=	yes
GH_ACCOUNT=	google

GO_PKGNAME=	github.com/google/codesearch
GO_TARGET=	./cmd/cgrep \
		./cmd/cindex \
		./cmd/csearch

CONFLICTS_INSTALL=	hs-cgrep

PLIST_FILES=	${GO_TARGET:C/.\/cmd/bin/}

.include <bsd.port.mk>