blob: 6f87757bf7a6ba366e2e2b13470319b338c26e35 (
plain) (
blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
PORTNAME= vgrep
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= lcook@FreeBSD.org
COMMENT= User-friendly pager for grep
WWW= https://github.com/vrothberg/vgrep
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= vrothberg
GH_TUPLE= golang:sys:v0.13.0:golang_sys/vendor/golang.org/x/sys \
golang:term:v0.13.0:golang_term/vendor/golang.org/x/term \
google:shlex:e7afc7fbc510:google_shlex/vendor/github.com/google/shlex \
jessevdk:go-flags:v1.5.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \
json-iterator:go:v1.1.12:json_iterator_go/vendor/github.com/json-iterator/go \
mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
mattn:go-shellwords:v1.0.12:mattn_go_shellwords/vendor/github.com/mattn/go-shellwords \
modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \
modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \
nightlyone:lockfile:v1.0.0:nightlyone_lockfile/vendor/github.com/nightlyone/lockfile \
peterh:liner:v1.2.2:peterh_liner/vendor/github.com/peterh/liner \
rivo:uniseg:v0.4.4:rivo_uniseg/vendor/github.com/rivo/uniseg \
sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus
_BUILD_VERSION= ${DISTVERSION}-0d61b95
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X main.version=${_BUILD_VERSION}"
PORTSCOUT= skipv:16.09,16.09.1
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|