mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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
This commit is contained in:
parent
b51c1c61fb
commit
8ac02d7204
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508370
@ -378,6 +378,7 @@
|
||||
SUBDIR += jhead
|
||||
SUBDIR += jogamp-jogl
|
||||
SUBDIR += jogl
|
||||
SUBDIR += jp
|
||||
SUBDIR += jp2a
|
||||
SUBDIR += jpatch
|
||||
SUBDIR += jpeg
|
||||
|
31
graphics/jp/Makefile
Normal file
31
graphics/jp/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jp
|
||||
DISTVERSION= 1.1.12
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= 0mp@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>
|
3
graphics/jp/distinfo
Normal file
3
graphics/jp/distinfo
Normal file
@ -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
|
5
graphics/jp/pkg-descr
Normal file
5
graphics/jp/pkg-descr
Normal file
@ -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
|
13
graphics/jp/pkg-plist
Normal file
13
graphics/jp/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user