diff options
author | Martin Matuska <mm@FreeBSD.org> | 2014-01-19 11:35:27 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2014-01-19 11:35:27 +0000 |
commit | 6c41dda4d69a919ba06e0d13d3f0d9bdc0697a75 (patch) | |
tree | 052c3c344b2c4f01846adef612daabc0ead0873b /net-mgmt | |
parent | 89127e0e8f8378c7135f17d83ed5c21a8a98cd09 (diff) | |
download | ports-6c41dda4d69a919ba06e0d13d3f0d9bdc0697a75.tar.gz ports-6c41dda4d69a919ba06e0d13d3f0d9bdc0697a75.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nsca-client/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/nsca/Makefile | 17 | ||||
-rw-r--r-- | net-mgmt/nsca27-client/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/nsca27/Makefile | 21 |
4 files changed, 18 insertions, 22 deletions
diff --git a/net-mgmt/nsca-client/Makefile b/net-mgmt/nsca-client/Makefile index b19763525a59..59c03d740e2c 100644 --- a/net-mgmt/nsca-client/Makefile +++ b/net-mgmt/nsca-client/Makefile @@ -10,5 +10,4 @@ LICENSE= GPLv2 _BUILDING_NSCA_CLIENT= yes MASTERDIR= ${.CURDIR}/../nsca -NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/nsca/Makefile b/net-mgmt/nsca/Makefile index 15febad24356..7fac87adec86 100644 --- a/net-mgmt/nsca/Makefile +++ b/net-mgmt/nsca/Makefile @@ -49,22 +49,21 @@ PLIST_SUB+= CLIENT="@comment " DOCS= Changelog LEGAL README SECURITY -NO_STAGE= yes do-install: .if defined(_BUILDING_NSCA_CLIENT) - ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${PREFIX}/sbin/send_nsca - ${MKDIR} ${PREFIX}/etc/nagios - ${INSTALL_DATA} ${WRKSRC}/sample-config/send_nsca.cfg ${PREFIX}/etc/nagios/send_nsca.cfg-sample + ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${STAGEDIR}${PREFIX}/sbin/send_nsca + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nagios + ${INSTALL_DATA} ${WRKSRC}/sample-config/send_nsca.cfg ${STAGEDIR}${PREFIX}/etc/nagios/send_nsca.cfg-sample .else - ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${PREFIX}/sbin/nsca - ${MKDIR} ${PREFIX}/etc/nagios - ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${PREFIX}/etc/nagios/nsca.cfg-sample + ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${STAGEDIR}${PREFIX}/sbin/nsca + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nagios + ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${STAGEDIR}${PREFIX}/etc/nagios/nsca.cfg-sample .endif post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} diff --git a/net-mgmt/nsca27-client/Makefile b/net-mgmt/nsca27-client/Makefile index 4e56d6d360d1..b141919758ca 100644 --- a/net-mgmt/nsca27-client/Makefile +++ b/net-mgmt/nsca27-client/Makefile @@ -10,5 +10,4 @@ LICENSE= GPLv2 _BUILDING_NSCA_CLIENT= yes MASTERDIR= ${.CURDIR}/../nsca27 -NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/nsca27/Makefile b/net-mgmt/nsca27/Makefile index 17095848c153..05c33e1a0c49 100644 --- a/net-mgmt/nsca27/Makefile +++ b/net-mgmt/nsca27/Makefile @@ -3,7 +3,7 @@ PORTNAME= nsca PORTVERSION= 2.7.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net-mgmt MASTER_SITES= SF/nagios/nsca-2.x/nsca-${PORTVERSION} @@ -42,7 +42,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message.client SUB_FILES+= pkg-message.client .endif -.if !defined(_BUILDING_NSCA_CLIENT) +.if defined(_BUILDING_NSCA_CLIENT) PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " @@ -50,22 +50,21 @@ PLIST_SUB+= CLIENT="@comment " DOCS= Changelog LEGAL README SECURITY -NO_STAGE= yes do-install: .if defined(_BUILDING_NSCA_CLIENT) - ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${PREFIX}/sbin/send_nsca - ${MKDIR} ${PREFIX}/etc/nagios - ${INSTALL_DATA} ${WRKSRC}/sample-config/send_nsca.cfg ${PREFIX}/etc/nagios/send_nsca.cfg-sample + ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${STAGEDIR}${PREFIX}/sbin/send_nsca + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nagios + ${INSTALL_DATA} ${WRKSRC}/sample-config/send_nsca.cfg ${STAGEDIR}${PREFIX}/etc/nagios/send_nsca.cfg-sample .else - ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${PREFIX}/sbin/nsca - ${MKDIR} ${PREFIX}/etc/nagios - ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${PREFIX}/etc/nagios/nsca.cfg-sample + ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${STAGEDIR}${PREFIX}/sbin/nsca + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nagios + ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${STAGEDIR}${PREFIX}/etc/nagios/nsca.cfg-sample .endif post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |