ports/net/go-tcping/Makefile
2023-12-07 02:22:10 +00:00

30 lines
682 B
Makefile

PORTNAME= tcping
PORTVERSION= 2.4.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
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>