summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-12-04 11:56:35 +0000
committeragc <agc@pkgsrc.org>2002-12-04 11:56:35 +0000
commitc06bac8c2c406ba56c090c9c6d3405c4c189121f (patch)
tree6d0f12cd769d879315a92875a8c9df80ee673315 /sysutils
parent1e249b2cadcabbbbdf004f4ba2078694cb4f29f6 (diff)
downloadpkgsrc-c06bac8c2c406ba56c090c9c6d3405c4c189121f.tar.gz
Initial import of pv-0.4.0 into the NetBSD Packages Collection.
Provided in PR 19253 by Piotr Stolc. pv (Pipe Viewer) is a terminal-based tool for monitoring the progress of data through a pipeline. It can be inserted into any normal pipeline between two processes to give a visual indication of how quickly data is passing through, how long it has taken, how near to completion it is, and an estimate of how long it will be until completion.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pv/DESCR5
-rw-r--r--sysutils/pv/Makefile27
-rw-r--r--sysutils/pv/PLIST22
-rw-r--r--sysutils/pv/distinfo7
-rw-r--r--sysutils/pv/patches/patch-aa9
-rw-r--r--sysutils/pv/patches/patch-ab31
-rw-r--r--sysutils/pv/patches/patch-ac13
7 files changed, 114 insertions, 0 deletions
diff --git a/sysutils/pv/DESCR b/sysutils/pv/DESCR
new file mode 100644
index 00000000000..115cc30659c
--- /dev/null
+++ b/sysutils/pv/DESCR
@@ -0,0 +1,5 @@
+pv (Pipe Viewer) is a terminal-based tool for monitoring the progress of
+data through a pipeline. It can be inserted into any normal pipeline between
+two processes to give a visual indication of how quickly data is passing
+through, how long it has taken, how near to completion it is, and an
+estimate of how long it will be until completion.
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile
new file mode 100644
index 00000000000..6747a846baf
--- /dev/null
+++ b/sysutils/pv/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+#
+
+DISTNAME= pv-0.4.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.ivarch.com/programs/sources/
+
+MAINTAINER= socrtp@soclab.eu.org
+HOMEPAGE= http://www.ivarch.com/programs/pv.shtml
+COMMENT= Monitor the progress of data through a pipeline
+
+BUILD_USES_MSGFMT= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_BUILDLINK2= yes
+
+INFO_FILES= pv.info
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pv
+.for i in ../README index.html manual.html quickref.txt lsm NEWS TODO COPYING
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/pv
+.endfor
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/pv/PLIST b/sysutils/pv/PLIST
new file mode 100644
index 00000000000..71e3863deb1
--- /dev/null
+++ b/sysutils/pv/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+bin/pv
+@unexec ${INSTALL_INFO} --delete %D/info/pv.info %D/info/dir
+info/pv.info
+@exec ${INSTALL_INFO} %D/info/pv.info %D/info/dir
+man/man1/pv.1
+share/doc/pv/COPYING
+share/doc/pv/NEWS
+share/doc/pv/README
+share/doc/pv/TODO
+share/doc/pv/index.html
+share/doc/pv/lsm
+share/doc/pv/manual.html
+share/doc/pv/quickref.txt
+${PKGLOCALEDIR}/locale/cz/LC_MESSAGES/pv.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pv.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pv.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/pv.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pv.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pv.mo
+@dirrm ${PKGLOCALEDIR}/locale/cz/LC_MESSAGES
+@dirrm share/doc/pv
diff --git a/sysutils/pv/distinfo b/sysutils/pv/distinfo
new file mode 100644
index 00000000000..0c30f62af47
--- /dev/null
+++ b/sysutils/pv/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+
+SHA1 (pv-0.4.0.tar.gz) = 1c631cd84306e77bd242bf9620ec08efef384efc
+Size (pv-0.4.0.tar.gz) = 98069 bytes
+SHA1 (patch-aa) = 9a822d58ef94261306d023ac964e843fd16028f0
+SHA1 (patch-ab) = 4191c14b5ea4e33ea9aa2af19e0e9b4e62a2508e
+SHA1 (patch-ac) = b6b08a88a11bd8f35d05ea995dafe672d19f1932
diff --git a/sysutils/pv/patches/patch-aa b/sysutils/pv/patches/patch-aa
new file mode 100644
index 00000000000..001339cc943
--- /dev/null
+++ b/sysutils/pv/patches/patch-aa
@@ -0,0 +1,9 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+
+--- autoconf/make/link.mk.orig Tue Dec 3 11:31:11 2002
++++ autoconf/make/link.mk
+@@ -10,3 +10,3 @@ intlobjs = @INTLOBJS@
+ $(package): src/main.o $(intldeps) $(intlobjs) $(objgetopt)
+- $(CC) $(FINALFLAGS) -o $@ src/main.o $(intldeps) $(intlobjs) $(objgetopt)
++ $(CC) $(LIBS) $(FINALFLAGS) -o $@ src/main.o $(intldeps) $(intlobjs) $(objgetopt)
+
diff --git a/sysutils/pv/patches/patch-ab b/sysutils/pv/patches/patch-ab
new file mode 100644
index 00000000000..76946faeb3c
--- /dev/null
+++ b/sysutils/pv/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+
+--- autoconf/make/unreal.mk.orig Tue Nov 26 13:04:51 2002
++++ autoconf/make/unreal.mk
+@@ -65,7 +65,7 @@ cvsclean: distclean
+ echo -n > $(srcdir)/autoconf/make/filelist.mk~
+ echo -n > $(srcdir)/autoconf/make/modules.mk~
+
+-doc: doc/$(package).info doc/manual.html doc/quickref.txt
++doc: doc/$(package).info doc/quickref.txt
+
+ index:
+ (cd $(srcdir); sh autoconf/scripts/index.sh $(srcdir)) > index.html
+@@ -117,8 +117,6 @@ install: all doc
+ "$(RPM_BUILD_ROOT)/$(mandir)/man1/$(package).1"
+ $(INSTALL) -m 644 doc/$(package).info \
+ "$(RPM_BUILD_ROOT)/$(infodir)/$(package).info"
+- $(DO_GZIP) "$(RPM_BUILD_ROOT)/$(mandir)/man1/$(package).1" || :
+- $(DO_GZIP) "$(RPM_BUILD_ROOT)/$(infodir)/$(package).info" || :
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ name=`echo $$cat | sed 's,^.*/,,g'`; \
+@@ -136,8 +134,6 @@ install: all doc
+ uninstall:
+ $(UNINSTALL) "$(RPM_BUILD_ROOT)/$(mandir)/man1/$(package).1"
+ $(UNINSTALL) "$(RPM_BUILD_ROOT)/$(infodir)/$(package).info"
+- $(UNINSTALL) "$(RPM_BUILD_ROOT)/$(mandir)/man1/$(package).1.gz"
+- $(UNINSTALL) "$(RPM_BUILD_ROOT)/$(infodir)/$(package).info.gz"
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ name=`echo $$cat | sed 's,^.*/,,g'`; \
diff --git a/sysutils/pv/patches/patch-ac b/sysutils/pv/patches/patch-ac
new file mode 100644
index 00000000000..1703c71d760
--- /dev/null
+++ b/sysutils/pv/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
+
+--- doc/index.html.orig Tue Dec 3 13:30:11 2002
++++ doc/index.html
+@@ -7,7 +7,7 @@
+
+ <P>
+ <UL>
+-<LI><A HREF="../README">README</A>
++<LI><A HREF="README">README</A>
+ <LI><A HREF="INSTALL">Installation instructions</A>
+ <LI><A HREF="manual.html">Manual</A>
+ <LI><A HREF="quickref.txt">Man page</A> (text format)