2013-10-20 00:18:16 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nfsping
|
|
|
|
PORTVERSION= 0.1.20131017
|
|
|
|
CATEGORIES= sysutils net-mgmt
|
2015-03-20 01:42:36 +00:00
|
|
|
MASTER_SITES= GH \
|
2013-10-20 00:18:16 +00:00
|
|
|
LOCAL/bdrewery/${PORTNAME}/
|
|
|
|
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
|
|
COMMENT= Command line tool to check NFS server response times
|
|
|
|
|
2014-12-11 00:40:16 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-10-20 00:18:16 +00:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS SMOKEPING
|
|
|
|
OPTIONS_DEFAULT=SMOKEPING
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
SMOKEPING_DESC= Install Smokeping probe
|
|
|
|
|
|
|
|
USES= gmake
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= mprovost
|
|
|
|
GH_PROJECT= NFSping
|
2015-03-20 01:42:36 +00:00
|
|
|
GH_TAGNAME= 460c382
|
2013-10-20 00:18:16 +00:00
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSMOKEPING}
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Smokeping/NFSping.pm \
|
|
|
|
${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|