Files

45 lines
1.6 KiB
Tcl
Raw Permalink Normal View History

2020-04-11 00:13:59 -04:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
2024-05-20 13:56:22 -04:00
go.setup github.com/vrothberg/vgrep 2.8.0 v
2021-10-16 05:32:49 -04:00
revision 0
2021-10-15 13:24:07 -04:00
epoch 1
2020-04-11 00:13:59 -04:00
description an easy to use front-end for (git) grep
2022-01-25 10:24:27 -05:00
long_description \
vgrep is a command-line tool to search textual patterns in directories. \
It serves as a front-end to grep and git-grep and allows to open the \
indexed matching lines in a user-specified editor. vgrep is inspired by \
the ancient cgvg scripts but extended to perform further operations such \
as listing statistics of files and directory trees or showing the context \
lines before and after the matches.
2020-04-11 00:13:59 -04:00
2020-10-31 08:07:49 -04:00
categories textproc
installs_libs no
2021-10-03 00:17:50 -04:00
license GPL-3
2020-10-31 08:07:49 -04:00
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
2024-05-20 13:56:22 -04:00
checksums rmd160 d42b758475ea78b7e20be6f607b2368347d3fc3e \
sha256 325b28bd5e8da316e319361f2dd8e3cc74fcd55724fc8ad4b2a73c21b2903bd8 \
size 2039369
2021-10-03 00:17:50 -04:00
2021-10-16 02:11:15 -04:00
depends_build-append \
port:go-md2man
2021-10-03 00:17:50 -04:00
# Do not need go.vendors as source archive already includes vendored
# dependencies.
2020-10-31 08:07:49 -04:00
build.cmd make
2021-10-16 02:11:15 -04:00
build.target release docs
2020-10-31 08:07:49 -04:00
2020-04-11 00:13:59 -04:00
destroot {
2021-10-16 02:11:15 -04:00
xinstall -m 0755 ${worksrcpath}/build/${name} ${destroot}${prefix}/bin/
2021-10-16 02:55:38 -04:00
xinstall -d ${destroot}${prefix}/share/man/man1
2021-10-16 02:18:51 -04:00
xinstall -m 0644 ${worksrcpath}/docs/${name}.1 \
${destroot}${prefix}/share/man/man1/
2020-04-11 00:13:59 -04:00
}