2003-11-06 10:15:28 +01:00
|
|
|
# New ports collection makefile for: bandwidthd
|
|
|
|
# Date created: Sun Nov 2
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bandwidthd
|
2004-04-14 21:15:33 +02:00
|
|
|
PORTVERSION= 1.2.1
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-11-06 10:15:28 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-04-14 21:15:33 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}b
|
2003-11-06 10:15:28 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-01-13 16:04:51 +01:00
|
|
|
MAINTAINER= clement@FreeBSD.org
|
2003-11-06 10:15:28 +01:00
|
|
|
COMMENT= Tracks bandwidth usage by IP address
|
|
|
|
|
2004-01-16 01:52:07 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2003-12-05 09:50:19 +01:00
|
|
|
|
2004-03-30 21:56:43 +02:00
|
|
|
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
|
2003-11-06 10:15:28 +01:00
|
|
|
|
|
|
|
USE_GMAKE= YES
|
2004-03-30 21:56:43 +02:00
|
|
|
USE_ICONV= YES
|
2003-11-06 10:15:28 +01:00
|
|
|
USE_REINPLACE= YES
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/bandwidthd.sh \
|
|
|
|
${PREFIX}/etc/rc.d/bandwidthd.sh.sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|