blob: 47bf9998b2e4a30df34c100373f27d561f9d8240 (
plain)
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
29
30
|
PORTNAME= tcping
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0
PORTREVISION= 5
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>
|