aboutsummaryrefslogblamecommitdiff
path: root/net/go-tcping/Makefile
blob: 07f717f0efa43d4a90fe8b4db03035997a755094 (plain) (tree)
1
2
3
4
5
6
7
8
                      
                         
                     
                 
                   
                                                                                                     
                   
                            





















                                                                    
PORTNAME=	tcping
DISTVERSIONPREFIX=	v
DISTVERSION=	2.5.0
PORTREVISION=	1
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>