summaryrefslogtreecommitdiff
path: root/sysutils/ntpstat/Makefile
blob: 2e7ec43dbfdd97426a9861f96f9c4ebb1ddf9433 (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
29
30
PORTNAME=	ntpstat
DISTVERSION=	0.6
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	cy@FreeBSD.org
COMMENT=	Print the ntpd or chronyd synchronisation status
WWW=		https://github.com/mlichvar/ntpstat

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	bash:shells/bash \
		gawk:lang/gawk

USES=		shebangfix

SHEBANG_FILES=	ntpstat

USE_GITHUB=	yes
GH_ACCOUNT=	mlichvar

MAKE_ARGS=	prefix="${STAGEDIR}${PREFIX}"
NO_BUILD=	yes
NO_ARCH=	yes

post-patch:
	@${REINPLACE_CMD} -e 's/awk/gawk/g' ${WRKSRC}/ntpstat

.include <bsd.port.mk>