blob: 1cb2d8690d373b644af5979e1f2176564ef94b4a (
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
27
28
29
30
31
32
33
34
35
36
|
# Created by: hr <holgerrepp@googlemail.com>
# $FreeBSD$
PORTNAME= check_tftp
PORTVERSION= 1.0.1
CATEGORIES= net-mgmt
MASTER_SITES= http://mymixrechner.de/freebsd-ports/distfiles/
PKGNAMEPREFIX= nagios-
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
MAINTAINER= holgerrepp@googlemail.com
COMMENT= Nagios plugin to check tftp servers
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
${LOCALBASE}/bin/tftp:${PORTSDIR}/ftp/tftp-hpa
PLIST_FILES= libexec/nagios/check_tftp
NO_BUILD= yes
NO_WRKSUBDIR= yes
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/check_tftp
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>
|