1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Add LICENSE

- Fix shebangs properly
- Add NO_ARCH

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-06-15 14:21:28 +00:00
parent 80fd710267
commit e73d57669f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472457

View File

@ -3,19 +3,21 @@
PORTNAME= nagios-statd
PORTVERSION= 3.12
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils python net-mgmt
MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/
MAINTAINER= jims@bluenotch.com
COMMENT= Daemon/client to check remote host information for Nagios
USES= python
USE_RC_SUBR= nagiosstatd
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/share/doc/LICENSE
do-build:
${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env python,' \
${WRKSRC}/bin/* ${WRKSRC}/sbin/*
USES= python shebangfix
SHEBANG_FILES= bin/nagios-stat sbin/nagios-statd
USE_RC_SUBR= nagiosstatd
NO_BUILD= yes
NO_ARCH= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${STAGEDIR}${PREFIX}/bin