freebsd-ports/net-mgmt/nagios-check_smartmon/Makefile
Kubilay Kocak 7bc876ee2e net-mgmt/nagios-check_smartmon: Fix ValueError with some drive values
After upgrading to version 20100318_4, users reported ValueError for
some disks [1]

Also fix Python 3.x compatibility [2]

While I'm here:

  - Pet portlint, NO_* in USE{S} section
  - Make concurrent-safe, installs executables in libexec

PR:		236873
Reported by:	Thomas Eckhardt <freebsd eckieck de> [1]
Submitted by:	Thomas Eckhardt <freebsd eckieck de> [1]
Submitted by:	Krzysztof <ports bsdserwis com> (maintainer) [2]
Approved by:	Krzysztof <ports bsdserwis com> (maintainer)
MFH:		2019Q2 (bugfixes)
2019-05-23 14:27:14 +00:00

34 lines
740 B
Makefile

# Created by: steinex
# $FreeBSD$
PORTNAME= check_smartmon
PORTVERSION= 20100318
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://ftp.bsdserwis.com/pub/FreeBSD/ports/distfiles/
PKGNAMEPREFIX= nagios-
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= ports@bsdserwis.com
COMMENT= Nagios plug-in to get status from smartmontools
LICENSE= GPLv2+
RUN_DEPENDS= ${LOCALBASE}/sbin/smartctl:sysutils/smartmontools
USES= python shebangfix
USE_PYTHON= concurrent
NO_BUILD= yes
NO_ARCH= yes
SHEBANG_FILES= check_smartmon
PLIST_FILES= libexec/nagios/check_smartmon
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_smartmon \
${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>