aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/sysmon
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 13:01:31 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 13:01:31 +0000
commit36493f48ba67d278cb842030006067ebd06ff433 (patch)
treeaccef87c7cbc7392552ffb52ed072a0795fc37c7 /net-mgmt/sysmon
parent7ff2f87e0c0cef1ab91f49b75fb1a470ddd96f45 (diff)
downloadports-36493f48ba67d278cb842030006067ebd06ff433.tar.gz
ports-36493f48ba67d278cb842030006067ebd06ff433.zip
Notes
Diffstat (limited to 'net-mgmt/sysmon')
-rw-r--r--net-mgmt/sysmon/Makefile24
-rw-r--r--net-mgmt/sysmon/pkg-plist2
2 files changed, 13 insertions, 13 deletions
diff --git a/net-mgmt/sysmon/Makefile b/net-mgmt/sysmon/Makefile
index 09be3b6801cc..af963c569cf4 100644
--- a/net-mgmt/sysmon/Makefile
+++ b/net-mgmt/sysmon/Makefile
@@ -13,26 +13,24 @@ COMMENT= A network tool designed for high performance and accurate monitoring
DOCS= Changes.html binaries.html config.html docs.html index.html \
jclient.jpg net-example.png sysmon.conf.man.html sysmon.jpg \
sysmon.man.html reporting.xml-spec.txt
-MAN8= sysmon.man.8 sysmon.conf.man.8
+MANPAGE= sysmon.man.8 sysmon.conf.man.8
GNU_CONFIGURE= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmond ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmond ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} \
- ${WRKSRC}/examples/sysmon.conf.dist ${PREFIX}/etc/sysmon.conf.sample
-
-.for man in ${MAN8}
- ${INSTALL_MAN} ${WRKSRC}/docs/${man:S/.8//} ${MANPREFIX}/man/man8/${man}
+ ${WRKSRC}/examples/sysmon.conf.dist \
+ ${STAGEDIR}${PREFIX}/etc/sysmon.conf.sample
+.for man in ${MANPAGE}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${man:S/.8//} ${STAGEDIR}${MANPREFIX}/man/man8/${man}
.endfor
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/sysmon/pkg-plist b/net-mgmt/sysmon/pkg-plist
index 84230657a3f5..423c5e1772fb 100644
--- a/net-mgmt/sysmon/pkg-plist
+++ b/net-mgmt/sysmon/pkg-plist
@@ -1,6 +1,8 @@
bin/sysmond
bin/sysmon
etc/sysmon.conf.sample
+man/man8/sysmon.conf.man.8.gz
+man/man8/sysmon.man.8.gz
%%PORTDOCS%%%%DOCSDIR%%/Changes.html
%%PORTDOCS%%%%DOCSDIR%%/binaries.html
%%PORTDOCS%%%%DOCSDIR%%/config.html