1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/net/ipinfo-cli/Makefile
2024-02-11 10:39:17 +00:00

30 lines
591 B
Makefile

PORTNAME= ipinfo
DISTVERSIONPREFIX= ipinfo-
DISTVERSION= 3.3.0
PORTREVISION= 1
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>