blob: 90aa1dc5bc34bd204d310d185bd9c497f4e6146a (
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
|
PORTNAME= ipinfo
DISTVERSIONPREFIX= ipinfo-
DISTVERSION= 3.0.1
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= nulldutra@proton.me
COMMENT= Official Command Line Interface for the IPinfo API
WWW= https://github.com/ipinfo/cli
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_PROJECT= cli
GH_TUPLE= golang:sys:v0.11.0:golang_sys
GO_TARGET= ./ipinfo
PLIST_FILES= bin/${PORTNAME}
pre-patch:
${RM} ${WRKSRC}/vendor/modules.txt
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
.include <bsd.port.mk>
|