diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 22:01:24 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 22:01:24 +0000 |
commit | 11b0d3ddde2150d23a51c55b5597d968fe3a03bb (patch) | |
tree | 033e919c8c3370eefece9a149b26edc18d1cd93f /net-mgmt/nagiostat/Makefile | |
parent | 504c512b996cd0f54c3771d7701c8179ce3c6185 (diff) | |
download | ports-11b0d3ddde2150d23a51c55b5597d968fe3a03bb.tar.gz ports-11b0d3ddde2150d23a51c55b5597d968fe3a03bb.zip |
Notes
Diffstat (limited to 'net-mgmt/nagiostat/Makefile')
-rw-r--r-- | net-mgmt/nagiostat/Makefile | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/net-mgmt/nagiostat/Makefile b/net-mgmt/nagiostat/Makefile deleted file mode 100644 index 7753aa556758..000000000000 --- a/net-mgmt/nagiostat/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# Created by: Janos.Mohacsi@bsd.hu -# $FreeBSD$ - -PORTNAME= nagiostat -PORTVERSION= 1.0.0 -PORTREVISION= 6 -CATEGORIES= net-mgmt -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Nagiostat parses performance-data from Nagios and generates graphs - -RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool \ - nagios:${PORTSDIR}/net-mgmt/nagios - -USES= perl5 tar:tgz -NO_BUILD= yes -NO_WRKSUBDIR= yes -NAGIOSDIR?= /var/spool/nagios -DOC_FILES= README GPL.txt - -NAGIOSWWWDIR?= www/nagios -PLIST_SUB+= NAGIOSWWWDIR=${NAGIOSWWWDIR} - -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} \ - -e 's|%%NAGIOSTATCONFDIR%%|${PREFIX}/etc/|' \ - -e 's|%%NAGIOSTATDIR%%|${PREFIX}/libexec/${PORTNAME}/|' \ - -e 's|%%NAGIOSTATRRD%%|${NAGIOSDIR}/${PORTNAME}rrd/|' \ - -e 's|%%PREFIX%%|${PREFIX}|' \ - ${WRKSRC}/nagiostat ${WRKSRC}/nagiostat.conf ${WRKSRC}/README -do-install: - @${MKDIR} ${PREFIX}/libexec/${PORTNAME} - @${MKDIR} ${NAGIOSDIR}/${PORTNAME}rrd - @${INSTALL_SCRIPT} ${WRKSRC}/nagiostat ${PREFIX}/libexec/${PORTNAME}/ - @${LN} -fs ${PREFIX}/libexec/${PORTNAME}/nagiostat ${PREFIX}/${NAGIOSWWWDIR}/cgi-bin/nagiostat.cgi - @${INSTALL_DATA} ${WRKSRC}/nagiostat.conf ${PREFIX}/etc/nagiostat.conf-sample - @${MKDIR} ${PREFIX}/libexec/${PORTNAME}/html-templates/ - @${INSTALL_DATA} ${WRKSRC}/html-templates/default.html ${PREFIX}/libexec/${PORTNAME}/html-templates/ - @${INSTALL_DATA} ${WRKSRC}/html-templates/graphindex.html ${PREFIX}/libexec/${PORTNAME}/html-templates/ - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif - -.include <bsd.port.mk> |