Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/check_mk_agent/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= check_mk_agent | |||||
DISTVERSION= 1.5.0p11 | |||||
CATEGORIES= net-mgmt | |||||
MASTER_SITES= https://mathias-kettner.de/support/${DISTVERSION}/ | |||||
DISTNAME= check-mk-raw-${DISTVERSION}.cre | |||||
MAINTAINER= 0mp@FreeBSD.org | |||||
COMMENT= Nagios-compatible agent for the Check_MK monitoring | |||||
LICENSE= GPLv2 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
RUN_DEPENDS= bash>0:shells/bash | |||||
USES= shebangfix | |||||
SHEBANG_FILE= bin/${PORTNAME} | |||||
NO_ARCH= yes | |||||
NO_BUILD= yes | |||||
NO_TESTS= yes | |||||
PLIST_FILES= bin/${PORTNAME} | |||||
SUB_FILES= pkg-message | |||||
SUB_LIST= PORTNAME=${PORTNAME} | |||||
PORTDOCS= README.FreeBSD | |||||
OPTIONS_DEFINE= DOCS | |||||
matUnsubmitted Done Inline Actionsmat: ```
PORTDOCS= README.FreeBSD
``` | |||||
OPTIONS_SUB= yes | |||||
matUnsubmitted Done Inline ActionsThis is not needed. mat: This is not needed. | |||||
0mpAuthorUnsubmitted Done Inline ActionsOh right, that's a fallout after some experimenting. 0mp: Oh right, that's a fallout after some experimenting. | |||||
post-patch: | |||||
${REINPLACE_CMD} -E -e 's|^(export MK_CONFDIR=")|\1${PREFIX}|' \ | |||||
-e 's|/usr/local/bin/bash|${LOCALBASE}/bin/bash|g' \ | |||||
${WRKSRC}/agents/${PORTNAME}.freebsd | |||||
Done Inline ActionsThat should probably be done in a post-patch target. (And then add NO_BUILD=yes) mat: That should probably be done in a post-patch target. (And then add NO_BUILD=yes) | |||||
do-install: | |||||
${INSTALL_SCRIPT} ${WRKSRC}/agents/${PORTNAME}.freebsd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | |||||
post-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
${INSTALL_DATA} ${WRKSRC}/doc/agents/README.FreeBSD ${STAGEDIR}${DOCSDIR} | |||||
.include <bsd.port.mk> |