Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 14:21:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472457 - head/sysutils/nagios-statd
Message-ID:  <201806151421.w5FELT6q048428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jun 15 14:21:28 2018
New Revision: 472457
URL: https://svnweb.freebsd.org/changeset/ports/472457

Log:
  - Add LICENSE
  - Fix shebangs properly
  - Add NO_ARCH
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/nagios-statd/Makefile

Modified: head/sysutils/nagios-statd/Makefile
==============================================================================
--- head/sysutils/nagios-statd/Makefile	Fri Jun 15 14:20:13 2018	(r472456)
+++ head/sysutils/nagios-statd/Makefile	Fri Jun 15 14:21:28 2018	(r472457)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806151421.w5FELT6q048428>