aboutsummaryrefslogtreecommitdiff
path: root/net/go-tcping/Makefile
blob: 5d5b8fc7c77f583d02f803131d8a29668f61b183 (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
PORTNAME=	tcping
PORTVERSION=	1.19.1
PORTREVISION=	2
DISTVERSIONPREFIX=	v
CATEGORIES=	net
PKGNAMEPREFIX=	go-

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>