summaryrefslogtreecommitdiff
path: root/net-mgmt/gping/Makefile
blob: 91f59659ced3e0545fb94e34267de523e7577334 (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
PORTNAME=	gping
PORTVERSION=	1.8.0
DISTVERSIONPREFIX=	gping-v
PORTREVISION=	3
CATEGORIES=	net-mgmt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Ping with graph
WWW=		https://github.com/orf/gping

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	orf

PLIST_FILES=	bin/gping \
		share/man/man1/gping.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/target/*/release/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/gping.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>