pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ploot: Import ploot-1.0 as wip/ploot



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Oct 22 21:52:45 2021 +0200
Changeset:	bb97eb8ca01418ce57628f8f697528065111e43e

Added Files:
	ploot/DESCR
	ploot/Makefile
	ploot/PLIST
	ploot/distinfo

Log Message:
ploot: Import ploot-1.0 as wip/ploot

Plain text plotting tools.

ploot contains the following tools:

 - ploot-text: show plain text string using larger font thanks to
   braille characters
 - ploot-braille: show graph in the form of braille characters
 - ploot-farbfeld: reads collectd-style comma separated values (CSV)
   and produces a plot in the farbfeld image format (pipe it to ff2png).
   It is an alternative to RRDtool
 - ploot-feed: reads collectd-style comma separated values (CSV) but
   produces a plain text continuous waterfall chart for live monitoring
   in the terminal. it is an alternative to grafana

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bb97eb8ca01418ce57628f8f697528065111e43e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ploot/DESCR    | 13 +++++++++++++
 ploot/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
 ploot/PLIST    |  8 ++++++++
 ploot/distinfo |  5 +++++
 4 files changed, 69 insertions(+)

diffs:
diff --git a/ploot/DESCR b/ploot/DESCR
new file mode 100644
index 0000000000..43b65e81ca
--- /dev/null
+++ b/ploot/DESCR
@@ -0,0 +1,13 @@
+Plain text plotting tools.
+
+ploot contains the following tools:
+
+ - ploot-text: show plain text string using larger font thanks to
+   braille characters
+ - ploot-braille: show graph in the form of braille characters
+ - ploot-farbfeld: reads collectd-style comma separated values (CSV)
+   and produces a plot in the farbfeld image format (pipe it to ff2png).
+   It is an alternative to RRDtool
+ - ploot-feed: reads collectd-style comma separated values (CSV) but
+   produces a plain text continuous waterfall chart for live monitoring
+   in the terminal. it is an alternative to grafana
diff --git a/ploot/Makefile b/ploot/Makefile
new file mode 100644
index 0000000000..12d9196a4b
--- /dev/null
+++ b/ploot/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2021/02/27 21:09:40 leot Exp $
+
+DISTNAME=	ploot-v1.0
+PKGNAME=	${DISTNAME:S/-v/-/}
+CATEGORIES=	misc
+MASTER_SITES=	ftp://bitreich.org/releases/ploot/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	gopher://bitreich.org/1/scm/ploot
+COMMENT=	Simple plotting tools
+#LICENSE=	generic-nonlicense
+
+MAKE_FLAGS+=	PREFIX=${PREFIX}
+MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}
+
+CFLAGS+=	-D_XOPEN_SOURCE=600
+
+SUBST_CLASSES+=		makefile
+SUBST_STAGE.makefile=	pre-configure
+SUBST_MESSAGE.makefile=	Honor *FLAGS and dynamic link
+SUBST_FILES.makefile=	Makefile
+SUBST_SED.makefile+=	-e '/CFLAGS/s/=/+=/'
+SUBST_SED.makefile+=	-e 's/LFLAGS/LDFLAGS/g'
+SUBST_SED.makefile+=	-e '/LDFLAGS/s/=/+=/'
+SUBST_SED.makefile+=	-e '/LDFLAGS/s/-static//'
+
+USE_LANGUAGES=	c99
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+do-install:
+.for _p_ in ploot-farbfeld ploot-feed ploot-braille ploot-text
+	${INSTALL_PROGRAM} ${WRKSRC}/${_p_} ${DESTDIR}${PREFIX}/bin
+.endfor
+.for _m_ in ploot-farbfeld.1 ploot-feed.1
+	${INSTALL_MAN} ${WRKSRC}/${_m_} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endfor
+.for _m_ in ploot-tsv.5
+	${INSTALL_MAN} ${WRKSRC}/${_m_} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ploot/PLIST b/ploot/PLIST
new file mode 100644
index 0000000000..b234e935f7
--- /dev/null
+++ b/ploot/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/ploot-braille
+bin/ploot-farbfeld
+bin/ploot-feed
+bin/ploot-text
+man/man1/ploot-farbfeld.1
+man/man1/ploot-feed.1
+man/man5/ploot-tsv.5
diff --git a/ploot/distinfo b/ploot/distinfo
new file mode 100644
index 0000000000..71ffd889f2
--- /dev/null
+++ b/ploot/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.2 2021/10/07 14:35:14 nia Exp $
+
+RMD160 (ploot-v1.0.tgz) = 55f4468c74867566e6683ca60139a8625f788ff8
+SHA512 (ploot-v1.0.tgz) = 30b7d2b31aad83738ad92d204a1f1c9c0d937c61305caaeb09a01f5e9fcd4df9b6ac752803782a50cc40736b8cd845d51e703977208c84ad16b1c8d69ac73e26
+Size (ploot-v1.0.tgz) = 28407 bytes


Home | Main Index | Thread Index | Old Index