blob: 362767689e728da83e160faf5e7cbbf4189cefcf (
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
|
PORTNAME= stc
PORTVERSION= 1.4
PORTREVISION= 3
CATEGORIES= net
MAINTAINER= kbowling@FreeBSD.org
COMMENT= Syncthing CLI Tool
WWW= https://github.com/tenox7/stc
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= tenox7
GH_TUPLE= dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
go-resty:resty:v2.7.0:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \
golang:net:99673261e6eb:golang_net/vendor/golang.org/x/net \
hako:durafmt:5c1018a4e16b:hako_durafmt/vendor/github.com/hako/durafmt
PLIST_FILES= bin/stc
post-patch:
@${REINPLACE_CMD} -e 's|"homedir", ""|"homedir", "${LOCALBASE}/etc/syncthing"|' ${WRKSRC}/stc.go
.include <bsd.port.mk>
|