aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 16:41:39 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 16:41:39 +0800
commit4c6baa5baab387651981431b46ffa9df385644c4 (patch)
tree88037a80f14f4b3e2ed1243ce4ac5bad9fe51c5c
parentbf48f70b1121628c250c7515fbeed852c7d7b867 (diff)
downloadfreebsd-ports-gnome-4c6baa5baab387651981431b46ffa9df385644c4.tar.gz
freebsd-ports-gnome-4c6baa5baab387651981431b46ffa9df385644c4.tar.zst
freebsd-ports-gnome-4c6baa5baab387651981431b46ffa9df385644c4.zip
Support staging
-rw-r--r--sysutils/nagios-statd/Makefile14
-rw-r--r--sysutils/nagios-statd/pkg-plist2
2 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/nagios-statd/Makefile b/sysutils/nagios-statd/Makefile
index fb18432218f1..6b53b88c8abf 100644
--- a/sysutils/nagios-statd/Makefile
+++ b/sysutils/nagios-statd/Makefile
@@ -13,18 +13,16 @@ COMMENT= Daemon/client to check remote host information for Nagios
USE_PYTHON= yes
USE_RC_SUBR= nagiosstatd
-MAN1= nagios-stat.1
-MAN8= nagios-statd.8
-
-NO_STAGE= yes
do-build:
${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env python,' \
${WRKSRC}/bin/* ${WRKSRC}/sbin/*
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/sbin/nagios-statd ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/share/man1/nagios-stat.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/share/man8/nagios-statd.8 ${PREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/sbin/nagios-statd ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/share/man1/nagios-stat.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/share/man8/nagios-statd.8 \
+ ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/sysutils/nagios-statd/pkg-plist b/sysutils/nagios-statd/pkg-plist
index 53438beace3d..c039213a42a8 100644
--- a/sysutils/nagios-statd/pkg-plist
+++ b/sysutils/nagios-statd/pkg-plist
@@ -1,2 +1,4 @@
bin/nagios-stat
sbin/nagios-statd
+man/man1/nagios-stat.1.gz
+man/man8/nagios-statd.8.gz