ports/net/go-tcping/Makefile
2024-08-09 06:24:08 +00:00

30 lines
682 B
Makefile

PORTNAME= tcping
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0
PORTREVISION= 7
CATEGORIES= net
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/${DISTVERSIONFULL}/:gomod
PKGNAMEPREFIX= go-
DISTFILES= go.mod:gomod
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line utility to ping TCP ports written in Go
WWW= https://github.com/pouriyajamshidi/tcping
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= pouriyajamshidi
GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/gotcping
post-install:
@${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/gotcping
.include <bsd.port.mk>