aboutsummaryrefslogtreecommitdiff
path: root/net/rtg/Makefile
blob: fff6992e63b96afdffd722d1d15ace142f93c0ce (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
# New ports collection makefile for:	rtg
# Date created:				6 January 2004
# Whom:					Brad Davis <so14k@so14k.com>
#
# $FreeBSD$
#

PORTNAME=	rtg
PORTVERSION=	0.7.4
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	rtg

MAINTAINER=	so14k@so14k.com
COMMENT=	A flexible, high-performance SNMP statistics monitoring system

BUILD_DEPENDS=	\
	${LOCALBASE}/lib/mysql/libmysqlclient_r.a:${PORTSDIR}/databases/mysql41-client \
	${LOCALBASE}/sbin/snmpd:${PORTSDIR}/net/net-snmp

MAN1=	rtgplot.1 rtgpoll.1

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/rtg

pre-configure:
	${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure

.include <bsd.port.mk>