mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
30 lines
591 B
Makefile
30 lines
591 B
Makefile
PORTNAME= ipinfo
|
|
DISTVERSIONPREFIX= ipinfo-
|
|
DISTVERSION= 3.3.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= dutra@FreeBSD.org
|
|
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.16.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>
|