Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2020 20:05:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243273] [NEW PORT] textproc/codesearch: Fast indexed grep tool
Message-ID:  <bug-243273-7788-vT5MZrS7qn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243273-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243273-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243273

--- Comment #2 from eborisch+FreeBSD@gmail.com ---
(In reply to Dmitri Goutnik from comment #1)

I can, but it's an old package, doesn't rely on any external modules and
doesn't work cleanly with the build that USES=3Dgo, so it ends up looking l=
ike
this. Let me know which way you would like to go.

Thanks!

=3D=3D

FreeBSD$

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

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

LICENSE=3D        BSD3CLAUSE

USES=3D           go:no_targets
USE_GITHUB=3D     yes
GH_ACCOUNT=3D     google
GH_SUBDIR=3D      src/github.com/google/codesearch

BIN_FILES=3D      cgrep csearch cindex

PORTDOCS=3D       LICENSE README AUTHORS CONTRIBUTORS

OPTIONS_DEFINE=3D DOCS

do-build:
.for bin in ${BIN_FILES}
        cd ${WRKSRC}/src/github.com/google/codesearch/cmd/${bin}; ${SETENV}
${BUILD_ENV} GOPATH=3D${WRKSRC} go build
.endfor

do-install:
.for bin in ${BIN_FILES}
        cd ${WRKSRC}/src/github.com/google/codesearch/cmd/${bin}; ${CP} ${b=
in}
${STAGEDIR}${PREFIX}/bin/${src}
.endfor

post-install-DOCS-on:
        ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
        ${CP} ${WRKSRC}/src/github.com/google/codesearch/${doc}
${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243273-7788-vT5MZrS7qn>