summaryrefslogtreecommitdiff
path: root/net-mgmt/netqc/Makefile
blob: d0b3cc943a704983649d442940f3036a55a2a377 (plain)
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
# New ports collection makefile for: 	netqc
# Date created:		Sep 28 2001
# Whom:			Radoslav Vasilev <rvasilev@uni-svishtov.bg>
#
# $FreeBSD$
#

PORTNAME=	netqc
PORTVERSION=	1.2.1
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	http://web.uni-svishtov.bg/netqc/

MAINTAINER=	rvasilev@uni-svishtov.bg
COMMENT=	Network Monitoring System based on Net-Snmp

LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client \
		snmp.4:${PORTSDIR}/net-mgmt/net-snmp4

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
MAN1=		netqc.1
DOCFILES=	COPYING README

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=		"Does not compile due to varargs.h being deprecated"
.endif

post-install:
		${INSTALL_DATA} ${WRKSRC}/conf ${PREFIX}/etc/netqc.conf.sample
.for file in ${MAN1}
		${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/${file}
.endfor
.if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
		${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>