aboutsummaryrefslogtreecommitdiff
path: root/net/bandwidthd/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-05 08:50:19 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-05 08:50:19 +0000
commite81d45a13f3a82aee6d2ac5b359dab0413a3c673 (patch)
tree941666b035526f91d56fa3a5d260406cd0fda8f2 /net/bandwidthd/Makefile
parentc78319a29131bfb0811fa0fb210b5d2dcc7ad1a8 (diff)
downloadports-e81d45a13f3a82aee6d2ac5b359dab0413a3c673.tar.gz
ports-e81d45a13f3a82aee6d2ac5b359dab0413a3c673.zip
Notes
Diffstat (limited to 'net/bandwidthd/Makefile')
-rw-r--r--net/bandwidthd/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/bandwidthd/Makefile b/net/bandwidthd/Makefile
index d84d37927cb3..ae73d994c336 100644
--- a/net/bandwidthd/Makefile
+++ b/net/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 \