summaryrefslogtreecommitdiff
path: root/textproc/codesearch/Makefile
blob: 684a65fb0becaf48baf6dd9c0e86c993cb30361e (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
28
PORTNAME=	codesearch
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.0
PORTREVISION=	20
CATEGORIES=	textproc

MAINTAINER=	eborisch@gmail.com
COMMENT=	Fast (indexed) text search tool from Google
WWW=		https://github.com/google/codesearch

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>