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

PORTNAME=	bandwidthd
PORTVERSION=	1.2.0
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=		${PORTNAME}-1.2.0b
EXTRACT_SUFX=	.tgz

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

WRKSRC=		${WRKDIR}/${DISTNAME}

LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd\
		iconv.3:${PORTSDIR}/converters/libiconv

USE_GMAKE=	YES
USE_REINPLACE=	YES

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

.include <bsd.port.mk>