From e81d45a13f3a82aee6d2ac5b359dab0413a3c673 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 5 Dec 2003 08:50:19 +0000 Subject: - Update to version 1.1.7 PR: 59967 Submitted by: maintainer --- net-mgmt/bandwidthd/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'net-mgmt/bandwidthd/Makefile') diff --git a/net-mgmt/bandwidthd/Makefile b/net-mgmt/bandwidthd/Makefile index d84d37927cb3..ae73d994c336 100644 --- a/net-mgmt/bandwidthd/Makefile +++ b/net-mgmt/bandwidthd/Makefile @@ -6,25 +6,23 @@ # PORTNAME= bandwidthd -PORTVERSION= 1.1.6 +PORTVERSION= 1.1.7 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-1.1.7b EXTRACT_SUFX= .tgz MAINTAINER= sheepkiller@cultdeadsheep.org COMMENT= Tracks bandwidth usage by IP address -LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd\ + iconv.3:${PORTSDIR}/converters/libiconv USE_GMAKE= YES USE_REINPLACE= YES -CFLAGS+= -DFREEBSD -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -MAKE_ENV+= LDFLAGS="${LDFLAGS}" - -post-patch: - @${REINPLACE_CMD} -e 's!localtime(!localtime((time_t *)!' ${WRKSRC}/graph.c post-install: @${INSTALL_SCRIPT} ${FILESDIR}/bandwidthd.sh \ -- cgit v1.2.3