svn commit: r508370 - in head/graphics: . jp
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Aug 8 09:57:34 UTC 2019
Author: 0mp
Date: Thu Aug 8 09:57:32 2019
New Revision: 508370
URL: https://svnweb.freebsd.org/changeset/ports/508370
Log:
graphics/jp: Terminal charts, plots, histograms and maps from JSON and CSV
jp is a dead simple terminal plots from JSON (or CSV) data. Bar charts,
line charts, scatter plots, histograms and heatmaps are supported. It reads
data on stdin and prints plots to stdout.
WWW: https://github.com/sgreben/jp
PR: 227271
Added:
head/graphics/jp/
head/graphics/jp/Makefile (contents, props changed)
head/graphics/jp/distinfo (contents, props changed)
head/graphics/jp/pkg-descr (contents, props changed)
head/graphics/jp/pkg-plist (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Thu Aug 8 09:52:52 2019 (r508369)
+++ head/graphics/Makefile Thu Aug 8 09:57:32 2019 (r508370)
@@ -378,6 +378,7 @@
SUBDIR += jhead
SUBDIR += jogamp-jogl
SUBDIR += jogl
+ SUBDIR += jp
SUBDIR += jp2a
SUBDIR += jpatch
SUBDIR += jpeg
Added: head/graphics/jp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/jp/Makefile Thu Aug 8 09:57:32 2019 (r508370)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= jp
+DISTVERSION= 1.1.12
+CATEGORIES= graphics
+
+MAINTAINER= 0mp at FreeBSD.org
+COMMENT= Terminal charts, plots, histograms and maps from JSON and CSV
+
+LICENSE= MIT APACHE20
+LICENSE_COMB= multi
+
+USES= go
+USE_GITHUB= yes
+GH_ACCOUNT= sgreben
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/${PORTNAME}
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} "README.md docs" ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>
Added: head/graphics/jp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/jp/distinfo Thu Aug 8 09:57:32 2019 (r508370)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565253325
+SHA256 (sgreben-jp-1.1.12_GH0.tar.gz) = 8c9cddf8b9d9bfae72be448218ca0e18d24e755d36c915842b12398fefdc7a64
+SIZE (sgreben-jp-1.1.12_GH0.tar.gz) = 1301104
Added: head/graphics/jp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/jp/pkg-descr Thu Aug 8 09:57:32 2019 (r508370)
@@ -0,0 +1,5 @@
+jp is a dead simple terminal plots from JSON (or CSV) data. Bar charts, line
+charts, scatter plots, histograms and heatmaps are supported. It reads data on
+stdin and prints plots to stdout.
+
+WWW: https://github.com/sgreben/jp
Added: head/graphics/jp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/jp/pkg-plist Thu Aug 8 09:57:32 2019 (r508370)
@@ -0,0 +1,13 @@
+bin/jp
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/docs/bar_chart.png
+%%PORTDOCS%%%%DOCSDIR%%/docs/bar_chart_full_escape.png
+%%PORTDOCS%%%%DOCSDIR%%/docs/hist2d_full_escape.png
+%%PORTDOCS%%%%DOCSDIR%%/docs/line_chart.png
+%%PORTDOCS%%%%DOCSDIR%%/docs/scatter_plot.png
+%%PORTDOCS%%%%DOCSDIR%%/docs/sin.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eth.csv
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mvrnorm.json
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sin.csv
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sin.json
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp-time.json
More information about the svn-ports-all
mailing list