aboutsummaryrefslogtreecommitdiffstats
path: root/net/rtg/Makefile
blob: f28b48a184fd0539a6c555f2a0f41a7894953236 (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-mgmt/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>