pkgsrc/sysutils/pv/Makefile
nia 86931a21a9 pv: Update to 1.6.6
Changes:

(r161) use %llu instead of %Lu for better compatibility (Eric A. Borisch)
(r162) (#1532) fix target buffer size (-B) being ignored (AndCycle, Ilya Basin, Antoine Beaupré)
(r164) cap read/write sizes, and check elapsed time during read/write cycles, to avoid display hangs with large buffers or slow media; also remove select() call from repeated_write function as it slows the transfer down and the wrapping alarm() means it is unnecessary
(r169) (#1477) use alternate form for transfer counter, such that 13GB is shown as 13.0GB so it's the same width as 13.1GB (André Stapf)
(r171) cleanup: units corrections in man page, of the form kb -> KiB
(r175) report error in "-d" if process fd directory is unreadable, or if process disappears before we start the main loop (Jacek Wielemborek)
2019-06-10 16:55:02 +00:00

30 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.27 2019/06/10 16:55:02 nia Exp $
#
DISTNAME= pv-1.6.6
CATEGORIES= sysutils
MASTER_SITES= https://www.ivarch.com/programs/sources/
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=pipeviewer/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ivarch.com/programs/pv.shtml
COMMENT= Monitor the progress of data through a pipeline
LICENSE= artistic-2.0
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_PKGLOCALEDIR= yes
REPLACE_LOCALEDIR_PATTERNS+= vars.mk
DOCDIR= ${PREFIX}/share/doc/pv
INSTALLATION_DIRS= ${DOCDIR}
# configure test only checks for open64()
CFLAGS.SunOS+= -DENABLE_LARGEFILE=1
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"