diff options
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/chart/Makefile | 43 | ||||
-rw-r--r-- | deskutils/chart/distinfo | 11 | ||||
-rw-r--r-- | deskutils/chart/pkg-descr | 5 |
4 files changed, 60 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index e429badc4ade..8216d693be53 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -28,6 +28,7 @@ SUBDIR += cartotheque SUBDIR += cdcat SUBDIR += charmtimetracker + SUBDIR += chart SUBDIR += clipit SUBDIR += conduit SUBDIR += conkyemail diff --git a/deskutils/chart/Makefile b/deskutils/chart/Makefile new file mode 100644 index 000000000000..48e6729cbb4c --- /dev/null +++ b/deskutils/chart/Makefile @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= chart +DISTVERSIONPREFIX= v +DISTVERSION= 3.0.0 +CATEGORIES= deskutils + +MAINTAINER= mail@dbalan.in +COMMENT= CLI tool to create quick plots + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go>=1.10:lang/go + +USE_GITHUB= yes + +PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + +GH_ACCOUNT= marianogappa +GH_SUBDIR= src/github.com/marianogappa/chart + +GH_TUPLE= Sirupsen:logrus:v1.0.5:logrus/src/github.com/Sirupsen/logrus \ + skratchdot:open-golang:75fb7ed:skratchdot/src/github.com/skratchdot/open-golang \ + golang:crypto:027cca1:crypto/src/golang.org/x/crypto \ + golang:sys:6c888cc:sys/src/golang.org/x/sys + +PLIST_FILES= bin/chart + +do-build: + ( cd ${WRKSRC}; \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} \ + go build ${BUILD_FLAGS} -o bin/chart ) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/chart ${STAGEDIR}${PREFIX}/bin/chart + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/deskutils/chart/distinfo b/deskutils/chart/distinfo new file mode 100644 index 000000000000..9b65e6628500 --- /dev/null +++ b/deskutils/chart/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1529330210 +SHA256 (marianogappa-chart-v3.0.0_GH0.tar.gz) = 8e2d7c50831e901d5eec9f0434d2ddbbeacfe66e41a4f4a24b1541295b95145f +SIZE (marianogappa-chart-v3.0.0_GH0.tar.gz) = 1163689 +SHA256 (Sirupsen-logrus-v1.0.5_GH0.tar.gz) = 0c422c0f06eb8a67a7c3ce6814d92b866e47b88ad33948c6c009f48ccfbe935f +SIZE (Sirupsen-logrus-v1.0.5_GH0.tar.gz) = 28746 +SHA256 (skratchdot-open-golang-75fb7ed_GH0.tar.gz) = 96759603b7ac614f579d6bd5f67f7c17148594f87c424825df774300c796dd5f +SIZE (skratchdot-open-golang-75fb7ed_GH0.tar.gz) = 7019 +SHA256 (golang-crypto-027cca1_GH0.tar.gz) = 27329e629f7d110452d2a716809d79966c01fc394d545d4aaaf4b2c26a070732 +SIZE (golang-crypto-027cca1_GH0.tar.gz) = 1617027 +SHA256 (golang-sys-6c888cc_GH0.tar.gz) = df96c8973f3a5c5c0ac9ef2e065b19dc2dae62782804659bf7edaab9fca1e1b6 +SIZE (golang-sys-6c888cc_GH0.tar.gz) = 975906 diff --git a/deskutils/chart/pkg-descr b/deskutils/chart/pkg-descr new file mode 100644 index 000000000000..344828aba2c4 --- /dev/null +++ b/deskutils/chart/pkg-descr @@ -0,0 +1,5 @@ +A small program to create quick and fast plots from terminal. Idea is +to create simple plots easy, one can always switch to gnuplot if heavy +customisation is needed. + +WWW: https://marianogappa.github.io/chart/ |