blob: c44e760f035f2064b277eca70b3eaf2ffc09f8ed (
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
|
PORTNAME= up
DISTVERSIONPREFIX= v
DISTVERSION= 0.4
PORTREVISION= 9
CATEGORIES= textproc
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Ultimate plumber, a tool for writing pipes with instant live preview
WWW= https://github.com/akavel/up
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= akavel
GH_TUPLE= gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \
gdamore:tcell:v1.4.0:gdamore_tcell/vendor/github.com/gdamore/tcell \
golang:sys:201ba4db2418:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.4:golang_text/vendor/golang.org/x/text \
lucasb-eyer:go-colorful:v1.0.3:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
mattn:go-isatty:v0.0.3:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag
PLIST_FILES= bin/up
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
do-test:
cd ${GO_WRKSRC}; ${SETENV} ${GO_ENV} ${GO_CMD} test
.include <bsd.port.mk>
|