7bc876ee2e
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)
34 lines
740 B
Makefile
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>
|