summaryrefslogtreecommitdiff
path: root/net-mgmt/sysmon/Makefile
blob: 12b19f4366733fbd0b6e31d6e867ce7dd5a2d019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	net-mgmt/sysmon
# Date created:				23 January 2003
# Whom:					Manuel Kreutz <mk@nomtec.net>
#
# $FreeBSD$
#

PORTNAME=	sysmon
PORTVERSION=	0.92.2
CATEGORIES=	net-mgmt
MASTER_SITES=	ftp://puck.nether.net/pub/jared/ \
		http://titan.oxeo.com/mirror/sysmon.org/

MAINTAINER=	mk@oxeo.com
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

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/sysmond ${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}
.endfor

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for doc in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>