summaryrefslogtreecommitdiff
path: root/net-mgmt/gping/Makefile
blob: f2e8554feae953d07002c2ad918632c924b86360 (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
PORTNAME=	gping
PORTVERSION=	1.13.1
DISTVERSIONPREFIX=	gping-v
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>