freebsd-ports/net/xferstats/Makefile
Dmitry Sivachenko 16f1f17d67 Upgrade port to version 2.16;
Add three patches:
patch-aa: If you use CHUNK_INPUT without this patch, you end up with many
  error messages xferstats in free(): warning: modified (chunk-) pointer
  (or you may want to fix chunks...)

patch-ab: If number of "Files Transmitted" is divisible by CHUNK_INPUT
  without this patch, you end up with error "No data to process." instead
  of results.

patch-ac: Typical beginner's bug in C: feof() is used before read function,
  where its result is not tested then. Without this patch the last line
  is counted twice.

PR:		44015
Submitted by:	Cejka Rudolf <cejkar@fit.vutbr.cz>
2002-10-14 06:57:24 +00:00

28 lines
630 B
Makefile

# New ports collection makefile for: xferstats
# Date created: 19 February 1999
# Whom: Dima Sivachenko
#
# $FreeBSD$
#
PORTNAME= xferstats
PORTVERSION= 2.16
CATEGORIES= net
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/support/ \
ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
MAINTAINER= demon@FreeBSD.org
USE_GNOMENG= yes
USE_GNOME= glib12
GNU_CONFIGURE= yes
MAN8= xferstats.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xferstats ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xferstats.8 ${MAN8PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/xferstats.cfg ${PREFIX}/etc/xferstats.cfg.sample
.include <bsd.port.mk>