aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/bandwidthd/Makefile
blob: 5e35d380a1c887ba5341e85b834c63a5cb1d737b (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
# New ports collection makefile for:    bandwidthd
# Date created:             Sun Nov  2
# Whom:                 Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=   bandwidthd
PORTVERSION=    2.0.1
PORTREVISION=   4
CATEGORIES= net-mgmt
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tracks bandwidth usage by IP address

LIB_DEPENDS+=   gd.4:${PORTSDIR}/graphics/gd

.if ${CC} == "clang"
USE_CSTD=   c89
.endif

USE_GMAKE=  YES
GNU_CONFIGURE=  YES
USE_ICONV=  YES

post-install:
    @${INSTALL_SCRIPT} ${FILESDIR}/bandwidthd.sh \
                ${PREFIX}/etc/rc.d/bandwidthd.sh.sample

.include <bsd.port.mk>